From 04a2504c17df85479594078c207004f070055462 Mon Sep 17 00:00:00 2001 From: danogentili Date: Mon, 19 Dec 2016 18:56:52 +0300 Subject: [PATCH] Fixed a few bugs, switched to traits for MTProtoTools modules, written documentation creator and added documentation --- Caddyfile | 4 + README.md | 7 +- build_docs.php | 365 +++++++ docs/API_docs/constructors/accountDaysTTL.md | 17 + .../constructors/account_authorizations.md | 17 + .../constructors/account_noPassword.md | 18 + .../API_docs/constructors/account_password.md | 21 + .../account_passwordInputSettings.md | 20 + .../constructors/account_passwordSettings.md | 17 + .../constructors/account_privacyRules.md | 18 + .../constructors/auth_authorization.md | 18 + .../constructors/auth_checkedPhone.md | 17 + .../constructors/auth_codeTypeCall.md | 16 + .../constructors/auth_codeTypeFlashCall.md | 16 + .../API_docs/constructors/auth_codeTypeSms.md | 16 + .../auth_exportedAuthorization.md | 18 + .../constructors/auth_passwordRecovery.md | 17 + docs/API_docs/constructors/auth_sentCode.md | 21 + .../constructors/auth_sentCodeTypeApp.md | 17 + .../constructors/auth_sentCodeTypeCall.md | 17 + .../auth_sentCodeTypeFlashCall.md | 17 + .../constructors/auth_sentCodeTypeSms.md | 17 + docs/API_docs/constructors/authorization.md | 28 + docs/API_docs/constructors/boolFalse.md | 16 + docs/API_docs/constructors/boolTrue.md | 16 + docs/API_docs/constructors/botCommand.md | 18 + docs/API_docs/constructors/botInfo.md | 19 + .../constructors/botInlineMediaResult.md | 23 + .../constructors/botInlineMessageMediaAuto.md | 18 + .../botInlineMessageMediaContact.md | 20 + .../constructors/botInlineMessageMediaGeo.md | 18 + .../botInlineMessageMediaVenue.md | 22 + .../constructors/botInlineMessageText.md | 20 + docs/API_docs/constructors/botInlineResult.md | 28 + docs/API_docs/constructors/channel.md | 36 + .../API_docs/constructors/channelForbidden.md | 21 + docs/API_docs/constructors/channelFull.md | 33 + .../constructors/channelMessagesFilter.md | 18 + .../channelMessagesFilterEmpty.md | 16 + .../constructors/channelParticipant.md | 18 + .../constructors/channelParticipantCreator.md | 17 + .../constructors/channelParticipantEditor.md | 19 + .../constructors/channelParticipantKicked.md | 19 + .../channelParticipantModerator.md | 19 + .../constructors/channelParticipantSelf.md | 19 + .../constructors/channelParticipantsAdmins.md | 16 + .../constructors/channelParticipantsBots.md | 16 + .../constructors/channelParticipantsKicked.md | 16 + .../constructors/channelParticipantsRecent.md | 16 + .../constructors/channelRoleEditor.md | 16 + .../API_docs/constructors/channelRoleEmpty.md | 16 + .../constructors/channelRoleModerator.md | 16 + .../channels_channelParticipant.md | 18 + .../channels_channelParticipants.md | 19 + docs/API_docs/constructors/chat.md | 29 + docs/API_docs/constructors/chatEmpty.md | 17 + docs/API_docs/constructors/chatForbidden.md | 18 + docs/API_docs/constructors/chatFull.md | 22 + docs/API_docs/constructors/chatInvite.md | 24 + .../constructors/chatInviteAlready.md | 17 + docs/API_docs/constructors/chatInviteEmpty.md | 16 + .../constructors/chatInviteExported.md | 17 + docs/API_docs/constructors/chatParticipant.md | 19 + .../constructors/chatParticipantAdmin.md | 19 + .../constructors/chatParticipantCreator.md | 17 + .../API_docs/constructors/chatParticipants.md | 19 + .../constructors/chatParticipantsForbidden.md | 18 + docs/API_docs/constructors/chatPhoto.md | 18 + docs/API_docs/constructors/chatPhotoEmpty.md | 16 + docs/API_docs/constructors/config.md | 39 + docs/API_docs/constructors/contact.md | 18 + docs/API_docs/constructors/contactBlocked.md | 18 + .../constructors/contactLinkContact.md | 16 + .../constructors/contactLinkHasPhone.md | 16 + docs/API_docs/constructors/contactLinkNone.md | 16 + .../constructors/contactLinkUnknown.md | 16 + docs/API_docs/constructors/contactStatus.md | 18 + .../API_docs/constructors/contacts_blocked.md | 18 + .../constructors/contacts_blockedSlice.md | 19 + .../constructors/contacts_contacts.md | 18 + .../contacts_contactsNotModified.md | 16 + docs/API_docs/constructors/contacts_found.md | 19 + .../constructors/contacts_importedContacts.md | 19 + docs/API_docs/constructors/contacts_link.md | 19 + .../constructors/contacts_resolvedPeer.md | 19 + .../constructors/contacts_topPeers.md | 19 + .../contacts_topPeersNotModified.md | 16 + docs/API_docs/constructors/dcOption.md | 22 + docs/API_docs/constructors/dialog.md | 24 + docs/API_docs/constructors/disabledFeature.md | 18 + docs/API_docs/constructors/document.md | 25 + .../constructors/documentAttributeAnimated.md | 16 + .../constructors/documentAttributeAudio.md | 21 + .../constructors/documentAttributeFilename.md | 17 + .../documentAttributeHasStickers.md | 16 + .../documentAttributeImageSize.md | 18 + .../constructors/documentAttributeSticker.md | 20 + .../constructors/documentAttributeVideo.md | 19 + docs/API_docs/constructors/documentEmpty.md | 17 + docs/API_docs/constructors/draftMessage.md | 21 + .../constructors/draftMessageEmpty.md | 16 + docs/API_docs/constructors/encryptedChat.md | 23 + .../constructors/encryptedChatDiscarded.md | 17 + .../constructors/encryptedChatEmpty.md | 17 + .../constructors/encryptedChatRequested.md | 22 + .../constructors/encryptedChatWaiting.md | 21 + docs/API_docs/constructors/encryptedFile.md | 21 + .../constructors/encryptedFileEmpty.md | 16 + .../API_docs/constructors/encryptedMessage.md | 21 + .../constructors/encryptedMessageService.md | 20 + docs/API_docs/constructors/error.md | 18 + .../constructors/exportedMessageLink.md | 17 + docs/API_docs/constructors/fileLocation.md | 20 + .../constructors/fileLocationUnavailable.md | 19 + docs/API_docs/constructors/foundGif.md | 22 + docs/API_docs/constructors/foundGifCached.md | 19 + docs/API_docs/constructors/game.md | 23 + docs/API_docs/constructors/geoPoint.md | 18 + docs/API_docs/constructors/geoPointEmpty.md | 16 + .../constructors/help_appChangelog.md | 17 + .../constructors/help_appChangelogEmpty.md | 16 + docs/API_docs/constructors/help_appUpdate.md | 20 + docs/API_docs/constructors/help_inviteText.md | 17 + .../API_docs/constructors/help_noAppUpdate.md | 16 + docs/API_docs/constructors/help_support.md | 18 + .../constructors/help_termsOfService.md | 17 + docs/API_docs/constructors/highScore.md | 19 + docs/API_docs/constructors/importedContact.md | 18 + docs/API_docs/constructors/index.md | 921 ++++++++++++++++++ .../constructors/inlineBotSwitchPM.md | 18 + docs/API_docs/constructors/inputAppEvent.md | 20 + .../constructors/inputBotInlineMessageGame.md | 17 + .../constructors/inputBotInlineMessageID.md | 19 + .../inputBotInlineMessageMediaAuto.md | 18 + .../inputBotInlineMessageMediaContact.md | 20 + .../inputBotInlineMessageMediaGeo.md | 18 + .../inputBotInlineMessageMediaVenue.md | 22 + .../constructors/inputBotInlineMessageText.md | 20 + .../constructors/inputBotInlineResult.md | 28 + .../inputBotInlineResultDocument.md | 22 + .../constructors/inputBotInlineResultGame.md | 19 + .../constructors/inputBotInlineResultPhoto.md | 20 + docs/API_docs/constructors/inputChannel.md | 18 + .../constructors/inputChannelEmpty.md | 16 + docs/API_docs/constructors/inputChatPhoto.md | 17 + .../constructors/inputChatPhotoEmpty.md | 16 + .../constructors/inputChatUploadedPhoto.md | 17 + docs/API_docs/constructors/inputDocument.md | 18 + .../constructors/inputDocumentEmpty.md | 16 + .../constructors/inputDocumentFileLocation.md | 19 + .../constructors/inputEncryptedChat.md | 18 + .../constructors/inputEncryptedFile.md | 18 + .../inputEncryptedFileBigUploaded.md | 19 + .../constructors/inputEncryptedFileEmpty.md | 16 + .../inputEncryptedFileLocation.md | 18 + .../inputEncryptedFileUploaded.md | 20 + docs/API_docs/constructors/inputFile.md | 20 + docs/API_docs/constructors/inputFileBig.md | 19 + .../constructors/inputFileLocation.md | 19 + docs/API_docs/constructors/inputGameID.md | 18 + .../constructors/inputGameShortName.md | 18 + docs/API_docs/constructors/inputGeoPoint.md | 18 + .../constructors/inputGeoPointEmpty.md | 16 + .../constructors/inputMediaContact.md | 19 + .../constructors/inputMediaDocument.md | 18 + .../inputMediaDocumentExternal.md | 18 + docs/API_docs/constructors/inputMediaEmpty.md | 16 + docs/API_docs/constructors/inputMediaGame.md | 17 + .../constructors/inputMediaGeoPoint.md | 17 + .../constructors/inputMediaGifExternal.md | 18 + docs/API_docs/constructors/inputMediaPhoto.md | 18 + .../constructors/inputMediaPhotoExternal.md | 18 + .../inputMediaUploadedDocument.md | 21 + .../constructors/inputMediaUploadedPhoto.md | 19 + .../inputMediaUploadedThumbDocument.md | 22 + docs/API_docs/constructors/inputMediaVenue.md | 21 + .../inputMessageEntityMentionName.md | 19 + .../inputMessagesFilterChatPhotos.md | 16 + .../inputMessagesFilterDocument.md | 16 + .../constructors/inputMessagesFilterEmpty.md | 16 + .../constructors/inputMessagesFilterGif.md | 16 + .../constructors/inputMessagesFilterMusic.md | 16 + .../inputMessagesFilterPhotoVideo.md | 16 + .../inputMessagesFilterPhotoVideoDocuments.md | 16 + .../constructors/inputMessagesFilterPhotos.md | 16 + .../constructors/inputMessagesFilterUrl.md | 16 + .../constructors/inputMessagesFilterVideo.md | 16 + .../constructors/inputMessagesFilterVoice.md | 16 + docs/API_docs/constructors/inputNotifyAll.md | 16 + .../API_docs/constructors/inputNotifyChats.md | 16 + docs/API_docs/constructors/inputNotifyPeer.md | 17 + .../API_docs/constructors/inputNotifyUsers.md | 16 + .../API_docs/constructors/inputPeerChannel.md | 18 + docs/API_docs/constructors/inputPeerChat.md | 17 + docs/API_docs/constructors/inputPeerEmpty.md | 16 + .../constructors/inputPeerNotifyEventsAll.md | 16 + .../inputPeerNotifyEventsEmpty.md | 16 + .../constructors/inputPeerNotifySettings.md | 20 + docs/API_docs/constructors/inputPeerSelf.md | 16 + docs/API_docs/constructors/inputPeerUser.md | 18 + .../constructors/inputPhoneContact.md | 20 + docs/API_docs/constructors/inputPhoto.md | 18 + docs/API_docs/constructors/inputPhotoEmpty.md | 16 + .../constructors/inputPrivacyKeyChatInvite.md | 16 + .../inputPrivacyKeyStatusTimestamp.md | 16 + .../constructors/inputPrivacyValueAllowAll.md | 16 + .../inputPrivacyValueAllowContacts.md | 16 + .../inputPrivacyValueAllowUsers.md | 17 + .../inputPrivacyValueDisallowAll.md | 16 + .../inputPrivacyValueDisallowContacts.md | 16 + .../inputPrivacyValueDisallowUsers.md | 17 + .../constructors/inputReportReasonOther.md | 17 + .../inputReportReasonPornography.md | 16 + .../constructors/inputReportReasonSpam.md | 16 + .../constructors/inputReportReasonViolence.md | 16 + .../constructors/inputStickerSetEmpty.md | 16 + .../constructors/inputStickerSetID.md | 18 + .../constructors/inputStickerSetShortName.md | 17 + .../inputStickeredMediaDocument.md | 17 + .../constructors/inputStickeredMediaPhoto.md | 17 + docs/API_docs/constructors/inputUser.md | 18 + docs/API_docs/constructors/inputUserEmpty.md | 16 + docs/API_docs/constructors/inputUserSelf.md | 16 + docs/API_docs/constructors/keyboardButton.md | 17 + .../constructors/keyboardButtonCallback.md | 18 + .../constructors/keyboardButtonGame.md | 17 + .../keyboardButtonRequestGeoLocation.md | 17 + .../keyboardButtonRequestPhone.md | 17 + .../constructors/keyboardButtonRow.md | 17 + .../keyboardButtonSwitchInline.md | 19 + .../constructors/keyboardButtonUrl.md | 18 + docs/API_docs/constructors/maskCoords.md | 20 + docs/API_docs/constructors/message.md | 34 + .../messageActionChannelCreate.md | 17 + .../messageActionChannelMigrateFrom.md | 18 + .../constructors/messageActionChatAddUser.md | 17 + .../constructors/messageActionChatCreate.md | 18 + .../messageActionChatDeletePhoto.md | 16 + .../messageActionChatDeleteUser.md | 17 + .../messageActionChatEditPhoto.md | 17 + .../messageActionChatEditTitle.md | 17 + .../messageActionChatJoinedByLink.md | 17 + .../messageActionChatMigrateTo.md | 17 + .../constructors/messageActionEmpty.md | 16 + .../constructors/messageActionGameScore.md | 18 + .../constructors/messageActionHistoryClear.md | 16 + .../constructors/messageActionPinMessage.md | 16 + docs/API_docs/constructors/messageEmpty.md | 17 + .../constructors/messageEntityBold.md | 18 + .../constructors/messageEntityBotCommand.md | 18 + .../constructors/messageEntityCode.md | 18 + .../constructors/messageEntityEmail.md | 18 + .../constructors/messageEntityHashtag.md | 18 + .../constructors/messageEntityItalic.md | 18 + .../constructors/messageEntityMention.md | 18 + .../constructors/messageEntityMentionName.md | 19 + .../API_docs/constructors/messageEntityPre.md | 19 + .../constructors/messageEntityTextUrl.md | 19 + .../constructors/messageEntityUnknown.md | 18 + .../API_docs/constructors/messageEntityUrl.md | 18 + .../API_docs/constructors/messageFwdHeader.md | 20 + .../constructors/messageMediaContact.md | 20 + .../constructors/messageMediaDocument.md | 18 + .../constructors/messageMediaEmpty.md | 16 + .../API_docs/constructors/messageMediaGame.md | 17 + docs/API_docs/constructors/messageMediaGeo.md | 17 + .../constructors/messageMediaPhoto.md | 18 + .../constructors/messageMediaUnsupported.md | 16 + .../constructors/messageMediaVenue.md | 21 + .../constructors/messageMediaWebPage.md | 17 + docs/API_docs/constructors/messageRange.md | 18 + docs/API_docs/constructors/messageService.md | 27 + .../constructors/messages_affectedHistory.md | 19 + .../constructors/messages_affectedMessages.md | 18 + .../constructors/messages_allStickers.md | 18 + .../messages_allStickersNotModified.md | 16 + .../constructors/messages_archivedStickers.md | 18 + .../messages_botCallbackAnswer.md | 20 + .../constructors/messages_botResults.md | 21 + .../constructors/messages_channelMessages.md | 21 + .../constructors/messages_chatFull.md | 19 + docs/API_docs/constructors/messages_chats.md | 17 + .../constructors/messages_dhConfig.md | 20 + .../messages_dhConfigNotModified.md | 17 + .../API_docs/constructors/messages_dialogs.md | 20 + .../constructors/messages_dialogsSlice.md | 21 + .../constructors/messages_featuredStickers.md | 19 + .../messages_featuredStickersNotModified.md | 16 + .../constructors/messages_foundGifs.md | 18 + .../constructors/messages_highScores.md | 18 + .../constructors/messages_messageEditData.md | 17 + .../constructors/messages_messages.md | 19 + .../constructors/messages_messagesSlice.md | 20 + .../constructors/messages_peerDialogs.md | 21 + .../constructors/messages_recentStickers.md | 18 + .../messages_recentStickersNotModified.md | 16 + .../messages_sentEncryptedFile.md | 18 + .../messages_sentEncryptedMessage.md | 17 + .../constructors/messages_stickerSet.md | 19 + ...messages_stickerSetInstallResultArchive.md | 17 + ...messages_stickerSetInstallResultSuccess.md | 16 + .../constructors/messages_stickers.md | 18 + .../messages_stickersNotModified.md | 16 + docs/API_docs/constructors/nearestDc.md | 19 + docs/API_docs/constructors/notifyAll.md | 16 + docs/API_docs/constructors/notifyChats.md | 16 + docs/API_docs/constructors/notifyPeer.md | 17 + docs/API_docs/constructors/notifyUsers.md | 16 + docs/API_docs/constructors/null.md | 16 + docs/API_docs/constructors/peerChannel.md | 17 + docs/API_docs/constructors/peerChat.md | 17 + .../constructors/peerNotifyEventsAll.md | 16 + .../constructors/peerNotifyEventsEmpty.md | 16 + .../constructors/peerNotifySettings.md | 20 + .../constructors/peerNotifySettingsEmpty.md | 16 + docs/API_docs/constructors/peerSettings.md | 17 + docs/API_docs/constructors/peerUser.md | 17 + docs/API_docs/constructors/photo.md | 21 + docs/API_docs/constructors/photoCachedSize.md | 21 + docs/API_docs/constructors/photoEmpty.md | 17 + docs/API_docs/constructors/photoSize.md | 21 + docs/API_docs/constructors/photoSizeEmpty.md | 17 + docs/API_docs/constructors/photos_photo.md | 18 + docs/API_docs/constructors/photos_photos.md | 18 + .../constructors/photos_photosSlice.md | 19 + .../constructors/privacyKeyChatInvite.md | 16 + .../constructors/privacyKeyStatusTimestamp.md | 16 + .../constructors/privacyValueAllowAll.md | 16 + .../constructors/privacyValueAllowContacts.md | 16 + .../constructors/privacyValueAllowUsers.md | 17 + .../constructors/privacyValueDisallowAll.md | 16 + .../privacyValueDisallowContacts.md | 16 + .../constructors/privacyValueDisallowUsers.md | 17 + .../constructors/receivedNotifyMessage.md | 17 + .../constructors/replyInlineMarkup.md | 17 + .../constructors/replyKeyboardForceReply.md | 18 + .../constructors/replyKeyboardHide.md | 17 + .../constructors/replyKeyboardMarkup.md | 20 + .../constructors/sendMessageCancelAction.md | 16 + .../sendMessageChooseContactAction.md | 16 + .../constructors/sendMessageGamePlayAction.md | 16 + .../sendMessageGeoLocationAction.md | 16 + .../sendMessageRecordAudioAction.md | 16 + .../sendMessageRecordVideoAction.md | 16 + .../constructors/sendMessageTypingAction.md | 16 + .../sendMessageUploadAudioAction.md | 17 + .../sendMessageUploadDocumentAction.md | 17 + .../sendMessageUploadPhotoAction.md | 17 + .../sendMessageUploadVideoAction.md | 17 + docs/API_docs/constructors/stickerPack.md | 18 + docs/API_docs/constructors/stickerSet.md | 26 + .../constructors/stickerSetCovered.md | 18 + .../constructors/stickerSetMultiCovered.md | 18 + docs/API_docs/constructors/storage_fileGif.md | 16 + .../API_docs/constructors/storage_fileJpeg.md | 16 + docs/API_docs/constructors/storage_fileMov.md | 16 + docs/API_docs/constructors/storage_fileMp3.md | 16 + docs/API_docs/constructors/storage_fileMp4.md | 16 + .../constructors/storage_filePartial.md | 16 + docs/API_docs/constructors/storage_filePdf.md | 16 + docs/API_docs/constructors/storage_filePng.md | 16 + .../constructors/storage_fileUnknown.md | 16 + .../API_docs/constructors/storage_fileWebp.md | 16 + docs/API_docs/constructors/topPeer.md | 18 + .../constructors/topPeerCategoryBotsInline.md | 16 + .../constructors/topPeerCategoryBotsPM.md | 16 + .../constructors/topPeerCategoryChannels.md | 16 + .../topPeerCategoryCorrespondents.md | 16 + .../constructors/topPeerCategoryGroups.md | 16 + .../constructors/topPeerCategoryPeers.md | 19 + docs/API_docs/constructors/true.md | 16 + .../constructors/updateBotCallbackQuery.md | 23 + .../constructors/updateBotInlineQuery.md | 21 + .../constructors/updateBotInlineSend.md | 21 + docs/API_docs/constructors/updateChannel.md | 17 + .../constructors/updateChannelMessageViews.md | 19 + .../updateChannelPinnedMessage.md | 18 + .../constructors/updateChannelTooLong.md | 18 + .../API_docs/constructors/updateChatAdmins.md | 19 + .../constructors/updateChatParticipantAdd.md | 21 + .../updateChatParticipantAdmin.md | 20 + .../updateChatParticipantDelete.md | 19 + .../constructors/updateChatParticipants.md | 17 + .../constructors/updateChatUserTyping.md | 19 + docs/API_docs/constructors/updateConfig.md | 16 + .../constructors/updateContactLink.md | 19 + .../constructors/updateContactRegistered.md | 18 + docs/API_docs/constructors/updateDcOptions.md | 17 + .../updateDeleteChannelMessages.md | 20 + .../constructors/updateDeleteMessages.md | 19 + .../constructors/updateDraftMessage.md | 18 + .../constructors/updateEditChannelMessage.md | 19 + .../constructors/updateEditMessage.md | 19 + .../constructors/updateEncryptedChatTyping.md | 17 + .../updateEncryptedMessagesRead.md | 19 + .../API_docs/constructors/updateEncryption.md | 18 + .../updateInlineBotCallbackQuery.md | 22 + docs/API_docs/constructors/updateMessageID.md | 18 + .../constructors/updateNewAuthorization.md | 20 + .../constructors/updateNewChannelMessage.md | 19 + .../constructors/updateNewEncryptedMessage.md | 18 + .../API_docs/constructors/updateNewMessage.md | 19 + .../constructors/updateNewStickerSet.md | 17 + .../constructors/updateNotifySettings.md | 18 + docs/API_docs/constructors/updatePrivacy.md | 18 + .../API_docs/constructors/updatePtsChanged.md | 16 + .../constructors/updateReadChannelInbox.md | 18 + .../constructors/updateReadChannelOutbox.md | 18 + .../updateReadFeaturedStickers.md | 16 + .../constructors/updateReadHistoryInbox.md | 20 + .../constructors/updateReadHistoryOutbox.md | 20 + .../updateReadMessagesContents.md | 19 + .../constructors/updateRecentStickers.md | 16 + docs/API_docs/constructors/updateSavedGifs.md | 16 + .../constructors/updateServiceNotification.md | 20 + docs/API_docs/constructors/updateShort.md | 18 + .../constructors/updateShortChatMessage.md | 31 + .../constructors/updateShortMessage.md | 30 + .../constructors/updateShortSentMessage.md | 23 + .../constructors/updateStickerSets.md | 16 + .../constructors/updateStickerSetsOrder.md | 18 + .../constructors/updateUserBlocked.md | 18 + docs/API_docs/constructors/updateUserName.md | 20 + docs/API_docs/constructors/updateUserPhone.md | 18 + docs/API_docs/constructors/updateUserPhoto.md | 20 + .../API_docs/constructors/updateUserStatus.md | 18 + .../API_docs/constructors/updateUserTyping.md | 18 + docs/API_docs/constructors/updateWebPage.md | 19 + docs/API_docs/constructors/updates.md | 21 + docs/API_docs/constructors/updatesCombined.md | 22 + docs/API_docs/constructors/updatesTooLong.md | 16 + .../constructors/updates_channelDifference.md | 23 + .../updates_channelDifferenceEmpty.md | 19 + .../updates_channelDifferenceTooLong.md | 26 + .../constructors/updates_difference.md | 22 + .../constructors/updates_differenceEmpty.md | 18 + .../constructors/updates_differenceSlice.md | 22 + docs/API_docs/constructors/updates_state.md | 21 + docs/API_docs/constructors/upload_file.md | 19 + docs/API_docs/constructors/user.md | 38 + docs/API_docs/constructors/userEmpty.md | 17 + docs/API_docs/constructors/userFull.md | 23 + .../API_docs/constructors/userProfilePhoto.md | 19 + .../constructors/userProfilePhotoEmpty.md | 16 + docs/API_docs/constructors/userStatusEmpty.md | 16 + .../constructors/userStatusLastMonth.md | 16 + .../constructors/userStatusLastWeek.md | 16 + .../constructors/userStatusOffline.md | 17 + .../API_docs/constructors/userStatusOnline.md | 17 + .../constructors/userStatusRecently.md | 16 + docs/API_docs/constructors/vector.md | 16 + docs/API_docs/constructors/wallPaper.md | 20 + docs/API_docs/constructors/wallPaperSolid.md | 20 + docs/API_docs/constructors/webPage.md | 31 + docs/API_docs/constructors/webPageEmpty.md | 17 + docs/API_docs/constructors/webPagePending.md | 18 + docs/API_docs/index.md | 8 + docs/API_docs/methods/account.changePhone.md | 33 + .../API_docs/methods/account.checkUsername.md | 31 + docs/API_docs/methods/account.confirmPhone.md | 32 + .../API_docs/methods/account.deleteAccount.md | 31 + .../API_docs/methods/account.getAccountTTL.md | 30 + .../methods/account.getAuthorizations.md | 30 + .../methods/account.getNotifySettings.md | 31 + docs/API_docs/methods/account.getPassword.md | 30 + .../methods/account.getPasswordSettings.md | 31 + docs/API_docs/methods/account.getPrivacy.md | 31 + .../API_docs/methods/account.getWallPapers.md | 30 + .../methods/account.registerDevice.md | 32 + docs/API_docs/methods/account.reportPeer.md | 32 + .../methods/account.resetAuthorization.md | 31 + .../methods/account.resetNotifySettings.md | 30 + .../methods/account.sendChangePhoneCode.md | 33 + .../methods/account.sendConfirmPhoneCode.md | 33 + .../API_docs/methods/account.setAccountTTL.md | 31 + docs/API_docs/methods/account.setPrivacy.md | 32 + .../methods/account.unregisterDevice.md | 32 + .../methods/account.updateDeviceLocked.md | 31 + .../methods/account.updateNotifySettings.md | 32 + .../methods/account.updatePasswordSettings.md | 32 + .../API_docs/methods/account.updateProfile.md | 33 + docs/API_docs/methods/account.updateStatus.md | 31 + .../methods/account.updateUsername.md | 31 + docs/API_docs/methods/auth.bindTempAuthKey.md | 34 + docs/API_docs/methods/auth.cancelCode.md | 32 + docs/API_docs/methods/auth.checkPassword.md | 31 + docs/API_docs/methods/auth.checkPhone.md | 31 + .../API_docs/methods/auth.dropTempAuthKeys.md | 31 + .../methods/auth.exportAuthorization.md | 31 + .../methods/auth.importAuthorization.md | 32 + .../methods/auth.importBotAuthorization.md | 33 + docs/API_docs/methods/auth.logOut.md | 30 + docs/API_docs/methods/auth.recoverPassword.md | 31 + .../methods/auth.requestPasswordRecovery.md | 30 + docs/API_docs/methods/auth.resendCode.md | 32 + .../methods/auth.resetAuthorizations.md | 30 + docs/API_docs/methods/auth.sendCode.md | 35 + docs/API_docs/methods/auth.sendInvites.md | 32 + docs/API_docs/methods/auth.signIn.md | 33 + docs/API_docs/methods/auth.signUp.md | 35 + .../methods/channels.checkUsername.md | 32 + .../methods/channels.createChannel.md | 34 + .../methods/channels.deleteChannel.md | 31 + .../methods/channels.deleteMessages.md | 32 + .../methods/channels.deleteUserHistory.md | 32 + docs/API_docs/methods/channels.editAbout.md | 32 + docs/API_docs/methods/channels.editAdmin.md | 33 + docs/API_docs/methods/channels.editPhoto.md | 32 + docs/API_docs/methods/channels.editTitle.md | 32 + .../API_docs/methods/channels.exportInvite.md | 31 + .../methods/channels.exportMessageLink.md | 32 + .../channels.getAdminedPublicChannels.md | 30 + docs/API_docs/methods/channels.getChannels.md | 31 + .../methods/channels.getFullChannel.md | 31 + docs/API_docs/methods/channels.getMessages.md | 32 + .../methods/channels.getParticipant.md | 32 + .../methods/channels.getParticipants.md | 34 + .../methods/channels.inviteToChannel.md | 32 + docs/API_docs/methods/channels.joinChannel.md | 31 + .../methods/channels.kickFromChannel.md | 33 + .../API_docs/methods/channels.leaveChannel.md | 31 + docs/API_docs/methods/channels.readHistory.md | 32 + docs/API_docs/methods/channels.reportSpam.md | 33 + .../methods/channels.toggleInvites.md | 32 + .../methods/channels.toggleSignatures.md | 32 + .../methods/channels.updatePinnedMessage.md | 33 + .../methods/channels.updateUsername.md | 32 + docs/API_docs/methods/contacts.block.md | 31 + .../methods/contacts.deleteContact.md | 31 + .../methods/contacts.deleteContacts.md | 31 + docs/API_docs/methods/contacts.exportCard.md | 30 + docs/API_docs/methods/contacts.getBlocked.md | 32 + docs/API_docs/methods/contacts.getContacts.md | 31 + docs/API_docs/methods/contacts.getStatuses.md | 30 + docs/API_docs/methods/contacts.getTopPeers.md | 38 + docs/API_docs/methods/contacts.importCard.md | 31 + .../methods/contacts.importContacts.md | 32 + .../methods/contacts.resetTopPeerRating.md | 32 + .../methods/contacts.resolveUsername.md | 31 + docs/API_docs/methods/contacts.search.md | 32 + docs/API_docs/methods/contacts.unblock.md | 31 + docs/API_docs/methods/help.getAppChangelog.md | 30 + docs/API_docs/methods/help.getAppUpdate.md | 30 + docs/API_docs/methods/help.getConfig.md | 30 + docs/API_docs/methods/help.getInviteText.md | 30 + docs/API_docs/methods/help.getNearestDc.md | 30 + docs/API_docs/methods/help.getSupport.md | 30 + .../methods/help.getTermsOfService.md | 30 + docs/API_docs/methods/index.md | 383 ++++++++ docs/API_docs/methods/initConnection.md | 36 + docs/API_docs/methods/invokeAfterMsg.md | 32 + docs/API_docs/methods/invokeAfterMsgs.md | 32 + docs/API_docs/methods/invokeWithLayer.md | 32 + docs/API_docs/methods/invokeWithoutUpdates.md | 31 + .../methods/messages.acceptEncryption.md | 33 + docs/API_docs/methods/messages.addChatUser.md | 33 + .../methods/messages.checkChatInvite.md | 31 + .../methods/messages.clearRecentStickers.md | 31 + docs/API_docs/methods/messages.createChat.md | 32 + .../methods/messages.deleteChatUser.md | 32 + .../methods/messages.deleteHistory.md | 33 + .../methods/messages.deleteMessages.md | 31 + .../methods/messages.discardEncryption.md | 31 + .../methods/messages.editChatAdmin.md | 33 + .../methods/messages.editChatPhoto.md | 32 + .../methods/messages.editChatTitle.md | 32 + .../methods/messages.editInlineBotMessage.md | 35 + docs/API_docs/methods/messages.editMessage.md | 36 + .../methods/messages.exportChatInvite.md | 31 + .../methods/messages.forwardMessage.md | 33 + .../methods/messages.forwardMessages.md | 37 + .../API_docs/methods/messages.getAllDrafts.md | 30 + .../methods/messages.getAllStickers.md | 31 + .../methods/messages.getArchivedStickers.md | 33 + .../methods/messages.getAttachedStickers.md | 31 + .../methods/messages.getBotCallbackAnswer.md | 34 + docs/API_docs/methods/messages.getChats.md | 31 + docs/API_docs/methods/messages.getDhConfig.md | 32 + docs/API_docs/methods/messages.getDialogs.md | 34 + .../methods/messages.getDocumentByHash.md | 33 + .../methods/messages.getFeaturedStickers.md | 31 + docs/API_docs/methods/messages.getFullChat.md | 31 + .../methods/messages.getGameHighScores.md | 33 + docs/API_docs/methods/messages.getHistory.md | 37 + .../methods/messages.getInlineBotResults.md | 35 + .../messages.getInlineGameHighScores.md | 32 + .../methods/messages.getMaskStickers.md | 31 + .../methods/messages.getMessageEditData.md | 32 + docs/API_docs/methods/messages.getMessages.md | 31 + .../methods/messages.getMessagesViews.md | 33 + .../methods/messages.getPeerDialogs.md | 31 + .../methods/messages.getPeerSettings.md | 31 + .../methods/messages.getRecentStickers.md | 32 + .../API_docs/methods/messages.getSavedGifs.md | 31 + .../methods/messages.getStickerSet.md | 31 + .../methods/messages.getWebPagePreview.md | 31 + .../methods/messages.hideReportSpam.md | 31 + .../methods/messages.importChatInvite.md | 31 + .../methods/messages.installStickerSet.md | 32 + docs/API_docs/methods/messages.migrateChat.md | 31 + .../methods/messages.readEncryptedHistory.md | 32 + .../methods/messages.readFeaturedStickers.md | 31 + docs/API_docs/methods/messages.readHistory.md | 32 + .../methods/messages.readMessageContents.md | 31 + .../methods/messages.receivedMessages.md | 31 + .../methods/messages.receivedQueue.md | 31 + .../methods/messages.reorderStickerSets.md | 32 + docs/API_docs/methods/messages.reportSpam.md | 31 + .../methods/messages.requestEncryption.md | 33 + docs/API_docs/methods/messages.search.md | 38 + docs/API_docs/methods/messages.searchGifs.md | 32 + .../API_docs/methods/messages.searchGlobal.md | 35 + .../methods/messages.sendEncrypted.md | 33 + .../methods/messages.sendEncryptedFile.md | 34 + .../methods/messages.sendEncryptedService.md | 33 + .../methods/messages.sendInlineBotResult.md | 38 + docs/API_docs/methods/messages.sendMedia.md | 38 + docs/API_docs/methods/messages.sendMessage.md | 40 + .../methods/messages.setBotCallbackAnswer.md | 34 + .../methods/messages.setEncryptedTyping.md | 32 + .../API_docs/methods/messages.setGameScore.md | 35 + .../methods/messages.setInlineBotResults.md | 37 + .../methods/messages.setInlineGameScore.md | 34 + docs/API_docs/methods/messages.setTyping.md | 32 + docs/API_docs/methods/messages.startBot.md | 34 + .../methods/messages.toggleChatAdmins.md | 32 + .../methods/messages.uninstallStickerSet.md | 31 + docs/API_docs/methods/photos.deletePhotos.md | 31 + docs/API_docs/methods/photos.getUserPhotos.md | 34 + .../methods/photos.updateProfilePhoto.md | 31 + .../methods/photos.uploadProfilePhoto.md | 31 + .../methods/updates.getChannelDifference.md | 34 + .../API_docs/methods/updates.getDifference.md | 33 + docs/API_docs/methods/updates.getState.md | 30 + docs/API_docs/methods/upload.getFile.md | 33 + docs/API_docs/methods/users.getFullUser.md | 31 + docs/API_docs/methods/users.getUsers.md | 31 + docs/API_docs/types/!X.md | 3 + docs/API_docs/types/AccountDaysTTL.md | 17 + docs/API_docs/types/Authorization.md | 17 + docs/API_docs/types/Bool.md | 19 + docs/API_docs/types/BotCommand.md | 17 + docs/API_docs/types/BotInfo.md | 17 + docs/API_docs/types/BotInlineMessage.md | 25 + docs/API_docs/types/BotInlineResult.md | 19 + docs/API_docs/types/ChannelMessagesFilter.md | 19 + docs/API_docs/types/ChannelParticipant.md | 27 + docs/API_docs/types/ChannelParticipantRole.md | 21 + .../types/ChannelParticipantsFilter.md | 23 + docs/API_docs/types/Chat.md | 25 + docs/API_docs/types/ChatFull.md | 19 + docs/API_docs/types/ChatInvite.md | 19 + docs/API_docs/types/ChatParticipant.md | 21 + docs/API_docs/types/ChatParticipants.md | 19 + docs/API_docs/types/ChatPhoto.md | 19 + docs/API_docs/types/Config.md | 17 + docs/API_docs/types/Contact.md | 17 + docs/API_docs/types/ContactBlocked.md | 17 + docs/API_docs/types/ContactLink.md | 23 + docs/API_docs/types/ContactStatus.md | 17 + docs/API_docs/types/DcOption.md | 17 + docs/API_docs/types/Dialog.md | 17 + docs/API_docs/types/DisabledFeature.md | 17 + docs/API_docs/types/Document.md | 19 + docs/API_docs/types/DocumentAttribute.md | 29 + docs/API_docs/types/DraftMessage.md | 19 + docs/API_docs/types/EncryptedChat.md | 25 + docs/API_docs/types/EncryptedFile.md | 19 + docs/API_docs/types/EncryptedMessage.md | 19 + docs/API_docs/types/Error.md | 17 + docs/API_docs/types/ExportedChatInvite.md | 19 + docs/API_docs/types/ExportedMessageLink.md | 17 + docs/API_docs/types/FileLocation.md | 19 + docs/API_docs/types/FoundGif.md | 19 + docs/API_docs/types/Game.md | 17 + docs/API_docs/types/GeoPoint.md | 19 + docs/API_docs/types/HighScore.md | 17 + docs/API_docs/types/ImportedContact.md | 17 + docs/API_docs/types/InlineBotSwitchPM.md | 17 + docs/API_docs/types/InputAppEvent.md | 17 + docs/API_docs/types/InputBotInlineMessage.md | 27 + .../API_docs/types/InputBotInlineMessageID.md | 17 + docs/API_docs/types/InputBotInlineResult.md | 23 + docs/API_docs/types/InputChannel.md | 19 + docs/API_docs/types/InputChatPhoto.md | 21 + docs/API_docs/types/InputContact.md | 17 + docs/API_docs/types/InputDocument.md | 19 + docs/API_docs/types/InputEncryptedChat.md | 17 + docs/API_docs/types/InputEncryptedFile.md | 23 + docs/API_docs/types/InputFile.md | 19 + docs/API_docs/types/InputFileLocation.md | 21 + docs/API_docs/types/InputGame.md | 19 + docs/API_docs/types/InputGeoPoint.md | 19 + docs/API_docs/types/InputMedia.md | 41 + docs/API_docs/types/InputNotifyPeer.md | 23 + docs/API_docs/types/InputPeer.md | 25 + docs/API_docs/types/InputPeerNotifyEvents.md | 19 + .../API_docs/types/InputPeerNotifySettings.md | 17 + docs/API_docs/types/InputPhoto.md | 19 + docs/API_docs/types/InputPrivacyKey.md | 19 + docs/API_docs/types/InputPrivacyRule.md | 27 + docs/API_docs/types/InputStickerSet.md | 21 + docs/API_docs/types/InputStickeredMedia.md | 19 + docs/API_docs/types/InputUser.md | 21 + docs/API_docs/types/KeyboardButton.md | 29 + docs/API_docs/types/KeyboardButtonRow.md | 17 + docs/API_docs/types/MaskCoords.md | 17 + docs/API_docs/types/Message.md | 21 + docs/API_docs/types/MessageAction.md | 43 + docs/API_docs/types/MessageEntity.md | 41 + docs/API_docs/types/MessageFwdHeader.md | 17 + docs/API_docs/types/MessageMedia.md | 33 + docs/API_docs/types/MessageRange.md | 17 + docs/API_docs/types/MessagesFilter.md | 37 + docs/API_docs/types/NearestDc.md | 17 + docs/API_docs/types/NotifyPeer.md | 23 + docs/API_docs/types/Null.md | 17 + docs/API_docs/types/Peer.md | 21 + docs/API_docs/types/PeerNotifyEvents.md | 19 + docs/API_docs/types/PeerNotifySettings.md | 19 + docs/API_docs/types/PeerSettings.md | 17 + docs/API_docs/types/Photo.md | 19 + docs/API_docs/types/PhotoSize.md | 21 + docs/API_docs/types/PrivacyKey.md | 19 + docs/API_docs/types/PrivacyRule.md | 27 + docs/API_docs/types/ReceivedNotifyMessage.md | 17 + docs/API_docs/types/ReplyMarkup.md | 23 + docs/API_docs/types/ReportReason.md | 23 + docs/API_docs/types/SendMessageAction.md | 37 + docs/API_docs/types/StickerPack.md | 17 + docs/API_docs/types/StickerSet.md | 17 + docs/API_docs/types/StickerSetCovered.md | 19 + docs/API_docs/types/TopPeer.md | 17 + docs/API_docs/types/TopPeerCategory.md | 25 + docs/API_docs/types/TopPeerCategoryPeers.md | 17 + docs/API_docs/types/True.md | 17 + docs/API_docs/types/Update.md | 121 +++ docs/API_docs/types/Updates.md | 29 + docs/API_docs/types/User.md | 19 + docs/API_docs/types/UserFull.md | 17 + docs/API_docs/types/UserProfilePhoto.md | 19 + docs/API_docs/types/UserStatus.md | 27 + docs/API_docs/types/Vector t.md | 17 + docs/API_docs/types/WallPaper.md | 19 + docs/API_docs/types/WebPage.md | 21 + docs/API_docs/types/X.md | 3 + docs/API_docs/types/account_Authorizations.md | 17 + docs/API_docs/types/account_Password.md | 19 + .../types/account_PasswordInputSettings.md | 17 + .../types/account_PasswordSettings.md | 17 + docs/API_docs/types/account_PrivacyRules.md | 17 + docs/API_docs/types/auth_Authorization.md | 17 + docs/API_docs/types/auth_CheckedPhone.md | 17 + docs/API_docs/types/auth_CodeType.md | 21 + .../types/auth_ExportedAuthorization.md | 17 + docs/API_docs/types/auth_PasswordRecovery.md | 17 + docs/API_docs/types/auth_SentCode.md | 17 + docs/API_docs/types/auth_SentCodeType.md | 23 + docs/API_docs/types/bytes.md | 3 + .../types/channels_ChannelParticipant.md | 17 + .../types/channels_ChannelParticipants.md | 17 + docs/API_docs/types/contacts_Blocked.md | 19 + docs/API_docs/types/contacts_Contacts.md | 19 + docs/API_docs/types/contacts_Found.md | 17 + .../types/contacts_ImportedContacts.md | 17 + docs/API_docs/types/contacts_Link.md | 17 + docs/API_docs/types/contacts_ResolvedPeer.md | 17 + docs/API_docs/types/contacts_TopPeers.md | 19 + docs/API_docs/types/double.md | 3 + docs/API_docs/types/help_AppChangelog.md | 19 + docs/API_docs/types/help_AppUpdate.md | 19 + docs/API_docs/types/help_InviteText.md | 17 + docs/API_docs/types/help_Support.md | 17 + docs/API_docs/types/help_TermsOfService.md | 17 + docs/API_docs/types/index.md | 336 +++++++ docs/API_docs/types/int.md | 3 + docs/API_docs/types/long.md | 3 + .../types/messages_AffectedHistory.md | 17 + .../types/messages_AffectedMessages.md | 17 + docs/API_docs/types/messages_AllStickers.md | 19 + .../types/messages_ArchivedStickers.md | 17 + .../types/messages_BotCallbackAnswer.md | 17 + docs/API_docs/types/messages_BotResults.md | 17 + docs/API_docs/types/messages_ChatFull.md | 17 + docs/API_docs/types/messages_Chats.md | 17 + docs/API_docs/types/messages_DhConfig.md | 19 + docs/API_docs/types/messages_Dialogs.md | 19 + .../types/messages_FeaturedStickers.md | 19 + docs/API_docs/types/messages_FoundGifs.md | 17 + docs/API_docs/types/messages_HighScores.md | 17 + .../types/messages_MessageEditData.md | 17 + docs/API_docs/types/messages_Messages.md | 21 + docs/API_docs/types/messages_PeerDialogs.md | 17 + .../API_docs/types/messages_RecentStickers.md | 19 + docs/API_docs/types/messages_SavedGifs.md | 19 + .../types/messages_SentEncryptedMessage.md | 19 + docs/API_docs/types/messages_StickerSet.md | 17 + .../types/messages_StickerSetInstallResult.md | 19 + docs/API_docs/types/messages_Stickers.md | 19 + docs/API_docs/types/photos_Photo.md | 17 + docs/API_docs/types/photos_Photos.md | 19 + docs/API_docs/types/storage_FileType.md | 35 + docs/API_docs/types/string.md | 3 + .../types/updates_ChannelDifference.md | 21 + docs/API_docs/types/updates_Difference.md | 21 + docs/API_docs/types/updates_State.md | 17 + docs/API_docs/types/upload_File.md | 17 + docs/index.md | 263 +++++ enc.tar.xz.enc | Bin 33296 -> 32848 bytes src/danog/MadelineProto/DataCenter.php | 5 + src/danog/MadelineProto/MTProto.php | 15 +- src/danog/MadelineProto/MTProtoTools.php | 20 - .../MadelineProto/MTProtoTools/AckHandler.php | 2 +- .../MTProtoTools/AuthKeyHandler.php | 2 +- .../MTProtoTools/CallHandler.php | 2 +- .../MadelineProto/MTProtoTools/Crypt.php | 2 +- .../MTProtoTools/MessageHandler.php | 16 +- .../MTProtoTools/MsgIdHandler.php | 4 +- .../MTProtoTools/ResponseHandler.php | 2 +- .../MTProtoTools/SaltHandler.php | 2 +- .../MTProtoTools/SeqNoHandler.php | 2 +- src/danog/MadelineProto/PrimeModule.php | 4 +- src/danog/MadelineProto/TL/TL.php | 4 +- src/danog/MadelineProto/TL/TLParams.php | 2 +- 824 files changed, 19728 insertions(+), 43 deletions(-) create mode 100644 Caddyfile create mode 100755 build_docs.php create mode 100644 docs/API_docs/constructors/accountDaysTTL.md create mode 100644 docs/API_docs/constructors/account_authorizations.md create mode 100644 docs/API_docs/constructors/account_noPassword.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/auth_authorization.md create mode 100644 docs/API_docs/constructors/auth_checkedPhone.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 create mode 100644 docs/API_docs/constructors/authorization.md create mode 100644 docs/API_docs/constructors/boolFalse.md create mode 100644 docs/API_docs/constructors/boolTrue.md create mode 100644 docs/API_docs/constructors/botCommand.md create mode 100644 docs/API_docs/constructors/botInfo.md create mode 100644 docs/API_docs/constructors/botInlineMediaResult.md create mode 100644 docs/API_docs/constructors/botInlineMessageMediaAuto.md create mode 100644 docs/API_docs/constructors/botInlineMessageMediaContact.md create mode 100644 docs/API_docs/constructors/botInlineMessageMediaGeo.md create mode 100644 docs/API_docs/constructors/botInlineMessageMediaVenue.md create mode 100644 docs/API_docs/constructors/botInlineMessageText.md create mode 100644 docs/API_docs/constructors/botInlineResult.md create mode 100644 docs/API_docs/constructors/channel.md create mode 100644 docs/API_docs/constructors/channelForbidden.md create mode 100644 docs/API_docs/constructors/channelFull.md create mode 100644 docs/API_docs/constructors/channelMessagesFilter.md create mode 100644 docs/API_docs/constructors/channelMessagesFilterEmpty.md create mode 100644 docs/API_docs/constructors/channelParticipant.md create mode 100644 docs/API_docs/constructors/channelParticipantCreator.md create mode 100644 docs/API_docs/constructors/channelParticipantEditor.md create mode 100644 docs/API_docs/constructors/channelParticipantKicked.md create mode 100644 docs/API_docs/constructors/channelParticipantModerator.md create mode 100644 docs/API_docs/constructors/channelParticipantSelf.md create mode 100644 docs/API_docs/constructors/channelParticipantsAdmins.md create mode 100644 docs/API_docs/constructors/channelParticipantsBots.md create mode 100644 docs/API_docs/constructors/channelParticipantsKicked.md create mode 100644 docs/API_docs/constructors/channelParticipantsRecent.md create mode 100644 docs/API_docs/constructors/channelRoleEditor.md create mode 100644 docs/API_docs/constructors/channelRoleEmpty.md create mode 100644 docs/API_docs/constructors/channelRoleModerator.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/chat.md create mode 100644 docs/API_docs/constructors/chatEmpty.md create mode 100644 docs/API_docs/constructors/chatForbidden.md create mode 100644 docs/API_docs/constructors/chatFull.md create mode 100644 docs/API_docs/constructors/chatInvite.md create mode 100644 docs/API_docs/constructors/chatInviteAlready.md create mode 100644 docs/API_docs/constructors/chatInviteEmpty.md create mode 100644 docs/API_docs/constructors/chatInviteExported.md create mode 100644 docs/API_docs/constructors/chatParticipant.md create mode 100644 docs/API_docs/constructors/chatParticipantAdmin.md create mode 100644 docs/API_docs/constructors/chatParticipantCreator.md create mode 100644 docs/API_docs/constructors/chatParticipants.md create mode 100644 docs/API_docs/constructors/chatParticipantsForbidden.md create mode 100644 docs/API_docs/constructors/chatPhoto.md create mode 100644 docs/API_docs/constructors/chatPhotoEmpty.md create mode 100644 docs/API_docs/constructors/config.md create mode 100644 docs/API_docs/constructors/contact.md create mode 100644 docs/API_docs/constructors/contactBlocked.md create mode 100644 docs/API_docs/constructors/contactLinkContact.md create mode 100644 docs/API_docs/constructors/contactLinkHasPhone.md create mode 100644 docs/API_docs/constructors/contactLinkNone.md create mode 100644 docs/API_docs/constructors/contactLinkUnknown.md create mode 100644 docs/API_docs/constructors/contactStatus.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_link.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_topPeersNotModified.md create mode 100644 docs/API_docs/constructors/dcOption.md create mode 100644 docs/API_docs/constructors/dialog.md create mode 100644 docs/API_docs/constructors/disabledFeature.md create mode 100644 docs/API_docs/constructors/document.md create mode 100644 docs/API_docs/constructors/documentAttributeAnimated.md create mode 100644 docs/API_docs/constructors/documentAttributeAudio.md create mode 100644 docs/API_docs/constructors/documentAttributeFilename.md create mode 100644 docs/API_docs/constructors/documentAttributeHasStickers.md create mode 100644 docs/API_docs/constructors/documentAttributeImageSize.md create mode 100644 docs/API_docs/constructors/documentAttributeSticker.md create mode 100644 docs/API_docs/constructors/documentAttributeVideo.md create mode 100644 docs/API_docs/constructors/documentEmpty.md create mode 100644 docs/API_docs/constructors/draftMessage.md create mode 100644 docs/API_docs/constructors/draftMessageEmpty.md create mode 100644 docs/API_docs/constructors/encryptedChat.md create mode 100644 docs/API_docs/constructors/encryptedChatDiscarded.md create mode 100644 docs/API_docs/constructors/encryptedChatEmpty.md create mode 100644 docs/API_docs/constructors/encryptedChatRequested.md create mode 100644 docs/API_docs/constructors/encryptedChatWaiting.md create mode 100644 docs/API_docs/constructors/encryptedFile.md create mode 100644 docs/API_docs/constructors/encryptedFileEmpty.md create mode 100644 docs/API_docs/constructors/encryptedMessage.md create mode 100644 docs/API_docs/constructors/encryptedMessageService.md create mode 100644 docs/API_docs/constructors/error.md create mode 100644 docs/API_docs/constructors/exportedMessageLink.md create mode 100644 docs/API_docs/constructors/fileLocation.md create mode 100644 docs/API_docs/constructors/fileLocationUnavailable.md create mode 100644 docs/API_docs/constructors/foundGif.md create mode 100644 docs/API_docs/constructors/foundGifCached.md create mode 100644 docs/API_docs/constructors/game.md create mode 100644 docs/API_docs/constructors/geoPoint.md create mode 100644 docs/API_docs/constructors/geoPointEmpty.md create mode 100644 docs/API_docs/constructors/help_appChangelog.md create mode 100644 docs/API_docs/constructors/help_appChangelogEmpty.md create mode 100644 docs/API_docs/constructors/help_appUpdate.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_support.md create mode 100644 docs/API_docs/constructors/help_termsOfService.md create mode 100644 docs/API_docs/constructors/highScore.md create mode 100644 docs/API_docs/constructors/importedContact.md create mode 100644 docs/API_docs/constructors/index.md create mode 100644 docs/API_docs/constructors/inlineBotSwitchPM.md create mode 100644 docs/API_docs/constructors/inputAppEvent.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageGame.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageID.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageMediaContact.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md create mode 100644 docs/API_docs/constructors/inputBotInlineMessageText.md create mode 100644 docs/API_docs/constructors/inputBotInlineResult.md create mode 100644 docs/API_docs/constructors/inputBotInlineResultDocument.md create mode 100644 docs/API_docs/constructors/inputBotInlineResultGame.md create mode 100644 docs/API_docs/constructors/inputBotInlineResultPhoto.md create mode 100644 docs/API_docs/constructors/inputChannel.md create mode 100644 docs/API_docs/constructors/inputChannelEmpty.md create mode 100644 docs/API_docs/constructors/inputChatPhoto.md create mode 100644 docs/API_docs/constructors/inputChatPhotoEmpty.md create mode 100644 docs/API_docs/constructors/inputChatUploadedPhoto.md create mode 100644 docs/API_docs/constructors/inputDocument.md create mode 100644 docs/API_docs/constructors/inputDocumentEmpty.md create mode 100644 docs/API_docs/constructors/inputDocumentFileLocation.md create mode 100644 docs/API_docs/constructors/inputEncryptedChat.md create mode 100644 docs/API_docs/constructors/inputEncryptedFile.md create mode 100644 docs/API_docs/constructors/inputEncryptedFileBigUploaded.md create mode 100644 docs/API_docs/constructors/inputEncryptedFileEmpty.md create mode 100644 docs/API_docs/constructors/inputEncryptedFileLocation.md create mode 100644 docs/API_docs/constructors/inputEncryptedFileUploaded.md create mode 100644 docs/API_docs/constructors/inputFile.md create mode 100644 docs/API_docs/constructors/inputFileBig.md create mode 100644 docs/API_docs/constructors/inputFileLocation.md create mode 100644 docs/API_docs/constructors/inputGameID.md create mode 100644 docs/API_docs/constructors/inputGameShortName.md create mode 100644 docs/API_docs/constructors/inputGeoPoint.md create mode 100644 docs/API_docs/constructors/inputGeoPointEmpty.md create mode 100644 docs/API_docs/constructors/inputMediaContact.md create mode 100644 docs/API_docs/constructors/inputMediaDocument.md create mode 100644 docs/API_docs/constructors/inputMediaDocumentExternal.md create mode 100644 docs/API_docs/constructors/inputMediaEmpty.md create mode 100644 docs/API_docs/constructors/inputMediaGame.md create mode 100644 docs/API_docs/constructors/inputMediaGeoPoint.md create mode 100644 docs/API_docs/constructors/inputMediaGifExternal.md create mode 100644 docs/API_docs/constructors/inputMediaPhoto.md create mode 100644 docs/API_docs/constructors/inputMediaPhotoExternal.md create mode 100644 docs/API_docs/constructors/inputMediaUploadedDocument.md create mode 100644 docs/API_docs/constructors/inputMediaUploadedPhoto.md create mode 100644 docs/API_docs/constructors/inputMediaUploadedThumbDocument.md create mode 100644 docs/API_docs/constructors/inputMediaVenue.md create mode 100644 docs/API_docs/constructors/inputMessageEntityMentionName.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterChatPhotos.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterDocument.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterEmpty.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterGif.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterMusic.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterPhotos.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterUrl.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterVideo.md create mode 100644 docs/API_docs/constructors/inputMessagesFilterVoice.md create mode 100644 docs/API_docs/constructors/inputNotifyAll.md create mode 100644 docs/API_docs/constructors/inputNotifyChats.md create mode 100644 docs/API_docs/constructors/inputNotifyPeer.md create mode 100644 docs/API_docs/constructors/inputNotifyUsers.md create mode 100644 docs/API_docs/constructors/inputPeerChannel.md create mode 100644 docs/API_docs/constructors/inputPeerChat.md create mode 100644 docs/API_docs/constructors/inputPeerEmpty.md create mode 100644 docs/API_docs/constructors/inputPeerNotifyEventsAll.md create mode 100644 docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md create mode 100644 docs/API_docs/constructors/inputPeerNotifySettings.md create mode 100644 docs/API_docs/constructors/inputPeerSelf.md create mode 100644 docs/API_docs/constructors/inputPeerUser.md create mode 100644 docs/API_docs/constructors/inputPhoneContact.md create mode 100644 docs/API_docs/constructors/inputPhoto.md create mode 100644 docs/API_docs/constructors/inputPhotoEmpty.md create mode 100644 docs/API_docs/constructors/inputPrivacyKeyChatInvite.md create mode 100644 docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueAllowAll.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueAllowContacts.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueAllowUsers.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueDisallowAll.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md create mode 100644 docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md create mode 100644 docs/API_docs/constructors/inputReportReasonOther.md create mode 100644 docs/API_docs/constructors/inputReportReasonPornography.md create mode 100644 docs/API_docs/constructors/inputReportReasonSpam.md create mode 100644 docs/API_docs/constructors/inputReportReasonViolence.md create mode 100644 docs/API_docs/constructors/inputStickerSetEmpty.md create mode 100644 docs/API_docs/constructors/inputStickerSetID.md create mode 100644 docs/API_docs/constructors/inputStickerSetShortName.md create mode 100644 docs/API_docs/constructors/inputStickeredMediaDocument.md create mode 100644 docs/API_docs/constructors/inputStickeredMediaPhoto.md create mode 100644 docs/API_docs/constructors/inputUser.md create mode 100644 docs/API_docs/constructors/inputUserEmpty.md create mode 100644 docs/API_docs/constructors/inputUserSelf.md create mode 100644 docs/API_docs/constructors/keyboardButton.md create mode 100644 docs/API_docs/constructors/keyboardButtonCallback.md create mode 100644 docs/API_docs/constructors/keyboardButtonGame.md create mode 100644 docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md create mode 100644 docs/API_docs/constructors/keyboardButtonRequestPhone.md create mode 100644 docs/API_docs/constructors/keyboardButtonRow.md create mode 100644 docs/API_docs/constructors/keyboardButtonSwitchInline.md create mode 100644 docs/API_docs/constructors/keyboardButtonUrl.md create mode 100644 docs/API_docs/constructors/maskCoords.md create mode 100644 docs/API_docs/constructors/message.md create mode 100644 docs/API_docs/constructors/messageActionChannelCreate.md create mode 100644 docs/API_docs/constructors/messageActionChannelMigrateFrom.md create mode 100644 docs/API_docs/constructors/messageActionChatAddUser.md create mode 100644 docs/API_docs/constructors/messageActionChatCreate.md create mode 100644 docs/API_docs/constructors/messageActionChatDeletePhoto.md create mode 100644 docs/API_docs/constructors/messageActionChatDeleteUser.md create mode 100644 docs/API_docs/constructors/messageActionChatEditPhoto.md create mode 100644 docs/API_docs/constructors/messageActionChatEditTitle.md create mode 100644 docs/API_docs/constructors/messageActionChatJoinedByLink.md create mode 100644 docs/API_docs/constructors/messageActionChatMigrateTo.md create mode 100644 docs/API_docs/constructors/messageActionEmpty.md create mode 100644 docs/API_docs/constructors/messageActionGameScore.md create mode 100644 docs/API_docs/constructors/messageActionHistoryClear.md create mode 100644 docs/API_docs/constructors/messageActionPinMessage.md create mode 100644 docs/API_docs/constructors/messageEmpty.md create mode 100644 docs/API_docs/constructors/messageEntityBold.md create mode 100644 docs/API_docs/constructors/messageEntityBotCommand.md create mode 100644 docs/API_docs/constructors/messageEntityCode.md create mode 100644 docs/API_docs/constructors/messageEntityEmail.md create mode 100644 docs/API_docs/constructors/messageEntityHashtag.md create mode 100644 docs/API_docs/constructors/messageEntityItalic.md create mode 100644 docs/API_docs/constructors/messageEntityMention.md create mode 100644 docs/API_docs/constructors/messageEntityMentionName.md create mode 100644 docs/API_docs/constructors/messageEntityPre.md create mode 100644 docs/API_docs/constructors/messageEntityTextUrl.md create mode 100644 docs/API_docs/constructors/messageEntityUnknown.md create mode 100644 docs/API_docs/constructors/messageEntityUrl.md create mode 100644 docs/API_docs/constructors/messageFwdHeader.md create mode 100644 docs/API_docs/constructors/messageMediaContact.md create mode 100644 docs/API_docs/constructors/messageMediaDocument.md create mode 100644 docs/API_docs/constructors/messageMediaEmpty.md create mode 100644 docs/API_docs/constructors/messageMediaGame.md create mode 100644 docs/API_docs/constructors/messageMediaGeo.md create mode 100644 docs/API_docs/constructors/messageMediaPhoto.md create mode 100644 docs/API_docs/constructors/messageMediaUnsupported.md create mode 100644 docs/API_docs/constructors/messageMediaVenue.md create mode 100644 docs/API_docs/constructors/messageMediaWebPage.md create mode 100644 docs/API_docs/constructors/messageRange.md create mode 100644 docs/API_docs/constructors/messageService.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_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_dialogsSlice.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_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_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_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 create mode 100644 docs/API_docs/constructors/nearestDc.md create mode 100644 docs/API_docs/constructors/notifyAll.md create mode 100644 docs/API_docs/constructors/notifyChats.md create mode 100644 docs/API_docs/constructors/notifyPeer.md create mode 100644 docs/API_docs/constructors/notifyUsers.md create mode 100644 docs/API_docs/constructors/null.md create mode 100644 docs/API_docs/constructors/peerChannel.md create mode 100644 docs/API_docs/constructors/peerChat.md create mode 100644 docs/API_docs/constructors/peerNotifyEventsAll.md create mode 100644 docs/API_docs/constructors/peerNotifyEventsEmpty.md create mode 100644 docs/API_docs/constructors/peerNotifySettings.md create mode 100644 docs/API_docs/constructors/peerNotifySettingsEmpty.md create mode 100644 docs/API_docs/constructors/peerSettings.md create mode 100644 docs/API_docs/constructors/peerUser.md create mode 100644 docs/API_docs/constructors/photo.md create mode 100644 docs/API_docs/constructors/photoCachedSize.md create mode 100644 docs/API_docs/constructors/photoEmpty.md create mode 100644 docs/API_docs/constructors/photoSize.md create mode 100644 docs/API_docs/constructors/photoSizeEmpty.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 create mode 100644 docs/API_docs/constructors/privacyKeyChatInvite.md create mode 100644 docs/API_docs/constructors/privacyKeyStatusTimestamp.md create mode 100644 docs/API_docs/constructors/privacyValueAllowAll.md create mode 100644 docs/API_docs/constructors/privacyValueAllowContacts.md create mode 100644 docs/API_docs/constructors/privacyValueAllowUsers.md create mode 100644 docs/API_docs/constructors/privacyValueDisallowAll.md create mode 100644 docs/API_docs/constructors/privacyValueDisallowContacts.md create mode 100644 docs/API_docs/constructors/privacyValueDisallowUsers.md create mode 100644 docs/API_docs/constructors/receivedNotifyMessage.md create mode 100644 docs/API_docs/constructors/replyInlineMarkup.md create mode 100644 docs/API_docs/constructors/replyKeyboardForceReply.md create mode 100644 docs/API_docs/constructors/replyKeyboardHide.md create mode 100644 docs/API_docs/constructors/replyKeyboardMarkup.md create mode 100644 docs/API_docs/constructors/sendMessageCancelAction.md create mode 100644 docs/API_docs/constructors/sendMessageChooseContactAction.md create mode 100644 docs/API_docs/constructors/sendMessageGamePlayAction.md create mode 100644 docs/API_docs/constructors/sendMessageGeoLocationAction.md create mode 100644 docs/API_docs/constructors/sendMessageRecordAudioAction.md create mode 100644 docs/API_docs/constructors/sendMessageRecordVideoAction.md create mode 100644 docs/API_docs/constructors/sendMessageTypingAction.md create mode 100644 docs/API_docs/constructors/sendMessageUploadAudioAction.md create mode 100644 docs/API_docs/constructors/sendMessageUploadDocumentAction.md create mode 100644 docs/API_docs/constructors/sendMessageUploadPhotoAction.md create mode 100644 docs/API_docs/constructors/sendMessageUploadVideoAction.md create mode 100644 docs/API_docs/constructors/stickerPack.md create mode 100644 docs/API_docs/constructors/stickerSet.md create mode 100644 docs/API_docs/constructors/stickerSetCovered.md create mode 100644 docs/API_docs/constructors/stickerSetMultiCovered.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 create mode 100644 docs/API_docs/constructors/topPeer.md create mode 100644 docs/API_docs/constructors/topPeerCategoryBotsInline.md create mode 100644 docs/API_docs/constructors/topPeerCategoryBotsPM.md create mode 100644 docs/API_docs/constructors/topPeerCategoryChannels.md create mode 100644 docs/API_docs/constructors/topPeerCategoryCorrespondents.md create mode 100644 docs/API_docs/constructors/topPeerCategoryGroups.md create mode 100644 docs/API_docs/constructors/topPeerCategoryPeers.md create mode 100644 docs/API_docs/constructors/true.md create mode 100644 docs/API_docs/constructors/updateBotCallbackQuery.md create mode 100644 docs/API_docs/constructors/updateBotInlineQuery.md create mode 100644 docs/API_docs/constructors/updateBotInlineSend.md create mode 100644 docs/API_docs/constructors/updateChannel.md create mode 100644 docs/API_docs/constructors/updateChannelMessageViews.md create mode 100644 docs/API_docs/constructors/updateChannelPinnedMessage.md create mode 100644 docs/API_docs/constructors/updateChannelTooLong.md create mode 100644 docs/API_docs/constructors/updateChatAdmins.md create mode 100644 docs/API_docs/constructors/updateChatParticipantAdd.md create mode 100644 docs/API_docs/constructors/updateChatParticipantAdmin.md create mode 100644 docs/API_docs/constructors/updateChatParticipantDelete.md create mode 100644 docs/API_docs/constructors/updateChatParticipants.md create mode 100644 docs/API_docs/constructors/updateChatUserTyping.md create mode 100644 docs/API_docs/constructors/updateConfig.md create mode 100644 docs/API_docs/constructors/updateContactLink.md create mode 100644 docs/API_docs/constructors/updateContactRegistered.md create mode 100644 docs/API_docs/constructors/updateDcOptions.md create mode 100644 docs/API_docs/constructors/updateDeleteChannelMessages.md create mode 100644 docs/API_docs/constructors/updateDeleteMessages.md create mode 100644 docs/API_docs/constructors/updateDraftMessage.md create mode 100644 docs/API_docs/constructors/updateEditChannelMessage.md create mode 100644 docs/API_docs/constructors/updateEditMessage.md create mode 100644 docs/API_docs/constructors/updateEncryptedChatTyping.md create mode 100644 docs/API_docs/constructors/updateEncryptedMessagesRead.md create mode 100644 docs/API_docs/constructors/updateEncryption.md create mode 100644 docs/API_docs/constructors/updateInlineBotCallbackQuery.md create mode 100644 docs/API_docs/constructors/updateMessageID.md create mode 100644 docs/API_docs/constructors/updateNewAuthorization.md create mode 100644 docs/API_docs/constructors/updateNewChannelMessage.md create mode 100644 docs/API_docs/constructors/updateNewEncryptedMessage.md create mode 100644 docs/API_docs/constructors/updateNewMessage.md create mode 100644 docs/API_docs/constructors/updateNewStickerSet.md create mode 100644 docs/API_docs/constructors/updateNotifySettings.md create mode 100644 docs/API_docs/constructors/updatePrivacy.md create mode 100644 docs/API_docs/constructors/updatePtsChanged.md create mode 100644 docs/API_docs/constructors/updateReadChannelInbox.md create mode 100644 docs/API_docs/constructors/updateReadChannelOutbox.md create mode 100644 docs/API_docs/constructors/updateReadFeaturedStickers.md create mode 100644 docs/API_docs/constructors/updateReadHistoryInbox.md create mode 100644 docs/API_docs/constructors/updateReadHistoryOutbox.md create mode 100644 docs/API_docs/constructors/updateReadMessagesContents.md create mode 100644 docs/API_docs/constructors/updateRecentStickers.md create mode 100644 docs/API_docs/constructors/updateSavedGifs.md create mode 100644 docs/API_docs/constructors/updateServiceNotification.md create mode 100644 docs/API_docs/constructors/updateShort.md create mode 100644 docs/API_docs/constructors/updateShortChatMessage.md create mode 100644 docs/API_docs/constructors/updateShortMessage.md create mode 100644 docs/API_docs/constructors/updateShortSentMessage.md create mode 100644 docs/API_docs/constructors/updateStickerSets.md create mode 100644 docs/API_docs/constructors/updateStickerSetsOrder.md create mode 100644 docs/API_docs/constructors/updateUserBlocked.md create mode 100644 docs/API_docs/constructors/updateUserName.md create mode 100644 docs/API_docs/constructors/updateUserPhone.md create mode 100644 docs/API_docs/constructors/updateUserPhoto.md create mode 100644 docs/API_docs/constructors/updateUserStatus.md create mode 100644 docs/API_docs/constructors/updateUserTyping.md create mode 100644 docs/API_docs/constructors/updateWebPage.md create mode 100644 docs/API_docs/constructors/updates.md create mode 100644 docs/API_docs/constructors/updatesCombined.md create mode 100644 docs/API_docs/constructors/updatesTooLong.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_state.md create mode 100644 docs/API_docs/constructors/upload_file.md create mode 100644 docs/API_docs/constructors/user.md create mode 100644 docs/API_docs/constructors/userEmpty.md create mode 100644 docs/API_docs/constructors/userFull.md create mode 100644 docs/API_docs/constructors/userProfilePhoto.md create mode 100644 docs/API_docs/constructors/userProfilePhotoEmpty.md create mode 100644 docs/API_docs/constructors/userStatusEmpty.md create mode 100644 docs/API_docs/constructors/userStatusLastMonth.md create mode 100644 docs/API_docs/constructors/userStatusLastWeek.md create mode 100644 docs/API_docs/constructors/userStatusOffline.md create mode 100644 docs/API_docs/constructors/userStatusOnline.md create mode 100644 docs/API_docs/constructors/userStatusRecently.md create mode 100644 docs/API_docs/constructors/vector.md create mode 100644 docs/API_docs/constructors/wallPaper.md create mode 100644 docs/API_docs/constructors/wallPaperSolid.md create mode 100644 docs/API_docs/constructors/webPage.md create mode 100644 docs/API_docs/constructors/webPageEmpty.md create mode 100644 docs/API_docs/constructors/webPagePending.md create mode 100644 docs/API_docs/index.md create mode 100644 docs/API_docs/methods/account.changePhone.md create mode 100644 docs/API_docs/methods/account.checkUsername.md create mode 100644 docs/API_docs/methods/account.confirmPhone.md create mode 100644 docs/API_docs/methods/account.deleteAccount.md create mode 100644 docs/API_docs/methods/account.getAccountTTL.md create mode 100644 docs/API_docs/methods/account.getAuthorizations.md create mode 100644 docs/API_docs/methods/account.getNotifySettings.md create mode 100644 docs/API_docs/methods/account.getPassword.md create mode 100644 docs/API_docs/methods/account.getPasswordSettings.md create mode 100644 docs/API_docs/methods/account.getPrivacy.md create mode 100644 docs/API_docs/methods/account.getWallPapers.md create mode 100644 docs/API_docs/methods/account.registerDevice.md create mode 100644 docs/API_docs/methods/account.reportPeer.md create mode 100644 docs/API_docs/methods/account.resetAuthorization.md create mode 100644 docs/API_docs/methods/account.resetNotifySettings.md create mode 100644 docs/API_docs/methods/account.sendChangePhoneCode.md create mode 100644 docs/API_docs/methods/account.sendConfirmPhoneCode.md create mode 100644 docs/API_docs/methods/account.setAccountTTL.md create mode 100644 docs/API_docs/methods/account.setPrivacy.md create mode 100644 docs/API_docs/methods/account.unregisterDevice.md create mode 100644 docs/API_docs/methods/account.updateDeviceLocked.md create mode 100644 docs/API_docs/methods/account.updateNotifySettings.md create mode 100644 docs/API_docs/methods/account.updatePasswordSettings.md create mode 100644 docs/API_docs/methods/account.updateProfile.md create mode 100644 docs/API_docs/methods/account.updateStatus.md create mode 100644 docs/API_docs/methods/account.updateUsername.md create mode 100644 docs/API_docs/methods/auth.bindTempAuthKey.md create mode 100644 docs/API_docs/methods/auth.cancelCode.md create mode 100644 docs/API_docs/methods/auth.checkPassword.md create mode 100644 docs/API_docs/methods/auth.checkPhone.md create mode 100644 docs/API_docs/methods/auth.dropTempAuthKeys.md create mode 100644 docs/API_docs/methods/auth.exportAuthorization.md create mode 100644 docs/API_docs/methods/auth.importAuthorization.md create mode 100644 docs/API_docs/methods/auth.importBotAuthorization.md create mode 100644 docs/API_docs/methods/auth.logOut.md create mode 100644 docs/API_docs/methods/auth.recoverPassword.md create mode 100644 docs/API_docs/methods/auth.requestPasswordRecovery.md create mode 100644 docs/API_docs/methods/auth.resendCode.md create mode 100644 docs/API_docs/methods/auth.resetAuthorizations.md create mode 100644 docs/API_docs/methods/auth.sendCode.md create mode 100644 docs/API_docs/methods/auth.sendInvites.md create mode 100644 docs/API_docs/methods/auth.signIn.md create mode 100644 docs/API_docs/methods/auth.signUp.md create mode 100644 docs/API_docs/methods/channels.checkUsername.md create mode 100644 docs/API_docs/methods/channels.createChannel.md create mode 100644 docs/API_docs/methods/channels.deleteChannel.md create mode 100644 docs/API_docs/methods/channels.deleteMessages.md create mode 100644 docs/API_docs/methods/channels.deleteUserHistory.md create mode 100644 docs/API_docs/methods/channels.editAbout.md create mode 100644 docs/API_docs/methods/channels.editAdmin.md create mode 100644 docs/API_docs/methods/channels.editPhoto.md create mode 100644 docs/API_docs/methods/channels.editTitle.md create mode 100644 docs/API_docs/methods/channels.exportInvite.md create mode 100644 docs/API_docs/methods/channels.exportMessageLink.md create mode 100644 docs/API_docs/methods/channels.getAdminedPublicChannels.md create mode 100644 docs/API_docs/methods/channels.getChannels.md create mode 100644 docs/API_docs/methods/channels.getFullChannel.md create mode 100644 docs/API_docs/methods/channels.getMessages.md create mode 100644 docs/API_docs/methods/channels.getParticipant.md create mode 100644 docs/API_docs/methods/channels.getParticipants.md create mode 100644 docs/API_docs/methods/channels.inviteToChannel.md create mode 100644 docs/API_docs/methods/channels.joinChannel.md create mode 100644 docs/API_docs/methods/channels.kickFromChannel.md create mode 100644 docs/API_docs/methods/channels.leaveChannel.md create mode 100644 docs/API_docs/methods/channels.readHistory.md create mode 100644 docs/API_docs/methods/channels.reportSpam.md create mode 100644 docs/API_docs/methods/channels.toggleInvites.md create mode 100644 docs/API_docs/methods/channels.toggleSignatures.md create mode 100644 docs/API_docs/methods/channels.updatePinnedMessage.md create mode 100644 docs/API_docs/methods/channels.updateUsername.md create mode 100644 docs/API_docs/methods/contacts.block.md create mode 100644 docs/API_docs/methods/contacts.deleteContact.md create mode 100644 docs/API_docs/methods/contacts.deleteContacts.md create mode 100644 docs/API_docs/methods/contacts.exportCard.md create mode 100644 docs/API_docs/methods/contacts.getBlocked.md create mode 100644 docs/API_docs/methods/contacts.getContacts.md create mode 100644 docs/API_docs/methods/contacts.getStatuses.md create mode 100644 docs/API_docs/methods/contacts.getTopPeers.md create mode 100644 docs/API_docs/methods/contacts.importCard.md create mode 100644 docs/API_docs/methods/contacts.importContacts.md create mode 100644 docs/API_docs/methods/contacts.resetTopPeerRating.md create mode 100644 docs/API_docs/methods/contacts.resolveUsername.md create mode 100644 docs/API_docs/methods/contacts.search.md create mode 100644 docs/API_docs/methods/contacts.unblock.md create mode 100644 docs/API_docs/methods/help.getAppChangelog.md create mode 100644 docs/API_docs/methods/help.getAppUpdate.md create mode 100644 docs/API_docs/methods/help.getConfig.md create mode 100644 docs/API_docs/methods/help.getInviteText.md create mode 100644 docs/API_docs/methods/help.getNearestDc.md create mode 100644 docs/API_docs/methods/help.getSupport.md create mode 100644 docs/API_docs/methods/help.getTermsOfService.md create mode 100644 docs/API_docs/methods/index.md create mode 100644 docs/API_docs/methods/initConnection.md create mode 100644 docs/API_docs/methods/invokeAfterMsg.md create mode 100644 docs/API_docs/methods/invokeAfterMsgs.md create mode 100644 docs/API_docs/methods/invokeWithLayer.md create mode 100644 docs/API_docs/methods/invokeWithoutUpdates.md create mode 100644 docs/API_docs/methods/messages.acceptEncryption.md create mode 100644 docs/API_docs/methods/messages.addChatUser.md create mode 100644 docs/API_docs/methods/messages.checkChatInvite.md create mode 100644 docs/API_docs/methods/messages.clearRecentStickers.md create mode 100644 docs/API_docs/methods/messages.createChat.md create mode 100644 docs/API_docs/methods/messages.deleteChatUser.md create mode 100644 docs/API_docs/methods/messages.deleteHistory.md create mode 100644 docs/API_docs/methods/messages.deleteMessages.md create mode 100644 docs/API_docs/methods/messages.discardEncryption.md create mode 100644 docs/API_docs/methods/messages.editChatAdmin.md create mode 100644 docs/API_docs/methods/messages.editChatPhoto.md create mode 100644 docs/API_docs/methods/messages.editChatTitle.md create mode 100644 docs/API_docs/methods/messages.editInlineBotMessage.md create mode 100644 docs/API_docs/methods/messages.editMessage.md create mode 100644 docs/API_docs/methods/messages.exportChatInvite.md create mode 100644 docs/API_docs/methods/messages.forwardMessage.md create mode 100644 docs/API_docs/methods/messages.forwardMessages.md create mode 100644 docs/API_docs/methods/messages.getAllDrafts.md create mode 100644 docs/API_docs/methods/messages.getAllStickers.md create mode 100644 docs/API_docs/methods/messages.getArchivedStickers.md create mode 100644 docs/API_docs/methods/messages.getAttachedStickers.md create mode 100644 docs/API_docs/methods/messages.getBotCallbackAnswer.md create mode 100644 docs/API_docs/methods/messages.getChats.md create mode 100644 docs/API_docs/methods/messages.getDhConfig.md create mode 100644 docs/API_docs/methods/messages.getDialogs.md create mode 100644 docs/API_docs/methods/messages.getDocumentByHash.md create mode 100644 docs/API_docs/methods/messages.getFeaturedStickers.md create mode 100644 docs/API_docs/methods/messages.getFullChat.md create mode 100644 docs/API_docs/methods/messages.getGameHighScores.md create mode 100644 docs/API_docs/methods/messages.getHistory.md create mode 100644 docs/API_docs/methods/messages.getInlineBotResults.md create mode 100644 docs/API_docs/methods/messages.getInlineGameHighScores.md create mode 100644 docs/API_docs/methods/messages.getMaskStickers.md create mode 100644 docs/API_docs/methods/messages.getMessageEditData.md create mode 100644 docs/API_docs/methods/messages.getMessages.md create mode 100644 docs/API_docs/methods/messages.getMessagesViews.md create mode 100644 docs/API_docs/methods/messages.getPeerDialogs.md create mode 100644 docs/API_docs/methods/messages.getPeerSettings.md create mode 100644 docs/API_docs/methods/messages.getRecentStickers.md create mode 100644 docs/API_docs/methods/messages.getSavedGifs.md create mode 100644 docs/API_docs/methods/messages.getStickerSet.md create mode 100644 docs/API_docs/methods/messages.getWebPagePreview.md create mode 100644 docs/API_docs/methods/messages.hideReportSpam.md create mode 100644 docs/API_docs/methods/messages.importChatInvite.md create mode 100644 docs/API_docs/methods/messages.installStickerSet.md create mode 100644 docs/API_docs/methods/messages.migrateChat.md create mode 100644 docs/API_docs/methods/messages.readEncryptedHistory.md create mode 100644 docs/API_docs/methods/messages.readFeaturedStickers.md create mode 100644 docs/API_docs/methods/messages.readHistory.md create mode 100644 docs/API_docs/methods/messages.readMessageContents.md create mode 100644 docs/API_docs/methods/messages.receivedMessages.md create mode 100644 docs/API_docs/methods/messages.receivedQueue.md create mode 100644 docs/API_docs/methods/messages.reorderStickerSets.md create mode 100644 docs/API_docs/methods/messages.reportSpam.md create mode 100644 docs/API_docs/methods/messages.requestEncryption.md create mode 100644 docs/API_docs/methods/messages.search.md create mode 100644 docs/API_docs/methods/messages.searchGifs.md create mode 100644 docs/API_docs/methods/messages.searchGlobal.md create mode 100644 docs/API_docs/methods/messages.sendEncrypted.md create mode 100644 docs/API_docs/methods/messages.sendEncryptedFile.md create mode 100644 docs/API_docs/methods/messages.sendEncryptedService.md create mode 100644 docs/API_docs/methods/messages.sendInlineBotResult.md create mode 100644 docs/API_docs/methods/messages.sendMedia.md create mode 100644 docs/API_docs/methods/messages.sendMessage.md create mode 100644 docs/API_docs/methods/messages.setBotCallbackAnswer.md create mode 100644 docs/API_docs/methods/messages.setEncryptedTyping.md create mode 100644 docs/API_docs/methods/messages.setGameScore.md create mode 100644 docs/API_docs/methods/messages.setInlineBotResults.md create mode 100644 docs/API_docs/methods/messages.setInlineGameScore.md create mode 100644 docs/API_docs/methods/messages.setTyping.md create mode 100644 docs/API_docs/methods/messages.startBot.md create mode 100644 docs/API_docs/methods/messages.toggleChatAdmins.md create mode 100644 docs/API_docs/methods/messages.uninstallStickerSet.md create mode 100644 docs/API_docs/methods/photos.deletePhotos.md create mode 100644 docs/API_docs/methods/photos.getUserPhotos.md create mode 100644 docs/API_docs/methods/photos.updateProfilePhoto.md create mode 100644 docs/API_docs/methods/photos.uploadProfilePhoto.md create mode 100644 docs/API_docs/methods/updates.getChannelDifference.md create mode 100644 docs/API_docs/methods/updates.getDifference.md create mode 100644 docs/API_docs/methods/updates.getState.md create mode 100644 docs/API_docs/methods/upload.getFile.md create mode 100644 docs/API_docs/methods/users.getFullUser.md create mode 100644 docs/API_docs/methods/users.getUsers.md create mode 100644 docs/API_docs/types/!X.md create mode 100644 docs/API_docs/types/AccountDaysTTL.md create mode 100644 docs/API_docs/types/Authorization.md create mode 100644 docs/API_docs/types/Bool.md create mode 100644 docs/API_docs/types/BotCommand.md create mode 100644 docs/API_docs/types/BotInfo.md create mode 100644 docs/API_docs/types/BotInlineMessage.md create mode 100644 docs/API_docs/types/BotInlineResult.md create mode 100644 docs/API_docs/types/ChannelMessagesFilter.md create mode 100644 docs/API_docs/types/ChannelParticipant.md create mode 100644 docs/API_docs/types/ChannelParticipantRole.md create mode 100644 docs/API_docs/types/ChannelParticipantsFilter.md create mode 100644 docs/API_docs/types/Chat.md create mode 100644 docs/API_docs/types/ChatFull.md create mode 100644 docs/API_docs/types/ChatInvite.md create mode 100644 docs/API_docs/types/ChatParticipant.md create mode 100644 docs/API_docs/types/ChatParticipants.md create mode 100644 docs/API_docs/types/ChatPhoto.md create mode 100644 docs/API_docs/types/Config.md create mode 100644 docs/API_docs/types/Contact.md create mode 100644 docs/API_docs/types/ContactBlocked.md create mode 100644 docs/API_docs/types/ContactLink.md create mode 100644 docs/API_docs/types/ContactStatus.md create mode 100644 docs/API_docs/types/DcOption.md create mode 100644 docs/API_docs/types/Dialog.md create mode 100644 docs/API_docs/types/DisabledFeature.md create mode 100644 docs/API_docs/types/Document.md create mode 100644 docs/API_docs/types/DocumentAttribute.md create mode 100644 docs/API_docs/types/DraftMessage.md create mode 100644 docs/API_docs/types/EncryptedChat.md create mode 100644 docs/API_docs/types/EncryptedFile.md create mode 100644 docs/API_docs/types/EncryptedMessage.md create mode 100644 docs/API_docs/types/Error.md create mode 100644 docs/API_docs/types/ExportedChatInvite.md create mode 100644 docs/API_docs/types/ExportedMessageLink.md create mode 100644 docs/API_docs/types/FileLocation.md create mode 100644 docs/API_docs/types/FoundGif.md create mode 100644 docs/API_docs/types/Game.md create mode 100644 docs/API_docs/types/GeoPoint.md create mode 100644 docs/API_docs/types/HighScore.md create mode 100644 docs/API_docs/types/ImportedContact.md create mode 100644 docs/API_docs/types/InlineBotSwitchPM.md create mode 100644 docs/API_docs/types/InputAppEvent.md create mode 100644 docs/API_docs/types/InputBotInlineMessage.md create mode 100644 docs/API_docs/types/InputBotInlineMessageID.md create mode 100644 docs/API_docs/types/InputBotInlineResult.md create mode 100644 docs/API_docs/types/InputChannel.md create mode 100644 docs/API_docs/types/InputChatPhoto.md create mode 100644 docs/API_docs/types/InputContact.md create mode 100644 docs/API_docs/types/InputDocument.md create mode 100644 docs/API_docs/types/InputEncryptedChat.md create mode 100644 docs/API_docs/types/InputEncryptedFile.md create mode 100644 docs/API_docs/types/InputFile.md create mode 100644 docs/API_docs/types/InputFileLocation.md create mode 100644 docs/API_docs/types/InputGame.md create mode 100644 docs/API_docs/types/InputGeoPoint.md create mode 100644 docs/API_docs/types/InputMedia.md create mode 100644 docs/API_docs/types/InputNotifyPeer.md create mode 100644 docs/API_docs/types/InputPeer.md create mode 100644 docs/API_docs/types/InputPeerNotifyEvents.md create mode 100644 docs/API_docs/types/InputPeerNotifySettings.md create mode 100644 docs/API_docs/types/InputPhoto.md create mode 100644 docs/API_docs/types/InputPrivacyKey.md create mode 100644 docs/API_docs/types/InputPrivacyRule.md create mode 100644 docs/API_docs/types/InputStickerSet.md create mode 100644 docs/API_docs/types/InputStickeredMedia.md create mode 100644 docs/API_docs/types/InputUser.md create mode 100644 docs/API_docs/types/KeyboardButton.md create mode 100644 docs/API_docs/types/KeyboardButtonRow.md create mode 100644 docs/API_docs/types/MaskCoords.md create mode 100644 docs/API_docs/types/Message.md create mode 100644 docs/API_docs/types/MessageAction.md create mode 100644 docs/API_docs/types/MessageEntity.md create mode 100644 docs/API_docs/types/MessageFwdHeader.md create mode 100644 docs/API_docs/types/MessageMedia.md create mode 100644 docs/API_docs/types/MessageRange.md create mode 100644 docs/API_docs/types/MessagesFilter.md create mode 100644 docs/API_docs/types/NearestDc.md create mode 100644 docs/API_docs/types/NotifyPeer.md create mode 100644 docs/API_docs/types/Null.md create mode 100644 docs/API_docs/types/Peer.md create mode 100644 docs/API_docs/types/PeerNotifyEvents.md create mode 100644 docs/API_docs/types/PeerNotifySettings.md create mode 100644 docs/API_docs/types/PeerSettings.md create mode 100644 docs/API_docs/types/Photo.md create mode 100644 docs/API_docs/types/PhotoSize.md create mode 100644 docs/API_docs/types/PrivacyKey.md create mode 100644 docs/API_docs/types/PrivacyRule.md create mode 100644 docs/API_docs/types/ReceivedNotifyMessage.md create mode 100644 docs/API_docs/types/ReplyMarkup.md create mode 100644 docs/API_docs/types/ReportReason.md create mode 100644 docs/API_docs/types/SendMessageAction.md create mode 100644 docs/API_docs/types/StickerPack.md create mode 100644 docs/API_docs/types/StickerSet.md create mode 100644 docs/API_docs/types/StickerSetCovered.md create mode 100644 docs/API_docs/types/TopPeer.md create mode 100644 docs/API_docs/types/TopPeerCategory.md create mode 100644 docs/API_docs/types/TopPeerCategoryPeers.md create mode 100644 docs/API_docs/types/True.md create mode 100644 docs/API_docs/types/Update.md create mode 100644 docs/API_docs/types/Updates.md create mode 100644 docs/API_docs/types/User.md create mode 100644 docs/API_docs/types/UserFull.md create mode 100644 docs/API_docs/types/UserProfilePhoto.md create mode 100644 docs/API_docs/types/UserStatus.md create mode 100644 docs/API_docs/types/Vector t.md create mode 100644 docs/API_docs/types/WallPaper.md create mode 100644 docs/API_docs/types/WebPage.md create mode 100644 docs/API_docs/types/X.md create mode 100644 docs/API_docs/types/account_Authorizations.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/auth_Authorization.md create mode 100644 docs/API_docs/types/auth_CheckedPhone.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 create mode 100644 docs/API_docs/types/bytes.md create mode 100644 docs/API_docs/types/channels_ChannelParticipant.md create 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_Link.md create mode 100644 docs/API_docs/types/contacts_ResolvedPeer.md create mode 100644 docs/API_docs/types/contacts_TopPeers.md create mode 100644 docs/API_docs/types/double.md create mode 100644 docs/API_docs/types/help_AppChangelog.md create mode 100644 docs/API_docs/types/help_AppUpdate.md create mode 100644 docs/API_docs/types/help_InviteText.md create mode 100644 docs/API_docs/types/help_Support.md create mode 100644 docs/API_docs/types/help_TermsOfService.md create mode 100644 docs/API_docs/types/index.md create mode 100644 docs/API_docs/types/int.md create mode 100644 docs/API_docs/types/long.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_FeaturedStickers.md create mode 100644 docs/API_docs/types/messages_FoundGifs.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_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 create mode 100644 docs/API_docs/types/photos_Photo.md create mode 100644 docs/API_docs/types/photos_Photos.md create mode 100644 docs/API_docs/types/storage_FileType.md create mode 100644 docs/API_docs/types/string.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 create mode 100644 docs/API_docs/types/upload_File.md create mode 100644 docs/index.md delete mode 100644 src/danog/MadelineProto/MTProtoTools.php diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 00000000..9fedbf8e --- /dev/null +++ b/Caddyfile @@ -0,0 +1,4 @@ +http://localhost { + root docs/ + markdown +} diff --git a/README.md b/README.md index 58c34a75..8921b0b8 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Also note that MadelineProto will perform better if a big math extension like gm This project is in beta state. +The API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). ## Usage @@ -171,7 +172,7 @@ var_dump($MadelineProto->API->settings); ### Calling mtproto methods and available wrappers -A list of mtproto methods can be found [here](https://tjhorner.com/tl-schema/#functions). +The API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). To call an MTProto method simply call it as if it is a method of the API class, substitute namespace sepators (.) with -> if needed: ``` $MadelineProto = new \danog\MadelineProto\API(); @@ -225,6 +226,7 @@ MadelineProto can throw three different exceptions: You can use this scheme of the structure of this project to help yourself: ``` +build_docs.php - Builds API docs from TL scheme files src/danog/MadelineProto/ MTProtoTools/ AckHandler - Handles acknowledgement of incoming and outgoing mtproto messages @@ -249,8 +251,7 @@ src/danog/MadelineProto/ DebugTools - Various debugging tools Exception - Handles exceptions and PHP errors RPCErrorException - Handles RPC errors - MTProto - Extends MTProtoTools, handles initial connection, generation of authorization keys, instantiation of classes, writing of client info - MTProtoTools - Extends all of the classes in MTProtoTools/ + MTProto - Handles initial connection, generation of authorization keys, instantiation of classes, writing of client info Logger - Static logging class prime.py and getpq.py - prime module (python) for p and q generation PrimeModule.php - prime module (php) for p and q generation by wrapping the python module, using wolfram alpha or a built in PHP engine diff --git a/build_docs.php b/build_docs.php new file mode 100755 index 00000000..8a96d913 --- /dev/null +++ b/build_docs.php @@ -0,0 +1,365 @@ +#!/usr/bin/env php +. +*/ + +require_once 'vendor/autoload.php'; + +$mode = 3; +\danog\MadelineProto\Logger::constructor($mode); + +$TL = new \danog\MadelineProto\TL\TL([ + //'mtproto' => __DIR__.'/src/danog/MadelineProto/TL_mtproto_v1.json', // mtproto TL scheme + 'telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v57.json', // telegram TL scheme +]); + +\danog\MadelineProto\Logger::log('Copying readme...'); + +copy('README.md', 'docs/index.md'); + +chdir(__DIR__.'/docs/API_docs'); + +\danog\MadelineProto\Logger::log('Generating documentation index...'); + +file_put_contents('index.md', '# MadelineProto API documentation (layer 57) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + +'); + +foreach (glob('methods/*') as $unlink) { + unlink($unlink); +} + +if (file_exists('methods')) { + rmdir('methods'); +} + +mkdir('methods'); + +$methods = []; + + +$types = []; +\danog\MadelineProto\Logger::log('Generating methods documentation...'); + +foreach ($TL->methods->method as $key => $method) { + $type = str_replace(['.', '<', '>'], ['_', '_of_', ''], $TL->methods->type[$key]); + $real_type = preg_replace('/.*_of_/', '', $type); + + + $params = ''; + foreach ($TL->methods->params[$key] as $param) { + if ($param['name'] == 'flags') continue; + $stype = 'type'; + $link_type = 'types'; + if (isset($param['subtype'])) { + $stype = 'subtype'; + if ($param['type'] == 'vector') { + $link_type = 'constructors'; + } + } + $ptype = str_replace('.', '_', $param[$stype]); + switch ($ptype) { + case 'true': + case 'false': + $ptype = 'Bool'; + } + $params .= "'".$param['name'] . "' => "; + $params .= (isset($param['subtype']) ? '[' : '') . '['.$ptype.'](../'.$link_type.'/'.$ptype.'.md)'.(isset($param['subtype']) ? ']' : '').', '; + } + $methods [$method]= str_replace(['_', '\[\]'],['\_', ''], '$MadelineProto->['.str_replace('.', '->', $method).']('.$method.'.md)(\['.$params.'\]) == [$'.$type.'](../types/'.$real_type.'.md); + +'); + + + $params = ''; + $table = '| Name | Type | Required | +|----------|:-------------:|---------:| +'; + foreach ($TL->methods->params[$key] as $param) { + if ($param['name'] == 'flags') continue; + $ptype = str_replace('.', '_', $param[isset($param['subtype']) ? 'subtype' : 'type']); + switch ($ptype) { + case 'true': + case 'false': + $ptype = 'Bool'; + } + $table .= '|'.$param['name'] . '|' . (isset($param['subtype']) ? 'Array of ' : ''). '['.$ptype.'](../types/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'| +'; + + $params .= "'".$param['name'] . "' => "; + $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; + + } + $example = str_replace('[]', '', ' +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo \'Enter the code you received: \'; + $code = \'\'; + for ($x = 0; $x < $sentCode[\'type\'][\'length\']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$'.$type.' = $MadelineProto->'.str_replace('.', '->', $method).'(['.$params.']); +```'); + $header = str_replace('_', '\_', '## Method: '.$method.' + +### Parameters: + +'.$table.' + +### Return type: ['.$type.'](../types/'.$real_type.'.md) + +### Example: + +'); + file_put_contents('methods/'.$method.'.md', $header.$example); +} + +\danog\MadelineProto\Logger::log('Generating methods index...'); + +ksort($methods); +file_put_contents('methods/index.md', '# Methods + + +
+'.join('', $methods).'
'); + + + +foreach (glob('constructors/*') as $unlink) { + unlink($unlink); +} + +if (file_exists('constructors')) { + rmdir('constructors'); +} + +mkdir('constructors'); + +$constructors = []; + +\danog\MadelineProto\Logger::log('Generating constructors documentation...'); + +foreach ($TL->constructors->predicate as $key => $constructor) { + $constructor = str_replace('.', '_', $constructor); + + $type = str_replace(['.', '<', '>'], ['_', '_of_', ''], $TL->constructors->type[$key]); + $real_type = preg_replace('/.*_of_/', '', $type); + + $params = ''; + foreach ($TL->constructors->params[$key] as $param) { + if ($param['name'] == 'flags') continue; + $stype = 'type'; + $link_type = 'types'; + if (isset($param['subtype'])) { + $stype = 'subtype'; + if ($param['type'] == 'vector') { + $link_type = 'constructors'; + } + } + + + $ptype = str_replace('.', '_', $param[$stype]); + switch ($ptype) { + case 'true': + case 'false': + $ptype = 'Bool'; + } + $params .= "'".$param['name'] . "' => "; + $params .= (isset($param['subtype']) ? '[' : '') . '['.$ptype.'](../'.$link_type.'/'.$ptype.'.md)'.(isset($param['subtype']) ? ']' : '').', '; + } + + $constructors [$constructor]= str_replace(['_', '\[\]'],['\_', ''], '[$'.$real_type.'](../types/'.$real_type.'.md)\[\'['.str_replace('.', '->', $constructor).']('.$constructor.'.md)\'\] = \['.$params.'\] + +'); + + + if (!isset($types[$real_type])) { + $types[$real_type] = []; + } + if (!in_array($key, $types[$real_type])) { + $types[$real_type][] = $key; + } + + $params = ''; + $table = '| Name | Type | Required | +|----------|:-------------:|---------:| +'; + foreach ($TL->constructors->params[$key] as $param) { + if ($param['name'] == 'flags') continue; + $ptype = str_replace('.', '_', $param[isset($param['subtype']) ? 'subtype' : 'type']); + + $link_type = 'types'; + if (isset($param['subtype'])) { + if ($param['type'] == 'vector') { + $link_type = 'constructors'; + } + } + switch ($ptype) { + case 'true': + case 'false': + $ptype = 'Bool'; + } + $table .= '|'.$param['name'] . '|' . (isset($param['subtype']) ? 'Array of ' : ''). '['.$ptype.'](../'.$link_type.'/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'| +'; + + $params .= "'".$param['name'] . "' => "; + $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; + + } + $example = str_replace('[]', '', ' +``` +$'.$constructor.' = ['.$params.']; +```'); + $header = str_replace('_', '\_', '## Constructor: '.$constructor.' + +### Attributes: + +'.$table.' + +### Type: ['.$real_type.'](../types/'.$real_type.'.md) + +### Example: + +'); + file_put_contents('constructors/'.$constructor.'.md', $header.$example); +} + + +\danog\MadelineProto\Logger::log('Generating constructors index...'); + +ksort($constructors); +file_put_contents('constructors/index.md', '# Constructors + + +
+'.join('', $constructors).'
'); + + +foreach (glob('types/*') as $unlink) { + unlink($unlink); +} + +if (file_exists('types')) { + rmdir('types'); +} +mkdir('types'); + +ksort($types); +$index = ''; + +\danog\MadelineProto\Logger::log('Generating types documentation...'); + +foreach ($types as $type => $keys) { + $index .= '['.$type.']('.$type.'.md) + +'; + $constructors = ''; + foreach ($keys as $key) { + $predicate = str_replace('.', '_', $TL->constructors->predicate[$key]); + $constructors .= '['.$predicate.'](../constructors/'.$predicate.'.md) + +'; + } + $header = str_replace('_', '\_', '## Type: '.$type.' + +### Constructors: + + +
+'.$constructors.'
'); + file_put_contents('types/'.$type.'.md', $header); +} + + +\danog\MadelineProto\Logger::log('Generating additional types...'); + +file_put_contents('types/string.md', '## Type: string + +A string of variable length.'); + +file_put_contents('types/bytes.md', '## Type: bytes + +A string of variable length.'); + +file_put_contents('types/int.md', '## Type: int + +A 32 bit signed integer ranging from -2147483647 to 2147483647.'); + +file_put_contents('types/long.md', '## Type: long + +A 64 bit signed integer ranging from -9223372036854775807 to 9223372036854775807.'); + +file_put_contents('types/double.md', '## Type: double + +A double precision number, single precision can also be used (float).'); + +file_put_contents('types/!X.md', '## Type: !X + +Represents a TL serialized payload.'); + +file_put_contents('types/X.md', '## Type: X + +Represents a TL serialized payload.'); + +\danog\MadelineProto\Logger::log('Generating types index...'); + +file_put_contents('types/index.md', '# Types + +
+'.$index.'
'); + +\danog\MadelineProto\Logger::log('Done!'); diff --git a/docs/API_docs/constructors/accountDaysTTL.md b/docs/API_docs/constructors/accountDaysTTL.md new file mode 100644 index 00000000..fd6da7c7 --- /dev/null +++ b/docs/API_docs/constructors/accountDaysTTL.md @@ -0,0 +1,17 @@ +## Constructor: accountDaysTTL + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$accountDaysTTL = ['days' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md new file mode 100644 index 00000000..5509c60c --- /dev/null +++ b/docs/API_docs/constructors/account_authorizations.md @@ -0,0 +1,17 @@ +## Constructor: account\_authorizations + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + +### Type: [account\_Authorizations](../types/account\_Authorizations.md) + +### Example: + + +``` +$account_authorizations = ['authorizations' => [Authorization], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_noPassword.md b/docs/API_docs/constructors/account_noPassword.md new file mode 100644 index 00000000..61691296 --- /dev/null +++ b/docs/API_docs/constructors/account_noPassword.md @@ -0,0 +1,18 @@ +## Constructor: account\_noPassword + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + +### Type: [account\_Password](../types/account\_Password.md) + +### Example: + + +``` +$account_noPassword = ['new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md new file mode 100644 index 00000000..1a35c462 --- /dev/null +++ b/docs/API_docs/constructors/account_password.md @@ -0,0 +1,21 @@ +## Constructor: account\_password + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + +### Type: [account\_Password](../types/account\_Password.md) + +### Example: + + +``` +$account_password = ['current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..4bbe7bef --- /dev/null +++ b/docs/API_docs/constructors/account_passwordInputSettings.md @@ -0,0 +1,20 @@ +## Constructor: account\_passwordInputSettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + +### Type: [account\_PasswordInputSettings](../types/account\_PasswordInputSettings.md) + +### Example: + + +``` +$account_passwordInputSettings = ['new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md new file mode 100644 index 00000000..1040d935 --- /dev/null +++ b/docs/API_docs/constructors/account_passwordSettings.md @@ -0,0 +1,17 @@ +## Constructor: account\_passwordSettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + +### Type: [account\_PasswordSettings](../types/account\_PasswordSettings.md) + +### Example: + + +``` +$account_passwordSettings = ['email' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md new file mode 100644 index 00000000..07b15b0e --- /dev/null +++ b/docs/API_docs/constructors/account_privacyRules.md @@ -0,0 +1,18 @@ +## Constructor: account\_privacyRules + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [account\_PrivacyRules](../types/account\_PrivacyRules.md) + +### Example: + + +``` +$account_privacyRules = ['rules' => [PrivacyRule], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md new file mode 100644 index 00000000..41f98a43 --- /dev/null +++ b/docs/API_docs/constructors/auth_authorization.md @@ -0,0 +1,18 @@ +## Constructor: auth\_authorization + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|tmp\_sessions|[int](../types/int.md) | Optional| +|user|[User](../types/User.md) | Required| + + +### Type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$auth_authorization = ['tmp_sessions' => int, 'user' => User, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_checkedPhone.md b/docs/API_docs/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..0d3e72ea --- /dev/null +++ b/docs/API_docs/constructors/auth_checkedPhone.md @@ -0,0 +1,17 @@ +## Constructor: auth\_checkedPhone + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + +### Type: [auth\_CheckedPhone](../types/auth\_CheckedPhone.md) + +### Example: + + +``` +$auth_checkedPhone = ['phone_registered' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_codeTypeCall.md b/docs/API_docs/constructors/auth_codeTypeCall.md new file mode 100644 index 00000000..1e86a451 --- /dev/null +++ b/docs/API_docs/constructors/auth_codeTypeCall.md @@ -0,0 +1,16 @@ +## Constructor: auth\_codeTypeCall + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [auth\_CodeType](../types/auth\_CodeType.md) + +### Example: + + +``` +$auth_codeTypeCall = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md new file mode 100644 index 00000000..1d552479 --- /dev/null +++ b/docs/API_docs/constructors/auth_codeTypeFlashCall.md @@ -0,0 +1,16 @@ +## Constructor: auth\_codeTypeFlashCall + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [auth\_CodeType](../types/auth\_CodeType.md) + +### Example: + + +``` +$auth_codeTypeFlashCall = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md new file mode 100644 index 00000000..4ad802f2 --- /dev/null +++ b/docs/API_docs/constructors/auth_codeTypeSms.md @@ -0,0 +1,16 @@ +## Constructor: auth\_codeTypeSms + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [auth\_CodeType](../types/auth\_CodeType.md) + +### Example: + + +``` +$auth_codeTypeSms = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..c62e44d9 --- /dev/null +++ b/docs/API_docs/constructors/auth_exportedAuthorization.md @@ -0,0 +1,18 @@ +## Constructor: auth\_exportedAuthorization + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Type: [auth\_ExportedAuthorization](../types/auth\_ExportedAuthorization.md) + +### Example: + + +``` +$auth_exportedAuthorization = ['id' => int, 'bytes' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_passwordRecovery.md b/docs/API_docs/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..481fdf73 --- /dev/null +++ b/docs/API_docs/constructors/auth_passwordRecovery.md @@ -0,0 +1,17 @@ +## Constructor: auth\_passwordRecovery + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + +### Type: [auth\_PasswordRecovery](../types/auth\_PasswordRecovery.md) + +### Example: + + +``` +$auth_passwordRecovery = ['email_pattern' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md new file mode 100644 index 00000000..bc3c8af8 --- /dev/null +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -0,0 +1,21 @@ +## Constructor: auth\_sentCode + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Optional| +|type|[auth\_SentCodeType](../types/auth\_SentCodeType.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|next\_type|[auth\_CodeType](../types/auth\_CodeType.md) | Optional| +|timeout|[int](../types/int.md) | Optional| + + +### Type: [auth\_SentCode](../types/auth\_SentCode.md) + +### Example: + + +``` +$auth_sentCode = ['phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md new file mode 100644 index 00000000..176bd841 --- /dev/null +++ b/docs/API_docs/constructors/auth_sentCodeTypeApp.md @@ -0,0 +1,17 @@ +## Constructor: auth\_sentCodeTypeApp + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + +### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md) + +### Example: + + +``` +$auth_sentCodeTypeApp = ['length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_sentCodeTypeCall.md b/docs/API_docs/constructors/auth_sentCodeTypeCall.md new file mode 100644 index 00000000..ef458fd0 --- /dev/null +++ b/docs/API_docs/constructors/auth_sentCodeTypeCall.md @@ -0,0 +1,17 @@ +## Constructor: auth\_sentCodeTypeCall + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + +### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md) + +### Example: + + +``` +$auth_sentCodeTypeCall = ['length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md new file mode 100644 index 00000000..28cddfbc --- /dev/null +++ b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md @@ -0,0 +1,17 @@ +## Constructor: auth\_sentCodeTypeFlashCall + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pattern|[string](../types/string.md) | Required| + + +### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md) + +### Example: + + +``` +$auth_sentCodeTypeFlashCall = ['pattern' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/auth_sentCodeTypeSms.md b/docs/API_docs/constructors/auth_sentCodeTypeSms.md new file mode 100644 index 00000000..696ac311 --- /dev/null +++ b/docs/API_docs/constructors/auth_sentCodeTypeSms.md @@ -0,0 +1,17 @@ +## Constructor: auth\_sentCodeTypeSms + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + +### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md) + +### Example: + + +``` +$auth_sentCodeTypeSms = ['length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/authorization.md b/docs/API_docs/constructors/authorization.md new file mode 100644 index 00000000..7b9330f0 --- /dev/null +++ b/docs/API_docs/constructors/authorization.md @@ -0,0 +1,28 @@ +## Constructor: authorization + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + +### Type: [Authorization](../types/Authorization.md) + +### Example: + + +``` +$authorization = ['hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/boolFalse.md b/docs/API_docs/constructors/boolFalse.md new file mode 100644 index 00000000..88df6a96 --- /dev/null +++ b/docs/API_docs/constructors/boolFalse.md @@ -0,0 +1,16 @@ +## Constructor: boolFalse + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Bool](../types/Bool.md) + +### Example: + + +``` +$boolFalse = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/boolTrue.md b/docs/API_docs/constructors/boolTrue.md new file mode 100644 index 00000000..01ce1696 --- /dev/null +++ b/docs/API_docs/constructors/boolTrue.md @@ -0,0 +1,16 @@ +## Constructor: boolTrue + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Bool](../types/Bool.md) + +### Example: + + +``` +$boolTrue = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botCommand.md b/docs/API_docs/constructors/botCommand.md new file mode 100644 index 00000000..8900ef2d --- /dev/null +++ b/docs/API_docs/constructors/botCommand.md @@ -0,0 +1,18 @@ +## Constructor: botCommand + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + +### Type: [BotCommand](../types/BotCommand.md) + +### Example: + + +``` +$botCommand = ['command' => string, 'description' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInfo.md b/docs/API_docs/constructors/botInfo.md new file mode 100644 index 00000000..755f5b24 --- /dev/null +++ b/docs/API_docs/constructors/botInfo.md @@ -0,0 +1,19 @@ +## Constructor: botInfo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + +### Type: [BotInfo](../types/BotInfo.md) + +### Example: + + +``` +$botInfo = ['user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMediaResult.md b/docs/API_docs/constructors/botInlineMediaResult.md new file mode 100644 index 00000000..5a313bd7 --- /dev/null +++ b/docs/API_docs/constructors/botInlineMediaResult.md @@ -0,0 +1,23 @@ +## Constructor: botInlineMediaResult + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Optional| +|document|[Document](../types/Document.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + +### Example: + + +``` +$botInlineMediaResult = ['id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMessageMediaAuto.md b/docs/API_docs/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..56896873 --- /dev/null +++ b/docs/API_docs/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,18 @@ +## Constructor: botInlineMessageMediaAuto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + +### Example: + + +``` +$botInlineMessageMediaAuto = ['caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMessageMediaContact.md b/docs/API_docs/constructors/botInlineMessageMediaContact.md new file mode 100644 index 00000000..9532baca --- /dev/null +++ b/docs/API_docs/constructors/botInlineMessageMediaContact.md @@ -0,0 +1,20 @@ +## Constructor: botInlineMessageMediaContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + +### Example: + + +``` +$botInlineMessageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMessageMediaGeo.md b/docs/API_docs/constructors/botInlineMessageMediaGeo.md new file mode 100644 index 00000000..f946f4cc --- /dev/null +++ b/docs/API_docs/constructors/botInlineMessageMediaGeo.md @@ -0,0 +1,18 @@ +## Constructor: botInlineMessageMediaGeo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + +### Example: + + +``` +$botInlineMessageMediaGeo = ['geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMessageMediaVenue.md b/docs/API_docs/constructors/botInlineMessageMediaVenue.md new file mode 100644 index 00000000..f4fcef5b --- /dev/null +++ b/docs/API_docs/constructors/botInlineMessageMediaVenue.md @@ -0,0 +1,22 @@ +## Constructor: botInlineMessageMediaVenue + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + +### Example: + + +``` +$botInlineMessageMediaVenue = ['geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md new file mode 100644 index 00000000..c5b91f30 --- /dev/null +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -0,0 +1,20 @@ +## Constructor: botInlineMessageText + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + +### Example: + + +``` +$botInlineMessageText = ['no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/botInlineResult.md b/docs/API_docs/constructors/botInlineResult.md new file mode 100644 index 00000000..3d6b0ab1 --- /dev/null +++ b/docs/API_docs/constructors/botInlineResult.md @@ -0,0 +1,28 @@ +## Constructor: botInlineResult + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + +### Example: + + +``` +$botInlineResult = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channel.md b/docs/API_docs/constructors/channel.md new file mode 100644 index 00000000..342d3cf1 --- /dev/null +++ b/docs/API_docs/constructors/channel.md @@ -0,0 +1,36 @@ +## Constructor: channel + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|democracy|[Bool](../types/Bool.md) | Optional| +|signatures|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + +### Type: [Chat](../types/Chat.md) + +### Example: + + +``` +$channel = ['creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md new file mode 100644 index 00000000..740872fe --- /dev/null +++ b/docs/API_docs/constructors/channelForbidden.md @@ -0,0 +1,21 @@ +## Constructor: channelForbidden + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Type: [Chat](../types/Chat.md) + +### Example: + + +``` +$channelForbidden = ['broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md new file mode 100644 index 00000000..dc67d823 --- /dev/null +++ b/docs/API_docs/constructors/channelFull.md @@ -0,0 +1,33 @@ +## Constructor: channelFull + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|can\_set\_username|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| +|pinned\_msg\_id|[int](../types/int.md) | Optional| + + +### Type: [ChatFull](../types/ChatFull.md) + +### Example: + + +``` +$channelFull = ['can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..96d45b1e --- /dev/null +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -0,0 +1,18 @@ +## Constructor: channelMessagesFilter + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + +### Example: + + +``` +$channelMessagesFilter = ['exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelMessagesFilterEmpty.md b/docs/API_docs/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..f75a3c2e --- /dev/null +++ b/docs/API_docs/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,16 @@ +## Constructor: channelMessagesFilterEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + +### Example: + + +``` +$channelMessagesFilterEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipant.md b/docs/API_docs/constructors/channelParticipant.md new file mode 100644 index 00000000..34faac9d --- /dev/null +++ b/docs/API_docs/constructors/channelParticipant.md @@ -0,0 +1,18 @@ +## Constructor: channelParticipant + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipant = ['user_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantCreator.md b/docs/API_docs/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..a377d041 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantCreator.md @@ -0,0 +1,17 @@ +## Constructor: channelParticipantCreator + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipantCreator = ['user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantEditor.md b/docs/API_docs/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..245a8cc9 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantEditor.md @@ -0,0 +1,19 @@ +## Constructor: channelParticipantEditor + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipantEditor = ['user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantKicked.md b/docs/API_docs/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..e7081f92 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantKicked.md @@ -0,0 +1,19 @@ +## Constructor: channelParticipantKicked + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipantKicked = ['user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantModerator.md b/docs/API_docs/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..8ff1415f --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantModerator.md @@ -0,0 +1,19 @@ +## Constructor: channelParticipantModerator + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipantModerator = ['user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantSelf.md b/docs/API_docs/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..f084f6b0 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantSelf.md @@ -0,0 +1,19 @@ +## Constructor: channelParticipantSelf + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + +### Example: + + +``` +$channelParticipantSelf = ['user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantsAdmins.md b/docs/API_docs/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..1135a578 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantsAdmins.md @@ -0,0 +1,16 @@ +## Constructor: channelParticipantsAdmins + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + +### Example: + + +``` +$channelParticipantsAdmins = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantsBots.md b/docs/API_docs/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..e4707f09 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantsBots.md @@ -0,0 +1,16 @@ +## Constructor: channelParticipantsBots + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + +### Example: + + +``` +$channelParticipantsBots = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantsKicked.md b/docs/API_docs/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..d704c68a --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantsKicked.md @@ -0,0 +1,16 @@ +## Constructor: channelParticipantsKicked + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + +### Example: + + +``` +$channelParticipantsKicked = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelParticipantsRecent.md b/docs/API_docs/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..53470379 --- /dev/null +++ b/docs/API_docs/constructors/channelParticipantsRecent.md @@ -0,0 +1,16 @@ +## Constructor: channelParticipantsRecent + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + +### Example: + + +``` +$channelParticipantsRecent = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelRoleEditor.md b/docs/API_docs/constructors/channelRoleEditor.md new file mode 100644 index 00000000..a92aeed6 --- /dev/null +++ b/docs/API_docs/constructors/channelRoleEditor.md @@ -0,0 +1,16 @@ +## Constructor: channelRoleEditor + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + +### Example: + + +``` +$channelRoleEditor = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelRoleEmpty.md b/docs/API_docs/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..7c3a8df6 --- /dev/null +++ b/docs/API_docs/constructors/channelRoleEmpty.md @@ -0,0 +1,16 @@ +## Constructor: channelRoleEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + +### Example: + + +``` +$channelRoleEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelRoleModerator.md b/docs/API_docs/constructors/channelRoleModerator.md new file mode 100644 index 00000000..c4e1efa1 --- /dev/null +++ b/docs/API_docs/constructors/channelRoleModerator.md @@ -0,0 +1,16 @@ +## Constructor: channelRoleModerator + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + +### Example: + + +``` +$channelRoleModerator = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channels_channelParticipant.md b/docs/API_docs/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..8464d33c --- /dev/null +++ b/docs/API_docs/constructors/channels_channelParticipant.md @@ -0,0 +1,18 @@ +## Constructor: channels\_channelParticipant + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [channels\_ChannelParticipant](../types/channels\_ChannelParticipant.md) + +### Example: + + +``` +$channels_channelParticipant = ['participant' => ChannelParticipant, 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channels_channelParticipants.md b/docs/API_docs/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..c9ea2db0 --- /dev/null +++ b/docs/API_docs/constructors/channels_channelParticipants.md @@ -0,0 +1,19 @@ +## Constructor: channels\_channelParticipants + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [channels\_ChannelParticipants](../types/channels\_ChannelParticipants.md) + +### Example: + + +``` +$channels_channelParticipants = ['count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md new file mode 100644 index 00000000..e58737f3 --- /dev/null +++ b/docs/API_docs/constructors/chat.md @@ -0,0 +1,29 @@ +## Constructor: chat + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + +### Type: [Chat](../types/Chat.md) + +### Example: + + +``` +$chat = ['creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatEmpty.md b/docs/API_docs/constructors/chatEmpty.md new file mode 100644 index 00000000..259ef9f9 --- /dev/null +++ b/docs/API_docs/constructors/chatEmpty.md @@ -0,0 +1,17 @@ +## Constructor: chatEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [Chat](../types/Chat.md) + +### Example: + + +``` +$chatEmpty = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatForbidden.md b/docs/API_docs/constructors/chatForbidden.md new file mode 100644 index 00000000..d133bf9a --- /dev/null +++ b/docs/API_docs/constructors/chatForbidden.md @@ -0,0 +1,18 @@ +## Constructor: chatForbidden + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Type: [Chat](../types/Chat.md) + +### Example: + + +``` +$chatForbidden = ['id' => int, 'title' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatFull.md b/docs/API_docs/constructors/chatFull.md new file mode 100644 index 00000000..49438aa3 --- /dev/null +++ b/docs/API_docs/constructors/chatFull.md @@ -0,0 +1,22 @@ +## Constructor: chatFull + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + +### Type: [ChatFull](../types/ChatFull.md) + +### Example: + + +``` +$chatFull = ['id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md new file mode 100644 index 00000000..83daad05 --- /dev/null +++ b/docs/API_docs/constructors/chatInvite.md @@ -0,0 +1,24 @@ +## Constructor: chatInvite + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|participants|Array of [User](../types/User.md) | Optional| + + +### Type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$chatInvite = ['channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatInviteAlready.md b/docs/API_docs/constructors/chatInviteAlready.md new file mode 100644 index 00000000..00eb456f --- /dev/null +++ b/docs/API_docs/constructors/chatInviteAlready.md @@ -0,0 +1,17 @@ +## Constructor: chatInviteAlready + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + +### Type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$chatInviteAlready = ['chat' => Chat, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatInviteEmpty.md b/docs/API_docs/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..ffa1c438 --- /dev/null +++ b/docs/API_docs/constructors/chatInviteEmpty.md @@ -0,0 +1,16 @@ +## Constructor: chatInviteEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$chatInviteEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatInviteExported.md b/docs/API_docs/constructors/chatInviteExported.md new file mode 100644 index 00000000..871db7ac --- /dev/null +++ b/docs/API_docs/constructors/chatInviteExported.md @@ -0,0 +1,17 @@ +## Constructor: chatInviteExported + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$chatInviteExported = ['link' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatParticipant.md b/docs/API_docs/constructors/chatParticipant.md new file mode 100644 index 00000000..61852243 --- /dev/null +++ b/docs/API_docs/constructors/chatParticipant.md @@ -0,0 +1,19 @@ +## Constructor: chatParticipant + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + +### Example: + + +``` +$chatParticipant = ['user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatParticipantAdmin.md b/docs/API_docs/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..e3c76175 --- /dev/null +++ b/docs/API_docs/constructors/chatParticipantAdmin.md @@ -0,0 +1,19 @@ +## Constructor: chatParticipantAdmin + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + +### Example: + + +``` +$chatParticipantAdmin = ['user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatParticipantCreator.md b/docs/API_docs/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..5cac1d5a --- /dev/null +++ b/docs/API_docs/constructors/chatParticipantCreator.md @@ -0,0 +1,17 @@ +## Constructor: chatParticipantCreator + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + +### Example: + + +``` +$chatParticipantCreator = ['user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatParticipants.md b/docs/API_docs/constructors/chatParticipants.md new file mode 100644 index 00000000..cba9f8b6 --- /dev/null +++ b/docs/API_docs/constructors/chatParticipants.md @@ -0,0 +1,19 @@ +## Constructor: chatParticipants + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + +### Example: + + +``` +$chatParticipants = ['chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatParticipantsForbidden.md b/docs/API_docs/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..996c7ac7 --- /dev/null +++ b/docs/API_docs/constructors/chatParticipantsForbidden.md @@ -0,0 +1,18 @@ +## Constructor: chatParticipantsForbidden + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + +### Example: + + +``` +$chatParticipantsForbidden = ['chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatPhoto.md b/docs/API_docs/constructors/chatPhoto.md new file mode 100644 index 00000000..59d996e3 --- /dev/null +++ b/docs/API_docs/constructors/chatPhoto.md @@ -0,0 +1,18 @@ +## Constructor: chatPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + +### Example: + + +``` +$chatPhoto = ['photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatPhotoEmpty.md b/docs/API_docs/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..be3568e6 --- /dev/null +++ b/docs/API_docs/constructors/chatPhotoEmpty.md @@ -0,0 +1,16 @@ +## Constructor: chatPhotoEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + +### Example: + + +``` +$chatPhotoEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md new file mode 100644 index 00000000..f6d77832 --- /dev/null +++ b/docs/API_docs/constructors/config.md @@ -0,0 +1,39 @@ +## Constructor: config + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|edit\_time\_limit|[int](../types/int.md) | Required| +|rating\_e\_decay|[int](../types/int.md) | Required| +|stickers\_recent\_limit|[int](../types/int.md) | Required| +|tmp\_sessions|[int](../types/int.md) | Optional| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + +### Type: [Config](../types/Config.md) + +### Example: + + +``` +$config = ['date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [DisabledFeature], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contact.md b/docs/API_docs/constructors/contact.md new file mode 100644 index 00000000..0194062b --- /dev/null +++ b/docs/API_docs/constructors/contact.md @@ -0,0 +1,18 @@ +## Constructor: contact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + +### Type: [Contact](../types/Contact.md) + +### Example: + + +``` +$contact = ['user_id' => int, 'mutual' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactBlocked.md b/docs/API_docs/constructors/contactBlocked.md new file mode 100644 index 00000000..d27d4a3b --- /dev/null +++ b/docs/API_docs/constructors/contactBlocked.md @@ -0,0 +1,18 @@ +## Constructor: contactBlocked + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + +### Example: + + +``` +$contactBlocked = ['user_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactLinkContact.md b/docs/API_docs/constructors/contactLinkContact.md new file mode 100644 index 00000000..4a305cd9 --- /dev/null +++ b/docs/API_docs/constructors/contactLinkContact.md @@ -0,0 +1,16 @@ +## Constructor: contactLinkContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ContactLink](../types/ContactLink.md) + +### Example: + + +``` +$contactLinkContact = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactLinkHasPhone.md b/docs/API_docs/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..eb08e1c7 --- /dev/null +++ b/docs/API_docs/constructors/contactLinkHasPhone.md @@ -0,0 +1,16 @@ +## Constructor: contactLinkHasPhone + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ContactLink](../types/ContactLink.md) + +### Example: + + +``` +$contactLinkHasPhone = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactLinkNone.md b/docs/API_docs/constructors/contactLinkNone.md new file mode 100644 index 00000000..f6ba4605 --- /dev/null +++ b/docs/API_docs/constructors/contactLinkNone.md @@ -0,0 +1,16 @@ +## Constructor: contactLinkNone + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ContactLink](../types/ContactLink.md) + +### Example: + + +``` +$contactLinkNone = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactLinkUnknown.md b/docs/API_docs/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..388ce15c --- /dev/null +++ b/docs/API_docs/constructors/contactLinkUnknown.md @@ -0,0 +1,16 @@ +## Constructor: contactLinkUnknown + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ContactLink](../types/ContactLink.md) + +### Example: + + +``` +$contactLinkUnknown = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contactStatus.md b/docs/API_docs/constructors/contactStatus.md new file mode 100644 index 00000000..2ec808bc --- /dev/null +++ b/docs/API_docs/constructors/contactStatus.md @@ -0,0 +1,18 @@ +## Constructor: contactStatus + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + +### Type: [ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$contactStatus = ['user_id' => int, 'status' => UserStatus, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_blocked.md b/docs/API_docs/constructors/contacts_blocked.md new file mode 100644 index 00000000..1788f8cf --- /dev/null +++ b/docs/API_docs/constructors/contacts_blocked.md @@ -0,0 +1,18 @@ +## Constructor: contacts\_blocked + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_Blocked](../types/contacts\_Blocked.md) + +### Example: + + +``` +$contacts_blocked = ['blocked' => [ContactBlocked], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_blockedSlice.md b/docs/API_docs/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..fa870531 --- /dev/null +++ b/docs/API_docs/constructors/contacts_blockedSlice.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_blockedSlice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_Blocked](../types/contacts\_Blocked.md) + +### Example: + + +``` +$contacts_blockedSlice = ['count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_contacts.md b/docs/API_docs/constructors/contacts_contacts.md new file mode 100644 index 00000000..ba2178d4 --- /dev/null +++ b/docs/API_docs/constructors/contacts_contacts.md @@ -0,0 +1,18 @@ +## Constructor: contacts\_contacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_Contacts](../types/contacts\_Contacts.md) + +### Example: + + +``` +$contacts_contacts = ['contacts' => [Contact], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..ef0cc7cb --- /dev/null +++ b/docs/API_docs/constructors/contacts_contactsNotModified.md @@ -0,0 +1,16 @@ +## Constructor: contacts\_contactsNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [contacts\_Contacts](../types/contacts\_Contacts.md) + +### Example: + + +``` +$contacts_contactsNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md new file mode 100644 index 00000000..578a8699 --- /dev/null +++ b/docs/API_docs/constructors/contacts_found.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_found + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_Found](../types/contacts\_Found.md) + +### Example: + + +``` +$contacts_found = ['results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_importedContacts.md b/docs/API_docs/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..64be7e5e --- /dev/null +++ b/docs/API_docs/constructors/contacts_importedContacts.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_importedContacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_ImportedContacts](../types/contacts\_ImportedContacts.md) + +### Example: + + +``` +$contacts_importedContacts = ['imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_link.md b/docs/API_docs/constructors/contacts_link.md new file mode 100644 index 00000000..a980b66f --- /dev/null +++ b/docs/API_docs/constructors/contacts_link.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_link + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + +### Type: [contacts\_Link](../types/contacts\_Link.md) + +### Example: + + +``` +$contacts_link = ['my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_resolvedPeer.md b/docs/API_docs/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..afbb8631 --- /dev/null +++ b/docs/API_docs/constructors/contacts_resolvedPeer.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_resolvedPeer + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_ResolvedPeer](../types/contacts\_ResolvedPeer.md) + +### Example: + + +``` +$contacts_resolvedPeer = ['peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_topPeers.md b/docs/API_docs/constructors/contacts_topPeers.md new file mode 100644 index 00000000..dae490be --- /dev/null +++ b/docs/API_docs/constructors/contacts_topPeers.md @@ -0,0 +1,19 @@ +## Constructor: contacts\_topPeers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [contacts\_TopPeers](../types/contacts\_TopPeers.md) + +### Example: + + +``` +$contacts_topPeers = ['categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md new file mode 100644 index 00000000..169d970e --- /dev/null +++ b/docs/API_docs/constructors/contacts_topPeersNotModified.md @@ -0,0 +1,16 @@ +## Constructor: contacts\_topPeersNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [contacts\_TopPeers](../types/contacts\_TopPeers.md) + +### Example: + + +``` +$contacts_topPeersNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md new file mode 100644 index 00000000..54b0d37e --- /dev/null +++ b/docs/API_docs/constructors/dcOption.md @@ -0,0 +1,22 @@ +## Constructor: dcOption + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|tcpo\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + +### Type: [DcOption](../types/DcOption.md) + +### Example: + + +``` +$dcOption = ['ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md new file mode 100644 index 00000000..871e9cf3 --- /dev/null +++ b/docs/API_docs/constructors/dialog.md @@ -0,0 +1,24 @@ +## Constructor: dialog + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Optional| +|draft|[DraftMessage](../types/DraftMessage.md) | Optional| + + +### Type: [Dialog](../types/Dialog.md) + +### Example: + + +``` +$dialog = ['peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/disabledFeature.md b/docs/API_docs/constructors/disabledFeature.md new file mode 100644 index 00000000..a21226d3 --- /dev/null +++ b/docs/API_docs/constructors/disabledFeature.md @@ -0,0 +1,18 @@ +## Constructor: disabledFeature + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + +### Example: + + +``` +$disabledFeature = ['feature' => string, 'description' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/document.md b/docs/API_docs/constructors/document.md new file mode 100644 index 00000000..326d8f6f --- /dev/null +++ b/docs/API_docs/constructors/document.md @@ -0,0 +1,25 @@ +## Constructor: document + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + +### Type: [Document](../types/Document.md) + +### Example: + + +``` +$document = ['id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [DocumentAttribute], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeAnimated.md b/docs/API_docs/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..f2bbfe00 --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeAnimated.md @@ -0,0 +1,16 @@ +## Constructor: documentAttributeAnimated + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeAnimated = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..ee3f89da --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -0,0 +1,21 @@ +## Constructor: documentAttributeAudio + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|voice|[Bool](../types/Bool.md) | Optional| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Optional| +|performer|[string](../types/string.md) | Optional| +|waveform|[bytes](../types/bytes.md) | Optional| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeAudio = ['voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeFilename.md b/docs/API_docs/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..60b33cdf --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeFilename.md @@ -0,0 +1,17 @@ +## Constructor: documentAttributeFilename + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeFilename = ['file_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeHasStickers.md b/docs/API_docs/constructors/documentAttributeHasStickers.md new file mode 100644 index 00000000..6b39b80c --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeHasStickers.md @@ -0,0 +1,16 @@ +## Constructor: documentAttributeHasStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeHasStickers = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeImageSize.md b/docs/API_docs/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..3c18cae4 --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeImageSize.md @@ -0,0 +1,18 @@ +## Constructor: documentAttributeImageSize + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeImageSize = ['w' => int, 'h' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..946dd7db --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -0,0 +1,20 @@ +## Constructor: documentAttributeSticker + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mask|[Bool](../types/Bool.md) | Optional| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|mask\_coords|[MaskCoords](../types/MaskCoords.md) | Optional| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeSticker = ['mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentAttributeVideo.md b/docs/API_docs/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..8488ab40 --- /dev/null +++ b/docs/API_docs/constructors/documentAttributeVideo.md @@ -0,0 +1,19 @@ +## Constructor: documentAttributeVideo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + +### Example: + + +``` +$documentAttributeVideo = ['duration' => int, 'w' => int, 'h' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/documentEmpty.md b/docs/API_docs/constructors/documentEmpty.md new file mode 100644 index 00000000..3a370a89 --- /dev/null +++ b/docs/API_docs/constructors/documentEmpty.md @@ -0,0 +1,17 @@ +## Constructor: documentEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + +### Type: [Document](../types/Document.md) + +### Example: + + +``` +$documentEmpty = ['id' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md new file mode 100644 index 00000000..f004ddcb --- /dev/null +++ b/docs/API_docs/constructors/draftMessage.md @@ -0,0 +1,21 @@ +## Constructor: draftMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|date|[int](../types/int.md) | Required| + + +### Type: [DraftMessage](../types/DraftMessage.md) + +### Example: + + +``` +$draftMessage = ['no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/draftMessageEmpty.md b/docs/API_docs/constructors/draftMessageEmpty.md new file mode 100644 index 00000000..4dfbcce2 --- /dev/null +++ b/docs/API_docs/constructors/draftMessageEmpty.md @@ -0,0 +1,16 @@ +## Constructor: draftMessageEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [DraftMessage](../types/DraftMessage.md) + +### Example: + + +``` +$draftMessageEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedChat.md b/docs/API_docs/constructors/encryptedChat.md new file mode 100644 index 00000000..35d93552 --- /dev/null +++ b/docs/API_docs/constructors/encryptedChat.md @@ -0,0 +1,23 @@ +## Constructor: encryptedChat + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$encryptedChat = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedChatDiscarded.md b/docs/API_docs/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..20b20cae --- /dev/null +++ b/docs/API_docs/constructors/encryptedChatDiscarded.md @@ -0,0 +1,17 @@ +## Constructor: encryptedChatDiscarded + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$encryptedChatDiscarded = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedChatEmpty.md b/docs/API_docs/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..177d8096 --- /dev/null +++ b/docs/API_docs/constructors/encryptedChatEmpty.md @@ -0,0 +1,17 @@ +## Constructor: encryptedChatEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$encryptedChatEmpty = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedChatRequested.md b/docs/API_docs/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7e73a599 --- /dev/null +++ b/docs/API_docs/constructors/encryptedChatRequested.md @@ -0,0 +1,22 @@ +## Constructor: encryptedChatRequested + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$encryptedChatRequested = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedChatWaiting.md b/docs/API_docs/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..7b3ca41c --- /dev/null +++ b/docs/API_docs/constructors/encryptedChatWaiting.md @@ -0,0 +1,21 @@ +## Constructor: encryptedChatWaiting + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$encryptedChatWaiting = ['id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedFile.md b/docs/API_docs/constructors/encryptedFile.md new file mode 100644 index 00000000..99ab4c9f --- /dev/null +++ b/docs/API_docs/constructors/encryptedFile.md @@ -0,0 +1,21 @@ +## Constructor: encryptedFile + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + +### Example: + + +``` +$encryptedFile = ['id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedFileEmpty.md b/docs/API_docs/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..68d7d33a --- /dev/null +++ b/docs/API_docs/constructors/encryptedFileEmpty.md @@ -0,0 +1,16 @@ +## Constructor: encryptedFileEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + +### Example: + + +``` +$encryptedFileEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedMessage.md b/docs/API_docs/constructors/encryptedMessage.md new file mode 100644 index 00000000..6e533bca --- /dev/null +++ b/docs/API_docs/constructors/encryptedMessage.md @@ -0,0 +1,21 @@ +## Constructor: encryptedMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random\_id|[long](../types/long.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + +### Example: + + +``` +$encryptedMessage = ['random_id' => long, 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/encryptedMessageService.md b/docs/API_docs/constructors/encryptedMessageService.md new file mode 100644 index 00000000..17e80255 --- /dev/null +++ b/docs/API_docs/constructors/encryptedMessageService.md @@ -0,0 +1,20 @@ +## Constructor: encryptedMessageService + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random\_id|[long](../types/long.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + +### Example: + + +``` +$encryptedMessageService = ['random_id' => long, 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/error.md b/docs/API_docs/constructors/error.md new file mode 100644 index 00000000..77c22c38 --- /dev/null +++ b/docs/API_docs/constructors/error.md @@ -0,0 +1,18 @@ +## Constructor: error + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + +### Type: [Error](../types/Error.md) + +### Example: + + +``` +$error = ['code' => int, 'text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/exportedMessageLink.md b/docs/API_docs/constructors/exportedMessageLink.md new file mode 100644 index 00000000..eb5b4a12 --- /dev/null +++ b/docs/API_docs/constructors/exportedMessageLink.md @@ -0,0 +1,17 @@ +## Constructor: exportedMessageLink + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + +### Type: [ExportedMessageLink](../types/ExportedMessageLink.md) + +### Example: + + +``` +$exportedMessageLink = ['link' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/fileLocation.md b/docs/API_docs/constructors/fileLocation.md new file mode 100644 index 00000000..214f5a86 --- /dev/null +++ b/docs/API_docs/constructors/fileLocation.md @@ -0,0 +1,20 @@ +## Constructor: fileLocation + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + +### Type: [FileLocation](../types/FileLocation.md) + +### Example: + + +``` +$fileLocation = ['dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/fileLocationUnavailable.md b/docs/API_docs/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..550aad27 --- /dev/null +++ b/docs/API_docs/constructors/fileLocationUnavailable.md @@ -0,0 +1,19 @@ +## Constructor: fileLocationUnavailable + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + +### Type: [FileLocation](../types/FileLocation.md) + +### Example: + + +``` +$fileLocationUnavailable = ['volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/foundGif.md b/docs/API_docs/constructors/foundGif.md new file mode 100644 index 00000000..43f52caa --- /dev/null +++ b/docs/API_docs/constructors/foundGif.md @@ -0,0 +1,22 @@ +## Constructor: foundGif + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + +### Type: [FoundGif](../types/FoundGif.md) + +### Example: + + +``` +$foundGif = ['url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/foundGifCached.md b/docs/API_docs/constructors/foundGifCached.md new file mode 100644 index 00000000..e1a60f29 --- /dev/null +++ b/docs/API_docs/constructors/foundGifCached.md @@ -0,0 +1,19 @@ +## Constructor: foundGifCached + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + +### Type: [FoundGif](../types/FoundGif.md) + +### Example: + + +``` +$foundGifCached = ['url' => string, 'photo' => Photo, 'document' => Document, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/game.md b/docs/API_docs/constructors/game.md new file mode 100644 index 00000000..c69e8ef7 --- /dev/null +++ b/docs/API_docs/constructors/game.md @@ -0,0 +1,23 @@ +## Constructor: game + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Optional| + + +### Type: [Game](../types/Game.md) + +### Example: + + +``` +$game = ['id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/geoPoint.md b/docs/API_docs/constructors/geoPoint.md new file mode 100644 index 00000000..46913334 --- /dev/null +++ b/docs/API_docs/constructors/geoPoint.md @@ -0,0 +1,18 @@ +## Constructor: geoPoint + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + +### Type: [GeoPoint](../types/GeoPoint.md) + +### Example: + + +``` +$geoPoint = ['long' => double, 'lat' => double, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/geoPointEmpty.md b/docs/API_docs/constructors/geoPointEmpty.md new file mode 100644 index 00000000..358459c2 --- /dev/null +++ b/docs/API_docs/constructors/geoPointEmpty.md @@ -0,0 +1,16 @@ +## Constructor: geoPointEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [GeoPoint](../types/GeoPoint.md) + +### Example: + + +``` +$geoPointEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_appChangelog.md b/docs/API_docs/constructors/help_appChangelog.md new file mode 100644 index 00000000..a62a9148 --- /dev/null +++ b/docs/API_docs/constructors/help_appChangelog.md @@ -0,0 +1,17 @@ +## Constructor: help\_appChangelog + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [help\_AppChangelog](../types/help\_AppChangelog.md) + +### Example: + + +``` +$help_appChangelog = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_appChangelogEmpty.md b/docs/API_docs/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..85758d4a --- /dev/null +++ b/docs/API_docs/constructors/help_appChangelogEmpty.md @@ -0,0 +1,16 @@ +## Constructor: help\_appChangelogEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [help\_AppChangelog](../types/help\_AppChangelog.md) + +### Example: + + +``` +$help_appChangelogEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md new file mode 100644 index 00000000..bf66431d --- /dev/null +++ b/docs/API_docs/constructors/help_appUpdate.md @@ -0,0 +1,20 @@ +## Constructor: help\_appUpdate + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + +### Type: [help\_AppUpdate](../types/help\_AppUpdate.md) + +### Example: + + +``` +$help_appUpdate = ['id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md new file mode 100644 index 00000000..e6c05dc9 --- /dev/null +++ b/docs/API_docs/constructors/help_inviteText.md @@ -0,0 +1,17 @@ +## Constructor: help\_inviteText + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Type: [help\_InviteText](../types/help\_InviteText.md) + +### Example: + + +``` +$help_inviteText = ['message' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_noAppUpdate.md b/docs/API_docs/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..cff49a14 --- /dev/null +++ b/docs/API_docs/constructors/help_noAppUpdate.md @@ -0,0 +1,16 @@ +## Constructor: help\_noAppUpdate + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [help\_AppUpdate](../types/help\_AppUpdate.md) + +### Example: + + +``` +$help_noAppUpdate = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md new file mode 100644 index 00000000..b242be66 --- /dev/null +++ b/docs/API_docs/constructors/help_support.md @@ -0,0 +1,18 @@ +## Constructor: help\_support + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + +### Type: [help\_Support](../types/help\_Support.md) + +### Example: + + +``` +$help_support = ['phone_number' => string, 'user' => User, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/help_termsOfService.md b/docs/API_docs/constructors/help_termsOfService.md new file mode 100644 index 00000000..e405f6b0 --- /dev/null +++ b/docs/API_docs/constructors/help_termsOfService.md @@ -0,0 +1,17 @@ +## Constructor: help\_termsOfService + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [help\_TermsOfService](../types/help\_TermsOfService.md) + +### Example: + + +``` +$help_termsOfService = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/highScore.md b/docs/API_docs/constructors/highScore.md new file mode 100644 index 00000000..4fe2d775 --- /dev/null +++ b/docs/API_docs/constructors/highScore.md @@ -0,0 +1,19 @@ +## Constructor: highScore + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pos|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|score|[int](../types/int.md) | Required| + + +### Type: [HighScore](../types/HighScore.md) + +### Example: + + +``` +$highScore = ['pos' => int, 'user_id' => int, 'score' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/importedContact.md b/docs/API_docs/constructors/importedContact.md new file mode 100644 index 00000000..48bba409 --- /dev/null +++ b/docs/API_docs/constructors/importedContact.md @@ -0,0 +1,18 @@ +## Constructor: importedContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + +### Type: [ImportedContact](../types/ImportedContact.md) + +### Example: + + +``` +$importedContact = ['user_id' => int, 'client_id' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/index.md b/docs/API_docs/constructors/index.md new file mode 100644 index 00000000..c7264b36 --- /dev/null +++ b/docs/API_docs/constructors/index.md @@ -0,0 +1,921 @@ +# Constructors + + +
+[$AccountDaysTTL](../types/AccountDaysTTL.md)\['[accountDaysTTL](accountDaysTTL.md)'\] = \['days' => [int](../types/int.md), \] + +[$account\_Authorizations](../types/account\_Authorizations.md)\['[account\_authorizations](account\_authorizations.md)'\] = \['authorizations' => [[Authorization](../types/Authorization.md)], \] + +[$account\_Password](../types/account\_Password.md)\['[account\_noPassword](account\_noPassword.md)'\] = \['new\_salt' => [bytes](../types/bytes.md), 'email\_unconfirmed\_pattern' => [string](../types/string.md), \] + +[$account\_Password](../types/account\_Password.md)\['[account\_password](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](../types/account\_PasswordInputSettings.md)\['[account\_passwordInputSettings](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](../types/account\_PasswordSettings.md)\['[account\_passwordSettings](account\_passwordSettings.md)'\] = \['email' => [string](../types/string.md), \] + +[$account\_PrivacyRules](../types/account\_PrivacyRules.md)\['[account\_privacyRules](account\_privacyRules.md)'\] = \['rules' => [[PrivacyRule](../types/PrivacyRule.md)], 'users' => [[User](../types/User.md)], \] + +[$auth\_Authorization](../types/auth\_Authorization.md)\['[auth\_authorization](auth\_authorization.md)'\] = \['tmp\_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \] + +[$auth\_CheckedPhone](../types/auth\_CheckedPhone.md)\['[auth\_checkedPhone](auth\_checkedPhone.md)'\] = \['phone\_registered' => [Bool](../types/Bool.md), \] + +[$auth\_CodeType](../types/auth\_CodeType.md)\['[auth\_codeTypeCall](auth\_codeTypeCall.md)'\] = + +[$auth\_CodeType](../types/auth\_CodeType.md)\['[auth\_codeTypeFlashCall](auth\_codeTypeFlashCall.md)'\] = + +[$auth\_CodeType](../types/auth\_CodeType.md)\['[auth\_codeTypeSms](auth\_codeTypeSms.md)'\] = + +[$auth\_ExportedAuthorization](../types/auth\_ExportedAuthorization.md)\['[auth\_exportedAuthorization](auth\_exportedAuthorization.md)'\] = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \] + +[$auth\_PasswordRecovery](../types/auth\_PasswordRecovery.md)\['[auth\_passwordRecovery](auth\_passwordRecovery.md)'\] = \['email\_pattern' => [string](../types/string.md), \] + +[$auth\_SentCode](../types/auth\_SentCode.md)\['[auth\_sentCode](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\_SentCodeType](../types/auth\_SentCodeType.md)\['[auth\_sentCodeTypeApp](auth\_sentCodeTypeApp.md)'\] = \['length' => [int](../types/int.md), \] + +[$auth\_SentCodeType](../types/auth\_SentCodeType.md)\['[auth\_sentCodeTypeCall](auth\_sentCodeTypeCall.md)'\] = \['length' => [int](../types/int.md), \] + +[$auth\_SentCodeType](../types/auth\_SentCodeType.md)\['[auth\_sentCodeTypeFlashCall](auth\_sentCodeTypeFlashCall.md)'\] = \['pattern' => [string](../types/string.md), \] + +[$auth\_SentCodeType](../types/auth\_SentCodeType.md)\['[auth\_sentCodeTypeSms](auth\_sentCodeTypeSms.md)'\] = \['length' => [int](../types/int.md), \] + +[$Authorization](../types/Authorization.md)\['[authorization](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), \] + +[$Bool](../types/Bool.md)\['[boolFalse](boolFalse.md)'\] = + +[$Bool](../types/Bool.md)\['[boolTrue](boolTrue.md)'\] = + +[$BotCommand](../types/BotCommand.md)\['[botCommand](botCommand.md)'\] = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \] + +[$BotInfo](../types/BotInfo.md)\['[botInfo](botInfo.md)'\] = \['user\_id' => [int](../types/int.md), 'description' => [string](../types/string.md), 'commands' => [[BotCommand](../types/BotCommand.md)], \] + +[$BotInlineResult](../types/BotInlineResult.md)\['[botInlineMediaResult](botInlineMediaResult.md)'\] = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'send\_message' => [BotInlineMessage](../types/BotInlineMessage.md), \] + +[$BotInlineMessage](../types/BotInlineMessage.md)\['[botInlineMessageMediaAuto](botInlineMessageMediaAuto.md)'\] = \['caption' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$BotInlineMessage](../types/BotInlineMessage.md)\['[botInlineMessageMediaContact](botInlineMessageMediaContact.md)'\] = \['phone\_number' => [string](../types/string.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$BotInlineMessage](../types/BotInlineMessage.md)\['[botInlineMessageMediaGeo](botInlineMessageMediaGeo.md)'\] = \['geo' => [GeoPoint](../types/GeoPoint.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$BotInlineMessage](../types/BotInlineMessage.md)\['[botInlineMessageMediaVenue](botInlineMessageMediaVenue.md)'\] = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue\_id' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$BotInlineMessage](../types/BotInlineMessage.md)\['[botInlineMessageText](botInlineMessageText.md)'\] = \['no\_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$BotInlineResult](../types/BotInlineResult.md)\['[botInlineResult](botInlineResult.md)'\] = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb\_url' => [string](../types/string.md), 'content\_url' => [string](../types/string.md), 'content\_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send\_message' => [BotInlineMessage](../types/BotInlineMessage.md), \] + +[$Chat](../types/Chat.md)\['[channel](channel.md)'\] = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction\_reason' => [string](../types/string.md), \] + +[$Chat](../types/Chat.md)\['[channelForbidden](channelForbidden.md)'\] = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \] + +[$ChatFull](../types/ChatFull.md)\['[channelFull](channelFull.md)'\] = \['can\_view\_participants' => [Bool](../types/Bool.md), 'can\_set\_username' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants\_count' => [int](../types/int.md), 'admins\_count' => [int](../types/int.md), 'kicked\_count' => [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), 'chat\_photo' => [Photo](../types/Photo.md), 'notify\_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported\_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot\_info' => [[BotInfo](../types/BotInfo.md)], 'migrated\_from\_chat\_id' => [int](../types/int.md), 'migrated\_from\_max\_id' => [int](../types/int.md), 'pinned\_msg\_id' => [int](../types/int.md), \] + +[$ChannelMessagesFilter](../types/ChannelMessagesFilter.md)\['[channelMessagesFilter](channelMessagesFilter.md)'\] = \['exclude\_new\_messages' => [Bool](../types/Bool.md), 'ranges' => [[MessageRange](../types/MessageRange.md)], \] + +[$ChannelMessagesFilter](../types/ChannelMessagesFilter.md)\['[channelMessagesFilterEmpty](channelMessagesFilterEmpty.md)'\] = + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipant](channelParticipant.md)'\] = \['user\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipantCreator](channelParticipantCreator.md)'\] = \['user\_id' => [int](../types/int.md), \] + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipantEditor](channelParticipantEditor.md)'\] = \['user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipantKicked](channelParticipantKicked.md)'\] = \['user\_id' => [int](../types/int.md), 'kicked\_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipantModerator](channelParticipantModerator.md)'\] = \['user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChannelParticipant](../types/ChannelParticipant.md)\['[channelParticipantSelf](channelParticipantSelf.md)'\] = \['user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)\['[channelParticipantsAdmins](channelParticipantsAdmins.md)'\] = + +[$ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)\['[channelParticipantsBots](channelParticipantsBots.md)'\] = + +[$ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)\['[channelParticipantsKicked](channelParticipantsKicked.md)'\] = + +[$ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)\['[channelParticipantsRecent](channelParticipantsRecent.md)'\] = + +[$ChannelParticipantRole](../types/ChannelParticipantRole.md)\['[channelRoleEditor](channelRoleEditor.md)'\] = + +[$ChannelParticipantRole](../types/ChannelParticipantRole.md)\['[channelRoleEmpty](channelRoleEmpty.md)'\] = + +[$ChannelParticipantRole](../types/ChannelParticipantRole.md)\['[channelRoleModerator](channelRoleModerator.md)'\] = + +[$channels\_ChannelParticipant](../types/channels\_ChannelParticipant.md)\['[channels\_channelParticipant](channels\_channelParticipant.md)'\] = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => [[User](../types/User.md)], \] + +[$channels\_ChannelParticipants](../types/channels\_ChannelParticipants.md)\['[channels\_channelParticipants](channels\_channelParticipants.md)'\] = \['count' => [int](../types/int.md), 'participants' => [[ChannelParticipant](../types/ChannelParticipant.md)], 'users' => [[User](../types/User.md)], \] + +[$Chat](../types/Chat.md)\['[chat](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), \] + +[$Chat](../types/Chat.md)\['[chatEmpty](chatEmpty.md)'\] = \['id' => [int](../types/int.md), \] + +[$Chat](../types/Chat.md)\['[chatForbidden](chatForbidden.md)'\] = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \] + +[$ChatFull](../types/ChatFull.md)\['[chatFull](chatFull.md)'\] = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat\_photo' => [Photo](../types/Photo.md), 'notify\_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported\_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot\_info' => [[BotInfo](../types/BotInfo.md)], \] + +[$ChatInvite](../types/ChatInvite.md)\['[chatInvite](chatInvite.md)'\] = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants\_count' => [int](../types/int.md), 'participants' => [[User](../types/User.md)], \] + +[$ChatInvite](../types/ChatInvite.md)\['[chatInviteAlready](chatInviteAlready.md)'\] = \['chat' => [Chat](../types/Chat.md), \] + +[$ExportedChatInvite](../types/ExportedChatInvite.md)\['[chatInviteEmpty](chatInviteEmpty.md)'\] = + +[$ExportedChatInvite](../types/ExportedChatInvite.md)\['[chatInviteExported](chatInviteExported.md)'\] = \['link' => [string](../types/string.md), \] + +[$ChatParticipant](../types/ChatParticipant.md)\['[chatParticipant](chatParticipant.md)'\] = \['user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChatParticipant](../types/ChatParticipant.md)\['[chatParticipantAdmin](chatParticipantAdmin.md)'\] = \['user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ChatParticipant](../types/ChatParticipant.md)\['[chatParticipantCreator](chatParticipantCreator.md)'\] = \['user\_id' => [int](../types/int.md), \] + +[$ChatParticipants](../types/ChatParticipants.md)\['[chatParticipants](chatParticipants.md)'\] = \['chat\_id' => [int](../types/int.md), 'participants' => [[ChatParticipant](../types/ChatParticipant.md)], 'version' => [int](../types/int.md), \] + +[$ChatParticipants](../types/ChatParticipants.md)\['[chatParticipantsForbidden](chatParticipantsForbidden.md)'\] = \['chat\_id' => [int](../types/int.md), 'self\_participant' => [ChatParticipant](../types/ChatParticipant.md), \] + +[$ChatPhoto](../types/ChatPhoto.md)\['[chatPhoto](chatPhoto.md)'\] = \['photo\_small' => [FileLocation](../types/FileLocation.md), 'photo\_big' => [FileLocation](../types/FileLocation.md), \] + +[$ChatPhoto](../types/ChatPhoto.md)\['[chatPhotoEmpty](chatPhotoEmpty.md)'\] = + +[$Config](../types/Config.md)\['[config](config.md)'\] = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test\_mode' => [Bool](../types/Bool.md), 'this\_dc' => [int](../types/int.md), 'dc\_options' => [[DcOption](../types/DcOption.md)], 'chat\_size\_max' => [int](../types/int.md), 'megagroup\_size\_max' => [int](../types/int.md), 'forwarded\_count\_max' => [int](../types/int.md), 'online\_update\_period\_ms' => [int](../types/int.md), 'offline\_blur\_timeout\_ms' => [int](../types/int.md), 'offline\_idle\_timeout\_ms' => [int](../types/int.md), 'online\_cloud\_timeout\_ms' => [int](../types/int.md), 'notify\_cloud\_delay\_ms' => [int](../types/int.md), 'notify\_default\_delay\_ms' => [int](../types/int.md), 'chat\_big\_size' => [int](../types/int.md), 'push\_chat\_period\_ms' => [int](../types/int.md), 'push\_chat\_limit' => [int](../types/int.md), 'saved\_gifs\_limit' => [int](../types/int.md), 'edit\_time\_limit' => [int](../types/int.md), 'rating\_e\_decay' => [int](../types/int.md), 'stickers\_recent\_limit' => [int](../types/int.md), 'tmp\_sessions' => [int](../types/int.md), 'disabled\_features' => [[DisabledFeature](../types/DisabledFeature.md)], \] + +[$Contact](../types/Contact.md)\['[contact](contact.md)'\] = \['user\_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \] + +[$ContactBlocked](../types/ContactBlocked.md)\['[contactBlocked](contactBlocked.md)'\] = \['user\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$ContactLink](../types/ContactLink.md)\['[contactLinkContact](contactLinkContact.md)'\] = + +[$ContactLink](../types/ContactLink.md)\['[contactLinkHasPhone](contactLinkHasPhone.md)'\] = + +[$ContactLink](../types/ContactLink.md)\['[contactLinkNone](contactLinkNone.md)'\] = + +[$ContactLink](../types/ContactLink.md)\['[contactLinkUnknown](contactLinkUnknown.md)'\] = + +[$ContactStatus](../types/ContactStatus.md)\['[contactStatus](contactStatus.md)'\] = \['user\_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \] + +[$contacts\_Blocked](../types/contacts\_Blocked.md)\['[contacts\_blocked](contacts\_blocked.md)'\] = \['blocked' => [[ContactBlocked](../types/ContactBlocked.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_Blocked](../types/contacts\_Blocked.md)\['[contacts\_blockedSlice](contacts\_blockedSlice.md)'\] = \['count' => [int](../types/int.md), 'blocked' => [[ContactBlocked](../types/ContactBlocked.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_Contacts](../types/contacts\_Contacts.md)\['[contacts\_contacts](contacts\_contacts.md)'\] = \['contacts' => [[Contact](../types/Contact.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_Contacts](../types/contacts\_Contacts.md)\['[contacts\_contactsNotModified](contacts\_contactsNotModified.md)'\] = + +[$contacts\_Found](../types/contacts\_Found.md)\['[contacts\_found](contacts\_found.md)'\] = \['results' => [[Peer](../types/Peer.md)], 'chats' => [[Chat](../types/Chat.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_ImportedContacts](../types/contacts\_ImportedContacts.md)\['[contacts\_importedContacts](contacts\_importedContacts.md)'\] = \['imported' => [[ImportedContact](../types/ImportedContact.md)], 'retry\_contacts' => [[long](../types/long.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_Link](../types/contacts\_Link.md)\['[contacts\_link](contacts\_link.md)'\] = \['my\_link' => [ContactLink](../types/ContactLink.md), 'foreign\_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \] + +[$contacts\_ResolvedPeer](../types/contacts\_ResolvedPeer.md)\['[contacts\_resolvedPeer](contacts\_resolvedPeer.md)'\] = \['peer' => [Peer](../types/Peer.md), 'chats' => [[Chat](../types/Chat.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_TopPeers](../types/contacts\_TopPeers.md)\['[contacts\_topPeers](contacts\_topPeers.md)'\] = \['categories' => [[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)], 'chats' => [[Chat](../types/Chat.md)], 'users' => [[User](../types/User.md)], \] + +[$contacts\_TopPeers](../types/contacts\_TopPeers.md)\['[contacts\_topPeersNotModified](contacts\_topPeersNotModified.md)'\] = + +[$DcOption](../types/DcOption.md)\['[dcOption](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), \] + +[$Dialog](../types/Dialog.md)\['[dialog](dialog.md)'\] = \['peer' => [Peer](../types/Peer.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), 'notify\_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \] + +[$DisabledFeature](../types/DisabledFeature.md)\['[disabledFeature](disabledFeature.md)'\] = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \] + +[$Document](../types/Document.md)\['[document](document.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime\_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc\_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'attributes' => [[DocumentAttribute](../types/DocumentAttribute.md)], \] + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeAnimated](documentAttributeAnimated.md)'\] = + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeAudio](documentAttributeAudio.md)'\] = \['voice' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), 'waveform' => [bytes](../types/bytes.md), \] + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeFilename](documentAttributeFilename.md)'\] = \['file\_name' => [string](../types/string.md), \] + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeHasStickers](documentAttributeHasStickers.md)'\] = + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeImageSize](documentAttributeImageSize.md)'\] = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \] + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeSticker](documentAttributeSticker.md)'\] = \['mask' => [Bool](../types/Bool.md), 'alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'mask\_coords' => [MaskCoords](../types/MaskCoords.md), \] + +[$DocumentAttribute](../types/DocumentAttribute.md)\['[documentAttributeVideo](documentAttributeVideo.md)'\] = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \] + +[$Document](../types/Document.md)\['[documentEmpty](documentEmpty.md)'\] = \['id' => [long](../types/long.md), \] + +[$DraftMessage](../types/DraftMessage.md)\['[draftMessage](draftMessage.md)'\] = \['no\_webpage' => [Bool](../types/Bool.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], 'date' => [int](../types/int.md), \] + +[$DraftMessage](../types/DraftMessage.md)\['[draftMessageEmpty](draftMessageEmpty.md)'\] = + +[$EncryptedChat](../types/EncryptedChat.md)\['[encryptedChat](encryptedChat.md)'\] = \['id' => [int](../types/int.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), \] + +[$EncryptedChat](../types/EncryptedChat.md)\['[encryptedChatDiscarded](encryptedChatDiscarded.md)'\] = \['id' => [int](../types/int.md), \] + +[$EncryptedChat](../types/EncryptedChat.md)\['[encryptedChatEmpty](encryptedChatEmpty.md)'\] = \['id' => [int](../types/int.md), \] + +[$EncryptedChat](../types/EncryptedChat.md)\['[encryptedChatRequested](encryptedChatRequested.md)'\] = \['id' => [int](../types/int.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' => [bytes](../types/bytes.md), \] + +[$EncryptedChat](../types/EncryptedChat.md)\['[encryptedChatWaiting](encryptedChatWaiting.md)'\] = \['id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin\_id' => [int](../types/int.md), 'participant\_id' => [int](../types/int.md), \] + +[$EncryptedFile](../types/EncryptedFile.md)\['[encryptedFile](encryptedFile.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc\_id' => [int](../types/int.md), 'key\_fingerprint' => [int](../types/int.md), \] + +[$EncryptedFile](../types/EncryptedFile.md)\['[encryptedFileEmpty](encryptedFileEmpty.md)'\] = + +[$EncryptedMessage](../types/EncryptedMessage.md)\['[encryptedMessage](encryptedMessage.md)'\] = \['random\_id' => [long](../types/long.md), 'chat\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \] + +[$EncryptedMessage](../types/EncryptedMessage.md)\['[encryptedMessageService](encryptedMessageService.md)'\] = \['random\_id' => [long](../types/long.md), 'chat\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \] + +[$Error](../types/Error.md)\['[error](error.md)'\] = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \] + +[$ExportedMessageLink](../types/ExportedMessageLink.md)\['[exportedMessageLink](exportedMessageLink.md)'\] = \['link' => [string](../types/string.md), \] + +[$FileLocation](../types/FileLocation.md)\['[fileLocation](fileLocation.md)'\] = \['dc\_id' => [int](../types/int.md), 'volume\_id' => [long](../types/long.md), 'local\_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \] + +[$FileLocation](../types/FileLocation.md)\['[fileLocationUnavailable](fileLocationUnavailable.md)'\] = \['volume\_id' => [long](../types/long.md), 'local\_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \] + +[$FoundGif](../types/FoundGif.md)\['[foundGif](foundGif.md)'\] = \['url' => [string](../types/string.md), 'thumb\_url' => [string](../types/string.md), 'content\_url' => [string](../types/string.md), 'content\_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \] + +[$FoundGif](../types/FoundGif.md)\['[foundGifCached](foundGifCached.md)'\] = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \] + +[$Game](../types/Game.md)\['[game](game.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), 'short\_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \] + +[$GeoPoint](../types/GeoPoint.md)\['[geoPoint](geoPoint.md)'\] = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \] + +[$GeoPoint](../types/GeoPoint.md)\['[geoPointEmpty](geoPointEmpty.md)'\] = + +[$help\_AppChangelog](../types/help\_AppChangelog.md)\['[help\_appChangelog](help\_appChangelog.md)'\] = \['text' => [string](../types/string.md), \] + +[$help\_AppChangelog](../types/help\_AppChangelog.md)\['[help\_appChangelogEmpty](help\_appChangelogEmpty.md)'\] = + +[$help\_AppUpdate](../types/help\_AppUpdate.md)\['[help\_appUpdate](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](../types/help\_InviteText.md)\['[help\_inviteText](help\_inviteText.md)'\] = \['message' => [string](../types/string.md), \] + +[$help\_AppUpdate](../types/help\_AppUpdate.md)\['[help\_noAppUpdate](help\_noAppUpdate.md)'\] = + +[$help\_Support](../types/help\_Support.md)\['[help\_support](help\_support.md)'\] = \['phone\_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \] + +[$help\_TermsOfService](../types/help\_TermsOfService.md)\['[help\_termsOfService](help\_termsOfService.md)'\] = \['text' => [string](../types/string.md), \] + +[$HighScore](../types/HighScore.md)\['[highScore](highScore.md)'\] = \['pos' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \] + +[$ImportedContact](../types/ImportedContact.md)\['[importedContact](importedContact.md)'\] = \['user\_id' => [int](../types/int.md), 'client\_id' => [long](../types/long.md), \] + +[$InlineBotSwitchPM](../types/InlineBotSwitchPM.md)\['[inlineBotSwitchPM](inlineBotSwitchPM.md)'\] = \['text' => [string](../types/string.md), 'start\_param' => [string](../types/string.md), \] + +[$InputAppEvent](../types/InputAppEvent.md)\['[inputAppEvent](inputAppEvent.md)'\] = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageGame](inputBotInlineMessageGame.md)'\] = \['reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineMessageID](../types/InputBotInlineMessageID.md)\['[inputBotInlineMessageID](inputBotInlineMessageID.md)'\] = \['dc\_id' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageMediaAuto](inputBotInlineMessageMediaAuto.md)'\] = \['caption' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageMediaContact](inputBotInlineMessageMediaContact.md)'\] = \['phone\_number' => [string](../types/string.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageMediaGeo](inputBotInlineMessageMediaGeo.md)'\] = \['geo\_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageMediaVenue](inputBotInlineMessageMediaVenue.md)'\] = \['geo\_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue\_id' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineMessage](../types/InputBotInlineMessage.md)\['[inputBotInlineMessageText](inputBotInlineMessageText.md)'\] = \['no\_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \] + +[$InputBotInlineResult](../types/InputBotInlineResult.md)\['[inputBotInlineResult](inputBotInlineResult.md)'\] = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb\_url' => [string](../types/string.md), 'content\_url' => [string](../types/string.md), 'content\_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send\_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \] + +[$InputBotInlineResult](../types/InputBotInlineResult.md)\['[inputBotInlineResultDocument](inputBotInlineResultDocument.md)'\] = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'document' => [InputDocument](../types/InputDocument.md), 'send\_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \] + +[$InputBotInlineResult](../types/InputBotInlineResult.md)\['[inputBotInlineResultGame](inputBotInlineResultGame.md)'\] = \['id' => [string](../types/string.md), 'short\_name' => [string](../types/string.md), 'send\_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \] + +[$InputBotInlineResult](../types/InputBotInlineResult.md)\['[inputBotInlineResultPhoto](inputBotInlineResultPhoto.md)'\] = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [InputPhoto](../types/InputPhoto.md), 'send\_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \] + +[$InputChannel](../types/InputChannel.md)\['[inputChannel](inputChannel.md)'\] = \['channel\_id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputChannel](../types/InputChannel.md)\['[inputChannelEmpty](inputChannelEmpty.md)'\] = + +[$InputChatPhoto](../types/InputChatPhoto.md)\['[inputChatPhoto](inputChatPhoto.md)'\] = \['id' => [InputPhoto](../types/InputPhoto.md), \] + +[$InputChatPhoto](../types/InputChatPhoto.md)\['[inputChatPhotoEmpty](inputChatPhotoEmpty.md)'\] = + +[$InputChatPhoto](../types/InputChatPhoto.md)\['[inputChatUploadedPhoto](inputChatUploadedPhoto.md)'\] = \['file' => [InputFile](../types/InputFile.md), \] + +[$InputDocument](../types/InputDocument.md)\['[inputDocument](inputDocument.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputDocument](../types/InputDocument.md)\['[inputDocumentEmpty](inputDocumentEmpty.md)'\] = + +[$InputFileLocation](../types/InputFileLocation.md)\['[inputDocumentFileLocation](inputDocumentFileLocation.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), 'version' => [int](../types/int.md), \] + +[$InputEncryptedChat](../types/InputEncryptedChat.md)\['[inputEncryptedChat](inputEncryptedChat.md)'\] = \['chat\_id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputEncryptedFile](../types/InputEncryptedFile.md)\['[inputEncryptedFile](inputEncryptedFile.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputEncryptedFile](../types/InputEncryptedFile.md)\['[inputEncryptedFileBigUploaded](inputEncryptedFileBigUploaded.md)'\] = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key\_fingerprint' => [int](../types/int.md), \] + +[$InputEncryptedFile](../types/InputEncryptedFile.md)\['[inputEncryptedFileEmpty](inputEncryptedFileEmpty.md)'\] = + +[$InputFileLocation](../types/InputFileLocation.md)\['[inputEncryptedFileLocation](inputEncryptedFileLocation.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputEncryptedFile](../types/InputEncryptedFile.md)\['[inputEncryptedFileUploaded](inputEncryptedFileUploaded.md)'\] = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5\_checksum' => [string](../types/string.md), 'key\_fingerprint' => [int](../types/int.md), \] + +[$InputFile](../types/InputFile.md)\['[inputFile](inputFile.md)'\] = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5\_checksum' => [string](../types/string.md), \] + +[$InputFile](../types/InputFile.md)\['[inputFileBig](inputFileBig.md)'\] = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \] + +[$InputFileLocation](../types/InputFileLocation.md)\['[inputFileLocation](inputFileLocation.md)'\] = \['volume\_id' => [long](../types/long.md), 'local\_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \] + +[$InputGame](../types/InputGame.md)\['[inputGameID](inputGameID.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputGame](../types/InputGame.md)\['[inputGameShortName](inputGameShortName.md)'\] = \['bot\_id' => [InputUser](../types/InputUser.md), 'short\_name' => [string](../types/string.md), \] + +[$InputGeoPoint](../types/InputGeoPoint.md)\['[inputGeoPoint](inputGeoPoint.md)'\] = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \] + +[$InputGeoPoint](../types/InputGeoPoint.md)\['[inputGeoPointEmpty](inputGeoPointEmpty.md)'\] = + +[$InputMedia](../types/InputMedia.md)\['[inputMediaContact](inputMediaContact.md)'\] = \['phone\_number' => [string](../types/string.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaDocument](inputMediaDocument.md)'\] = \['id' => [InputDocument](../types/InputDocument.md), 'caption' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaDocumentExternal](inputMediaDocumentExternal.md)'\] = \['url' => [string](../types/string.md), 'caption' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaEmpty](inputMediaEmpty.md)'\] = + +[$InputMedia](../types/InputMedia.md)\['[inputMediaGame](inputMediaGame.md)'\] = \['id' => [InputGame](../types/InputGame.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaGeoPoint](inputMediaGeoPoint.md)'\] = \['geo\_point' => [InputGeoPoint](../types/InputGeoPoint.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaGifExternal](inputMediaGifExternal.md)'\] = \['url' => [string](../types/string.md), 'q' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaPhoto](inputMediaPhoto.md)'\] = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaPhotoExternal](inputMediaPhotoExternal.md)'\] = \['url' => [string](../types/string.md), 'caption' => [string](../types/string.md), \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaUploadedDocument](inputMediaUploadedDocument.md)'\] = \['file' => [InputFile](../types/InputFile.md), 'mime\_type' => [string](../types/string.md), 'attributes' => [[DocumentAttribute](../types/DocumentAttribute.md)], 'caption' => [string](../types/string.md), 'stickers' => [[InputDocument](../types/InputDocument.md)], \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaUploadedPhoto](inputMediaUploadedPhoto.md)'\] = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'stickers' => [[InputDocument](../types/InputDocument.md)], \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaUploadedThumbDocument](inputMediaUploadedThumbDocument.md)'\] = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime\_type' => [string](../types/string.md), 'attributes' => [[DocumentAttribute](../types/DocumentAttribute.md)], 'caption' => [string](../types/string.md), 'stickers' => [[InputDocument](../types/InputDocument.md)], \] + +[$InputMedia](../types/InputMedia.md)\['[inputMediaVenue](inputMediaVenue.md)'\] = \['geo\_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue\_id' => [string](../types/string.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[inputMessageEntityMentionName](inputMessageEntityMentionName.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user\_id' => [InputUser](../types/InputUser.md), \] + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterChatPhotos](inputMessagesFilterChatPhotos.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterDocument](inputMessagesFilterDocument.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterEmpty](inputMessagesFilterEmpty.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterGif](inputMessagesFilterGif.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterMusic](inputMessagesFilterMusic.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterPhotoVideo](inputMessagesFilterPhotoVideo.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterPhotoVideoDocuments](inputMessagesFilterPhotoVideoDocuments.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterPhotos](inputMessagesFilterPhotos.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterUrl](inputMessagesFilterUrl.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterVideo](inputMessagesFilterVideo.md)'\] = + +[$MessagesFilter](../types/MessagesFilter.md)\['[inputMessagesFilterVoice](inputMessagesFilterVoice.md)'\] = + +[$InputNotifyPeer](../types/InputNotifyPeer.md)\['[inputNotifyAll](inputNotifyAll.md)'\] = + +[$InputNotifyPeer](../types/InputNotifyPeer.md)\['[inputNotifyChats](inputNotifyChats.md)'\] = + +[$InputNotifyPeer](../types/InputNotifyPeer.md)\['[inputNotifyPeer](inputNotifyPeer.md)'\] = \['peer' => [InputPeer](../types/InputPeer.md), \] + +[$InputNotifyPeer](../types/InputNotifyPeer.md)\['[inputNotifyUsers](inputNotifyUsers.md)'\] = + +[$InputPeer](../types/InputPeer.md)\['[inputPeerChannel](inputPeerChannel.md)'\] = \['channel\_id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputPeer](../types/InputPeer.md)\['[inputPeerChat](inputPeerChat.md)'\] = \['chat\_id' => [int](../types/int.md), \] + +[$InputPeer](../types/InputPeer.md)\['[inputPeerEmpty](inputPeerEmpty.md)'\] = + +[$InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md)\['[inputPeerNotifyEventsAll](inputPeerNotifyEventsAll.md)'\] = + +[$InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md)\['[inputPeerNotifyEventsEmpty](inputPeerNotifyEventsEmpty.md)'\] = + +[$InputPeerNotifySettings](../types/InputPeerNotifySettings.md)\['[inputPeerNotifySettings](inputPeerNotifySettings.md)'\] = \['show\_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute\_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \] + +[$InputPeer](../types/InputPeer.md)\['[inputPeerSelf](inputPeerSelf.md)'\] = + +[$InputPeer](../types/InputPeer.md)\['[inputPeerUser](inputPeerUser.md)'\] = \['user\_id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputContact](../types/InputContact.md)\['[inputPhoneContact](inputPhoneContact.md)'\] = \['client\_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), \] + +[$InputPhoto](../types/InputPhoto.md)\['[inputPhoto](inputPhoto.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputPhoto](../types/InputPhoto.md)\['[inputPhotoEmpty](inputPhotoEmpty.md)'\] = + +[$InputPrivacyKey](../types/InputPrivacyKey.md)\['[inputPrivacyKeyChatInvite](inputPrivacyKeyChatInvite.md)'\] = + +[$InputPrivacyKey](../types/InputPrivacyKey.md)\['[inputPrivacyKeyStatusTimestamp](inputPrivacyKeyStatusTimestamp.md)'\] = + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueAllowAll](inputPrivacyValueAllowAll.md)'\] = + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueAllowContacts](inputPrivacyValueAllowContacts.md)'\] = + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueAllowUsers](inputPrivacyValueAllowUsers.md)'\] = \['users' => [[InputUser](../types/InputUser.md)], \] + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueDisallowAll](inputPrivacyValueDisallowAll.md)'\] = + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueDisallowContacts](inputPrivacyValueDisallowContacts.md)'\] = + +[$InputPrivacyRule](../types/InputPrivacyRule.md)\['[inputPrivacyValueDisallowUsers](inputPrivacyValueDisallowUsers.md)'\] = \['users' => [[InputUser](../types/InputUser.md)], \] + +[$ReportReason](../types/ReportReason.md)\['[inputReportReasonOther](inputReportReasonOther.md)'\] = \['text' => [string](../types/string.md), \] + +[$ReportReason](../types/ReportReason.md)\['[inputReportReasonPornography](inputReportReasonPornography.md)'\] = + +[$ReportReason](../types/ReportReason.md)\['[inputReportReasonSpam](inputReportReasonSpam.md)'\] = + +[$ReportReason](../types/ReportReason.md)\['[inputReportReasonViolence](inputReportReasonViolence.md)'\] = + +[$InputStickerSet](../types/InputStickerSet.md)\['[inputStickerSetEmpty](inputStickerSetEmpty.md)'\] = + +[$InputStickerSet](../types/InputStickerSet.md)\['[inputStickerSetID](inputStickerSetID.md)'\] = \['id' => [long](../types/long.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputStickerSet](../types/InputStickerSet.md)\['[inputStickerSetShortName](inputStickerSetShortName.md)'\] = \['short\_name' => [string](../types/string.md), \] + +[$InputStickeredMedia](../types/InputStickeredMedia.md)\['[inputStickeredMediaDocument](inputStickeredMediaDocument.md)'\] = \['id' => [InputDocument](../types/InputDocument.md), \] + +[$InputStickeredMedia](../types/InputStickeredMedia.md)\['[inputStickeredMediaPhoto](inputStickeredMediaPhoto.md)'\] = \['id' => [InputPhoto](../types/InputPhoto.md), \] + +[$InputUser](../types/InputUser.md)\['[inputUser](inputUser.md)'\] = \['user\_id' => [int](../types/int.md), 'access\_hash' => [long](../types/long.md), \] + +[$InputUser](../types/InputUser.md)\['[inputUserEmpty](inputUserEmpty.md)'\] = + +[$InputUser](../types/InputUser.md)\['[inputUserSelf](inputUserSelf.md)'\] = + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButton](keyboardButton.md)'\] = \['text' => [string](../types/string.md), \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonCallback](keyboardButtonCallback.md)'\] = \['text' => [string](../types/string.md), 'data' => [bytes](../types/bytes.md), \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonGame](keyboardButtonGame.md)'\] = \['text' => [string](../types/string.md), \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonRequestGeoLocation](keyboardButtonRequestGeoLocation.md)'\] = \['text' => [string](../types/string.md), \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonRequestPhone](keyboardButtonRequestPhone.md)'\] = \['text' => [string](../types/string.md), \] + +[$KeyboardButtonRow](../types/KeyboardButtonRow.md)\['[keyboardButtonRow](keyboardButtonRow.md)'\] = \['buttons' => [[KeyboardButton](../types/KeyboardButton.md)], \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonSwitchInline](keyboardButtonSwitchInline.md)'\] = \['same\_peer' => [Bool](../types/Bool.md), 'text' => [string](../types/string.md), 'query' => [string](../types/string.md), \] + +[$KeyboardButton](../types/KeyboardButton.md)\['[keyboardButtonUrl](keyboardButtonUrl.md)'\] = \['text' => [string](../types/string.md), 'url' => [string](../types/string.md), \] + +[$MaskCoords](../types/MaskCoords.md)\['[maskCoords](maskCoords.md)'\] = \['n' => [int](../types/int.md), 'x' => [double](../types/double.md), 'y' => [double](../types/double.md), 'zoom' => [double](../types/double.md), \] + +[$Message](../types/Message.md)\['[message](message.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), 'fwd\_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via\_bot\_id' => [int](../types/int.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], 'views' => [int](../types/int.md), 'edit\_date' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChannelCreate](messageActionChannelCreate.md)'\] = \['title' => [string](../types/string.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChannelMigrateFrom](messageActionChannelMigrateFrom.md)'\] = \['title' => [string](../types/string.md), 'chat\_id' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatAddUser](messageActionChatAddUser.md)'\] = \['users' => [[int](../types/int.md)], \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatCreate](messageActionChatCreate.md)'\] = \['title' => [string](../types/string.md), 'users' => [[int](../types/int.md)], \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatDeletePhoto](messageActionChatDeletePhoto.md)'\] = + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatDeleteUser](messageActionChatDeleteUser.md)'\] = \['user\_id' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatEditPhoto](messageActionChatEditPhoto.md)'\] = \['photo' => [Photo](../types/Photo.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatEditTitle](messageActionChatEditTitle.md)'\] = \['title' => [string](../types/string.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatJoinedByLink](messageActionChatJoinedByLink.md)'\] = \['inviter\_id' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionChatMigrateTo](messageActionChatMigrateTo.md)'\] = \['channel\_id' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionEmpty](messageActionEmpty.md)'\] = + +[$MessageAction](../types/MessageAction.md)\['[messageActionGameScore](messageActionGameScore.md)'\] = \['game\_id' => [long](../types/long.md), 'score' => [int](../types/int.md), \] + +[$MessageAction](../types/MessageAction.md)\['[messageActionHistoryClear](messageActionHistoryClear.md)'\] = + +[$MessageAction](../types/MessageAction.md)\['[messageActionPinMessage](messageActionPinMessage.md)'\] = + +[$Message](../types/Message.md)\['[messageEmpty](messageEmpty.md)'\] = \['id' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityBold](messageEntityBold.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityBotCommand](messageEntityBotCommand.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityCode](messageEntityCode.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityEmail](messageEntityEmail.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityHashtag](messageEntityHashtag.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityItalic](messageEntityItalic.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityMention](messageEntityMention.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityMentionName](messageEntityMentionName.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityPre](messageEntityPre.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityTextUrl](messageEntityTextUrl.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityUnknown](messageEntityUnknown.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageEntity](../types/MessageEntity.md)\['[messageEntityUrl](messageEntityUrl.md)'\] = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \] + +[$MessageFwdHeader](../types/MessageFwdHeader.md)\['[messageFwdHeader](messageFwdHeader.md)'\] = \['from\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel\_id' => [int](../types/int.md), 'channel\_post' => [int](../types/int.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaContact](messageMediaContact.md)'\] = \['phone\_number' => [string](../types/string.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), 'user\_id' => [int](../types/int.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaDocument](messageMediaDocument.md)'\] = \['document' => [Document](../types/Document.md), 'caption' => [string](../types/string.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaEmpty](messageMediaEmpty.md)'\] = + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaGame](messageMediaGame.md)'\] = \['game' => [Game](../types/Game.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaGeo](messageMediaGeo.md)'\] = \['geo' => [GeoPoint](../types/GeoPoint.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaPhoto](messageMediaPhoto.md)'\] = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaUnsupported](messageMediaUnsupported.md)'\] = + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaVenue](messageMediaVenue.md)'\] = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue\_id' => [string](../types/string.md), \] + +[$MessageMedia](../types/MessageMedia.md)\['[messageMediaWebPage](messageMediaWebPage.md)'\] = \['webpage' => [WebPage](../types/WebPage.md), \] + +[$MessageRange](../types/MessageRange.md)\['[messageRange](messageRange.md)'\] = \['min\_id' => [int](../types/int.md), 'max\_id' => [int](../types/int.md), \] + +[$Message](../types/Message.md)\['[messageService](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](../types/messages\_AffectedHistory.md)\['[messages\_affectedHistory](messages\_affectedHistory.md)'\] = \['pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \] + +[$messages\_AffectedMessages](../types/messages\_AffectedMessages.md)\['[messages\_affectedMessages](messages\_affectedMessages.md)'\] = \['pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$messages\_AllStickers](../types/messages\_AllStickers.md)\['[messages\_allStickers](messages\_allStickers.md)'\] = \['hash' => [int](../types/int.md), 'sets' => [[StickerSet](../types/StickerSet.md)], \] + +[$messages\_AllStickers](../types/messages\_AllStickers.md)\['[messages\_allStickersNotModified](messages\_allStickersNotModified.md)'\] = + +[$messages\_ArchivedStickers](../types/messages\_ArchivedStickers.md)\['[messages\_archivedStickers](messages\_archivedStickers.md)'\] = \['count' => [int](../types/int.md), 'sets' => [[StickerSetCovered](../types/StickerSetCovered.md)], \] + +[$messages\_BotCallbackAnswer](../types/messages\_BotCallbackAnswer.md)\['[messages\_botCallbackAnswer](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](../types/messages\_BotResults.md)\['[messages\_botResults](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\_Messages](../types/messages\_Messages.md)\['[messages\_channelMessages](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](../types/messages\_ChatFull.md)\['[messages\_chatFull](messages\_chatFull.md)'\] = \['full\_chat' => [ChatFull](../types/ChatFull.md), 'chats' => [[Chat](../types/Chat.md)], 'users' => [[User](../types/User.md)], \] + +[$messages\_Chats](../types/messages\_Chats.md)\['[messages\_chats](messages\_chats.md)'\] = \['chats' => [[Chat](../types/Chat.md)], \] + +[$messages\_DhConfig](../types/messages\_DhConfig.md)\['[messages\_dhConfig](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](../types/messages\_DhConfig.md)\['[messages\_dhConfigNotModified](messages\_dhConfigNotModified.md)'\] = \['random' => [bytes](../types/bytes.md), \] + +[$messages\_Dialogs](../types/messages\_Dialogs.md)\['[messages\_dialogs](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](../types/messages\_Dialogs.md)\['[messages\_dialogsSlice](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](../types/messages\_FeaturedStickers.md)\['[messages\_featuredStickers](messages\_featuredStickers.md)'\] = \['hash' => [int](../types/int.md), 'sets' => [[StickerSetCovered](../types/StickerSetCovered.md)], 'unread' => [[long](../types/long.md)], \] + +[$messages\_FeaturedStickers](../types/messages\_FeaturedStickers.md)\['[messages\_featuredStickersNotModified](messages\_featuredStickersNotModified.md)'\] = + +[$messages\_FoundGifs](../types/messages\_FoundGifs.md)\['[messages\_foundGifs](messages\_foundGifs.md)'\] = \['next\_offset' => [int](../types/int.md), 'results' => [[FoundGif](../types/FoundGif.md)], \] + +[$messages\_HighScores](../types/messages\_HighScores.md)\['[messages\_highScores](messages\_highScores.md)'\] = \['scores' => [[HighScore](../types/HighScore.md)], 'users' => [[User](../types/User.md)], \] + +[$messages\_MessageEditData](../types/messages\_MessageEditData.md)\['[messages\_messageEditData](messages\_messageEditData.md)'\] = \['caption' => [Bool](../types/Bool.md), \] + +[$messages\_Messages](../types/messages\_Messages.md)\['[messages\_messages](messages\_messages.md)'\] = \['messages' => [[Message](../types/Message.md)], 'chats' => [[Chat](../types/Chat.md)], 'users' => [[User](../types/User.md)], \] + +[$messages\_Messages](../types/messages\_Messages.md)\['[messages\_messagesSlice](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](../types/messages\_PeerDialogs.md)\['[messages\_peerDialogs](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](../types/messages\_RecentStickers.md)\['[messages\_recentStickers](messages\_recentStickers.md)'\] = \['hash' => [int](../types/int.md), 'stickers' => [[Document](../types/Document.md)], \] + +[$messages\_RecentStickers](../types/messages\_RecentStickers.md)\['[messages\_recentStickersNotModified](messages\_recentStickersNotModified.md)'\] = + +[$messages\_SavedGifs](../types/messages\_SavedGifs.md)\['[messages\_savedGifs](messages\_savedGifs.md)'\] = \['hash' => [int](../types/int.md), 'gifs' => [[Document](../types/Document.md)], \] + +[$messages\_SavedGifs](../types/messages\_SavedGifs.md)\['[messages\_savedGifsNotModified](messages\_savedGifsNotModified.md)'\] = + +[$messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md)\['[messages\_sentEncryptedFile](messages\_sentEncryptedFile.md)'\] = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \] + +[$messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md)\['[messages\_sentEncryptedMessage](messages\_sentEncryptedMessage.md)'\] = \['date' => [int](../types/int.md), \] + +[$messages\_StickerSet](../types/messages\_StickerSet.md)\['[messages\_stickerSet](messages\_stickerSet.md)'\] = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => [[StickerPack](../types/StickerPack.md)], 'documents' => [[Document](../types/Document.md)], \] + +[$messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md)\['[messages\_stickerSetInstallResultArchive](messages\_stickerSetInstallResultArchive.md)'\] = \['sets' => [[StickerSetCovered](../types/StickerSetCovered.md)], \] + +[$messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md)\['[messages\_stickerSetInstallResultSuccess](messages\_stickerSetInstallResultSuccess.md)'\] = + +[$messages\_Stickers](../types/messages\_Stickers.md)\['[messages\_stickers](messages\_stickers.md)'\] = \['hash' => [string](../types/string.md), 'stickers' => [[Document](../types/Document.md)], \] + +[$messages\_Stickers](../types/messages\_Stickers.md)\['[messages\_stickersNotModified](messages\_stickersNotModified.md)'\] = + +[$NearestDc](../types/NearestDc.md)\['[nearestDc](nearestDc.md)'\] = \['country' => [string](../types/string.md), 'this\_dc' => [int](../types/int.md), 'nearest\_dc' => [int](../types/int.md), \] + +[$NotifyPeer](../types/NotifyPeer.md)\['[notifyAll](notifyAll.md)'\] = + +[$NotifyPeer](../types/NotifyPeer.md)\['[notifyChats](notifyChats.md)'\] = + +[$NotifyPeer](../types/NotifyPeer.md)\['[notifyPeer](notifyPeer.md)'\] = \['peer' => [Peer](../types/Peer.md), \] + +[$NotifyPeer](../types/NotifyPeer.md)\['[notifyUsers](notifyUsers.md)'\] = + +[$Null](../types/Null.md)\['[null](null.md)'\] = + +[$Peer](../types/Peer.md)\['[peerChannel](peerChannel.md)'\] = \['channel\_id' => [int](../types/int.md), \] + +[$Peer](../types/Peer.md)\['[peerChat](peerChat.md)'\] = \['chat\_id' => [int](../types/int.md), \] + +[$PeerNotifyEvents](../types/PeerNotifyEvents.md)\['[peerNotifyEventsAll](peerNotifyEventsAll.md)'\] = + +[$PeerNotifyEvents](../types/PeerNotifyEvents.md)\['[peerNotifyEventsEmpty](peerNotifyEventsEmpty.md)'\] = + +[$PeerNotifySettings](../types/PeerNotifySettings.md)\['[peerNotifySettings](peerNotifySettings.md)'\] = \['show\_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute\_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \] + +[$PeerNotifySettings](../types/PeerNotifySettings.md)\['[peerNotifySettingsEmpty](peerNotifySettingsEmpty.md)'\] = + +[$PeerSettings](../types/PeerSettings.md)\['[peerSettings](peerSettings.md)'\] = \['report\_spam' => [Bool](../types/Bool.md), \] + +[$Peer](../types/Peer.md)\['[peerUser](peerUser.md)'\] = \['user\_id' => [int](../types/int.md), \] + +[$Photo](../types/Photo.md)\['[photo](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)], \] + +[$PhotoSize](../types/PhotoSize.md)\['[photoCachedSize](photoCachedSize.md)'\] = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \] + +[$Photo](../types/Photo.md)\['[photoEmpty](photoEmpty.md)'\] = \['id' => [long](../types/long.md), \] + +[$PhotoSize](../types/PhotoSize.md)\['[photoSize](photoSize.md)'\] = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \] + +[$PhotoSize](../types/PhotoSize.md)\['[photoSizeEmpty](photoSizeEmpty.md)'\] = \['type' => [string](../types/string.md), \] + +[$photos\_Photo](../types/photos\_Photo.md)\['[photos\_photo](photos\_photo.md)'\] = \['photo' => [Photo](../types/Photo.md), 'users' => [[User](../types/User.md)], \] + +[$photos\_Photos](../types/photos\_Photos.md)\['[photos\_photos](photos\_photos.md)'\] = \['photos' => [[Photo](../types/Photo.md)], 'users' => [[User](../types/User.md)], \] + +[$photos\_Photos](../types/photos\_Photos.md)\['[photos\_photosSlice](photos\_photosSlice.md)'\] = \['count' => [int](../types/int.md), 'photos' => [[Photo](../types/Photo.md)], 'users' => [[User](../types/User.md)], \] + +[$PrivacyKey](../types/PrivacyKey.md)\['[privacyKeyChatInvite](privacyKeyChatInvite.md)'\] = + +[$PrivacyKey](../types/PrivacyKey.md)\['[privacyKeyStatusTimestamp](privacyKeyStatusTimestamp.md)'\] = + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueAllowAll](privacyValueAllowAll.md)'\] = + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueAllowContacts](privacyValueAllowContacts.md)'\] = + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueAllowUsers](privacyValueAllowUsers.md)'\] = \['users' => [[int](../types/int.md)], \] + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueDisallowAll](privacyValueDisallowAll.md)'\] = + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueDisallowContacts](privacyValueDisallowContacts.md)'\] = + +[$PrivacyRule](../types/PrivacyRule.md)\['[privacyValueDisallowUsers](privacyValueDisallowUsers.md)'\] = \['users' => [[int](../types/int.md)], \] + +[$ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)\['[receivedNotifyMessage](receivedNotifyMessage.md)'\] = \['id' => [int](../types/int.md), \] + +[$ReplyMarkup](../types/ReplyMarkup.md)\['[replyInlineMarkup](replyInlineMarkup.md)'\] = \['rows' => [[KeyboardButtonRow](../types/KeyboardButtonRow.md)], \] + +[$ReplyMarkup](../types/ReplyMarkup.md)\['[replyKeyboardForceReply](replyKeyboardForceReply.md)'\] = \['single\_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \] + +[$ReplyMarkup](../types/ReplyMarkup.md)\['[replyKeyboardHide](replyKeyboardHide.md)'\] = \['selective' => [Bool](../types/Bool.md), \] + +[$ReplyMarkup](../types/ReplyMarkup.md)\['[replyKeyboardMarkup](replyKeyboardMarkup.md)'\] = \['resize' => [Bool](../types/Bool.md), 'single\_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => [[KeyboardButtonRow](../types/KeyboardButtonRow.md)], \] + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageCancelAction](sendMessageCancelAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageChooseContactAction](sendMessageChooseContactAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageGamePlayAction](sendMessageGamePlayAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageGeoLocationAction](sendMessageGeoLocationAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageRecordAudioAction](sendMessageRecordAudioAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageRecordVideoAction](sendMessageRecordVideoAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageTypingAction](sendMessageTypingAction.md)'\] = + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageUploadAudioAction](sendMessageUploadAudioAction.md)'\] = \['progress' => [int](../types/int.md), \] + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageUploadDocumentAction](sendMessageUploadDocumentAction.md)'\] = \['progress' => [int](../types/int.md), \] + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageUploadPhotoAction](sendMessageUploadPhotoAction.md)'\] = \['progress' => [int](../types/int.md), \] + +[$SendMessageAction](../types/SendMessageAction.md)\['[sendMessageUploadVideoAction](sendMessageUploadVideoAction.md)'\] = \['progress' => [int](../types/int.md), \] + +[$StickerPack](../types/StickerPack.md)\['[stickerPack](stickerPack.md)'\] = \['emoticon' => [string](../types/string.md), 'documents' => [[long](../types/long.md)], \] + +[$StickerSet](../types/StickerSet.md)\['[stickerSet](stickerSet.md)'\] = \['installed' => [Bool](../types/Bool.md), 'archived' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'masks' => [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), \] + +[$StickerSetCovered](../types/StickerSetCovered.md)\['[stickerSetCovered](stickerSetCovered.md)'\] = \['set' => [StickerSet](../types/StickerSet.md), 'cover' => [Document](../types/Document.md), \] + +[$StickerSetCovered](../types/StickerSetCovered.md)\['[stickerSetMultiCovered](stickerSetMultiCovered.md)'\] = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => [[Document](../types/Document.md)], \] + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileGif](storage\_fileGif.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileJpeg](storage\_fileJpeg.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileMov](storage\_fileMov.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileMp3](storage\_fileMp3.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileMp4](storage\_fileMp4.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_filePartial](storage\_filePartial.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_filePdf](storage\_filePdf.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_filePng](storage\_filePng.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileUnknown](storage\_fileUnknown.md)'\] = + +[$storage\_FileType](../types/storage\_FileType.md)\['[storage\_fileWebp](storage\_fileWebp.md)'\] = + +[$TopPeer](../types/TopPeer.md)\['[topPeer](topPeer.md)'\] = \['peer' => [Peer](../types/Peer.md), 'rating' => [double](../types/double.md), \] + +[$TopPeerCategory](../types/TopPeerCategory.md)\['[topPeerCategoryBotsInline](topPeerCategoryBotsInline.md)'\] = + +[$TopPeerCategory](../types/TopPeerCategory.md)\['[topPeerCategoryBotsPM](topPeerCategoryBotsPM.md)'\] = + +[$TopPeerCategory](../types/TopPeerCategory.md)\['[topPeerCategoryChannels](topPeerCategoryChannels.md)'\] = + +[$TopPeerCategory](../types/TopPeerCategory.md)\['[topPeerCategoryCorrespondents](topPeerCategoryCorrespondents.md)'\] = + +[$TopPeerCategory](../types/TopPeerCategory.md)\['[topPeerCategoryGroups](topPeerCategoryGroups.md)'\] = + +[$TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\['[topPeerCategoryPeers](topPeerCategoryPeers.md)'\] = \['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'count' => [int](../types/int.md), 'peers' => [[TopPeer](../types/TopPeer.md)], \] + +[$True](../types/True.md)\['[true](true.md)'\] = + +[$Update](../types/Update.md)\['[updateBotCallbackQuery](updateBotCallbackQuery.md)'\] = \['query\_id' => [long](../types/long.md), 'user\_id' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'msg\_id' => [int](../types/int.md), 'chat\_instance' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'game\_short\_name' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateBotInlineQuery](updateBotInlineQuery.md)'\] = \['query\_id' => [long](../types/long.md), 'user\_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'offset' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateBotInlineSend](updateBotInlineSend.md)'\] = \['user\_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'id' => [string](../types/string.md), 'msg\_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), \] + +[$Update](../types/Update.md)\['[updateChannel](updateChannel.md)'\] = \['channel\_id' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChannelMessageViews](updateChannelMessageViews.md)'\] = \['channel\_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChannelPinnedMessage](updateChannelPinnedMessage.md)'\] = \['channel\_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChannelTooLong](updateChannelTooLong.md)'\] = \['channel\_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChatAdmins](updateChatAdmins.md)'\] = \['chat\_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChatParticipantAdd](updateChatParticipantAdd.md)'\] = \['chat\_id' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'inviter\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChatParticipantAdmin](updateChatParticipantAdmin.md)'\] = \['chat\_id' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'is\_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChatParticipantDelete](updateChatParticipantDelete.md)'\] = \['chat\_id' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateChatParticipants](updateChatParticipants.md)'\] = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \] + +[$Update](../types/Update.md)\['[updateChatUserTyping](updateChatUserTyping.md)'\] = \['chat\_id' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \] + +[$Update](../types/Update.md)\['[updateConfig](updateConfig.md)'\] = + +[$Update](../types/Update.md)\['[updateContactLink](updateContactLink.md)'\] = \['user\_id' => [int](../types/int.md), 'my\_link' => [ContactLink](../types/ContactLink.md), 'foreign\_link' => [ContactLink](../types/ContactLink.md), \] + +[$Update](../types/Update.md)\['[updateContactRegistered](updateContactRegistered.md)'\] = \['user\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateDcOptions](updateDcOptions.md)'\] = \['dc\_options' => [[DcOption](../types/DcOption.md)], \] + +[$Update](../types/Update.md)\['[updateDeleteChannelMessages](updateDeleteChannelMessages.md)'\] = \['channel\_id' => [int](../types/int.md), 'messages' => [[int](../types/int.md)], 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateDeleteMessages](updateDeleteMessages.md)'\] = \['messages' => [[int](../types/int.md)], 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateDraftMessage](updateDraftMessage.md)'\] = \['peer' => [Peer](../types/Peer.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \] + +[$Update](../types/Update.md)\['[updateEditChannelMessage](updateEditChannelMessage.md)'\] = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateEditMessage](updateEditMessage.md)'\] = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateEncryptedChatTyping](updateEncryptedChatTyping.md)'\] = \['chat\_id' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateEncryptedMessagesRead](updateEncryptedMessagesRead.md)'\] = \['chat\_id' => [int](../types/int.md), 'max\_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateEncryption](updateEncryption.md)'\] = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateInlineBotCallbackQuery](updateInlineBotCallbackQuery.md)'\] = \['query\_id' => [long](../types/long.md), 'user\_id' => [int](../types/int.md), 'msg\_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'chat\_instance' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'game\_short\_name' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateMessageID](updateMessageID.md)'\] = \['id' => [int](../types/int.md), 'random\_id' => [long](../types/long.md), \] + +[$Update](../types/Update.md)\['[updateNewAuthorization](updateNewAuthorization.md)'\] = \['auth\_key\_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateNewChannelMessage](updateNewChannelMessage.md)'\] = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateNewEncryptedMessage](updateNewEncryptedMessage.md)'\] = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateNewMessage](updateNewMessage.md)'\] = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateNewStickerSet](updateNewStickerSet.md)'\] = \['stickerset' => [messages\_StickerSet](../types/messages\_StickerSet.md), \] + +[$Update](../types/Update.md)\['[updateNotifySettings](updateNotifySettings.md)'\] = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify\_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \] + +[$Update](../types/Update.md)\['[updatePrivacy](updatePrivacy.md)'\] = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => [[PrivacyRule](../types/PrivacyRule.md)], \] + +[$Update](../types/Update.md)\['[updatePtsChanged](updatePtsChanged.md)'\] = + +[$Update](../types/Update.md)\['[updateReadChannelInbox](updateReadChannelInbox.md)'\] = \['channel\_id' => [int](../types/int.md), 'max\_id' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateReadChannelOutbox](updateReadChannelOutbox.md)'\] = \['channel\_id' => [int](../types/int.md), 'max\_id' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateReadFeaturedStickers](updateReadFeaturedStickers.md)'\] = + +[$Update](../types/Update.md)\['[updateReadHistoryInbox](updateReadHistoryInbox.md)'\] = \['peer' => [Peer](../types/Peer.md), 'max\_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateReadHistoryOutbox](updateReadHistoryOutbox.md)'\] = \['peer' => [Peer](../types/Peer.md), 'max\_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateReadMessagesContents](updateReadMessagesContents.md)'\] = \['messages' => [[int](../types/int.md)], 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Update](../types/Update.md)\['[updateRecentStickers](updateRecentStickers.md)'\] = + +[$Update](../types/Update.md)\['[updateSavedGifs](updateSavedGifs.md)'\] = + +[$Update](../types/Update.md)\['[updateServiceNotification](updateServiceNotification.md)'\] = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \] + +[$Updates](../types/Updates.md)\['[updateShort](updateShort.md)'\] = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \] + +[$Updates](../types/Updates.md)\['[updateShortChatMessage](updateShortChatMessage.md)'\] = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media\_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from\_id' => [int](../types/int.md), 'chat\_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd\_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via\_bot\_id' => [int](../types/int.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \] + +[$Updates](../types/Updates.md)\['[updateShortMessage](updateShortMessage.md)'\] = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media\_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user\_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd\_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via\_bot\_id' => [int](../types/int.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \] + +[$Updates](../types/Updates.md)\['[updateShortSentMessage](updateShortSentMessage.md)'\] = \['out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \] + +[$Update](../types/Update.md)\['[updateStickerSets](updateStickerSets.md)'\] = + +[$Update](../types/Update.md)\['[updateStickerSetsOrder](updateStickerSetsOrder.md)'\] = \['masks' => [Bool](../types/Bool.md), 'order' => [[long](../types/long.md)], \] + +[$Update](../types/Update.md)\['[updateUserBlocked](updateUserBlocked.md)'\] = \['user\_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \] + +[$Update](../types/Update.md)\['[updateUserName](updateUserName.md)'\] = \['user\_id' => [int](../types/int.md), 'first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateUserPhone](updateUserPhone.md)'\] = \['user\_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \] + +[$Update](../types/Update.md)\['[updateUserPhoto](updateUserPhoto.md)'\] = \['user\_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \] + +[$Update](../types/Update.md)\['[updateUserStatus](updateUserStatus.md)'\] = \['user\_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \] + +[$Update](../types/Update.md)\['[updateUserTyping](updateUserTyping.md)'\] = \['user\_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \] + +[$Update](../types/Update.md)\['[updateWebPage](updateWebPage.md)'\] = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts\_count' => [int](../types/int.md), \] + +[$Updates](../types/Updates.md)\['[updates](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](../types/Updates.md)\['[updatesCombined](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), \] + +[$Updates](../types/Updates.md)\['[updatesTooLong](updatesTooLong.md)'\] = + +[$updates\_ChannelDifference](../types/updates\_ChannelDifference.md)\['[updates\_channelDifference](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\_ChannelDifference](../types/updates\_ChannelDifference.md)\['[updates\_channelDifferenceEmpty](updates\_channelDifferenceEmpty.md)'\] = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \] + +[$updates\_ChannelDifference](../types/updates\_ChannelDifference.md)\['[updates\_channelDifferenceTooLong](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](../types/updates\_Difference.md)\['[updates\_difference](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\_Difference](../types/updates\_Difference.md)\['[updates\_differenceEmpty](updates\_differenceEmpty.md)'\] = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \] + +[$updates\_Difference](../types/updates\_Difference.md)\['[updates\_differenceSlice](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](../types/updates\_State.md)\['[updates\_state](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](../types/upload\_File.md)\['[upload\_file](upload\_file.md)'\] = \['type' => [storage\_FileType](../types/storage\_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \] + +[$User](../types/User.md)\['[user](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), \] + +[$User](../types/User.md)\['[userEmpty](userEmpty.md)'\] = \['id' => [int](../types/int.md), \] + +[$UserFull](../types/UserFull.md)\['[userFull](userFull.md)'\] = \['blocked' => [Bool](../types/Bool.md), 'user' => [User](../types/User.md), 'about' => [string](../types/string.md), 'link' => [contacts\_Link](../types/contacts\_Link.md), 'profile\_photo' => [Photo](../types/Photo.md), 'notify\_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'bot\_info' => [BotInfo](../types/BotInfo.md), \] + +[$UserProfilePhoto](../types/UserProfilePhoto.md)\['[userProfilePhoto](userProfilePhoto.md)'\] = \['photo\_id' => [long](../types/long.md), 'photo\_small' => [FileLocation](../types/FileLocation.md), 'photo\_big' => [FileLocation](../types/FileLocation.md), \] + +[$UserProfilePhoto](../types/UserProfilePhoto.md)\['[userProfilePhotoEmpty](userProfilePhotoEmpty.md)'\] = + +[$UserStatus](../types/UserStatus.md)\['[userStatusEmpty](userStatusEmpty.md)'\] = + +[$UserStatus](../types/UserStatus.md)\['[userStatusLastMonth](userStatusLastMonth.md)'\] = + +[$UserStatus](../types/UserStatus.md)\['[userStatusLastWeek](userStatusLastWeek.md)'\] = + +[$UserStatus](../types/UserStatus.md)\['[userStatusOffline](userStatusOffline.md)'\] = \['was\_online' => [int](../types/int.md), \] + +[$UserStatus](../types/UserStatus.md)\['[userStatusOnline](userStatusOnline.md)'\] = \['expires' => [int](../types/int.md), \] + +[$UserStatus](../types/UserStatus.md)\['[userStatusRecently](userStatusRecently.md)'\] = + +[$Vector t](../types/Vector t.md)\['[vector](vector.md)'\] = + +[$WallPaper](../types/WallPaper.md)\['[wallPaper](wallPaper.md)'\] = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => [[PhotoSize](../types/PhotoSize.md)], 'color' => [int](../types/int.md), \] + +[$WallPaper](../types/WallPaper.md)\['[wallPaperSolid](wallPaperSolid.md)'\] = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg\_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \] + +[$WebPage](../types/WebPage.md)\['[webPage](webPage.md)'\] = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display\_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site\_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed\_url' => [string](../types/string.md), 'embed\_type' => [string](../types/string.md), 'embed\_width' => [int](../types/int.md), 'embed\_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \] + +[$WebPage](../types/WebPage.md)\['[webPageEmpty](webPageEmpty.md)'\] = \['id' => [long](../types/long.md), \] + +[$WebPage](../types/WebPage.md)\['[webPagePending](webPagePending.md)'\] = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \] + +
\ No newline at end of file diff --git a/docs/API_docs/constructors/inlineBotSwitchPM.md b/docs/API_docs/constructors/inlineBotSwitchPM.md new file mode 100644 index 00000000..e2c38de4 --- /dev/null +++ b/docs/API_docs/constructors/inlineBotSwitchPM.md @@ -0,0 +1,18 @@ +## Constructor: inlineBotSwitchPM + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md) + +### Example: + + +``` +$inlineBotSwitchPM = ['text' => string, 'start_param' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputAppEvent.md b/docs/API_docs/constructors/inputAppEvent.md new file mode 100644 index 00000000..6ebbdfbd --- /dev/null +++ b/docs/API_docs/constructors/inputAppEvent.md @@ -0,0 +1,20 @@ +## Constructor: inputAppEvent + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + +### Example: + + +``` +$inputAppEvent = ['time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageGame.md b/docs/API_docs/constructors/inputBotInlineMessageGame.md new file mode 100644 index 00000000..b2cedf5d --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageGame.md @@ -0,0 +1,17 @@ +## Constructor: inputBotInlineMessageGame + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageGame = ['reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageID.md b/docs/API_docs/constructors/inputBotInlineMessageID.md new file mode 100644 index 00000000..e48c4513 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageID.md @@ -0,0 +1,19 @@ +## Constructor: inputBotInlineMessageID + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputBotInlineMessageID](../types/InputBotInlineMessageID.md) + +### Example: + + +``` +$inputBotInlineMessageID = ['dc_id' => int, 'id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..2ba617b1 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,18 @@ +## Constructor: inputBotInlineMessageMediaAuto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageMediaAuto = ['caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md new file mode 100644 index 00000000..1376ebbb --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md @@ -0,0 +1,20 @@ +## Constructor: inputBotInlineMessageMediaContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md new file mode 100644 index 00000000..5772ad78 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md @@ -0,0 +1,18 @@ +## Constructor: inputBotInlineMessageMediaGeo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageMediaGeo = ['geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md new file mode 100644 index 00000000..e2a9e9a6 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md @@ -0,0 +1,22 @@ +## Constructor: inputBotInlineMessageMediaVenue + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageMediaVenue = ['geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..df731486 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -0,0 +1,20 @@ +## Constructor: inputBotInlineMessageText + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + +### Example: + + +``` +$inputBotInlineMessageText = ['no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineResult.md b/docs/API_docs/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..e092f6cf --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineResult.md @@ -0,0 +1,28 @@ +## Constructor: inputBotInlineResult + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + +### Example: + + +``` +$inputBotInlineResult = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineResultDocument.md b/docs/API_docs/constructors/inputBotInlineResultDocument.md new file mode 100644 index 00000000..070b53a3 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineResultDocument.md @@ -0,0 +1,22 @@ +## Constructor: inputBotInlineResultDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|document|[InputDocument](../types/InputDocument.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + +### Example: + + +``` +$inputBotInlineResultDocument = ['id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineResultGame.md b/docs/API_docs/constructors/inputBotInlineResultGame.md new file mode 100644 index 00000000..717721e5 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineResultGame.md @@ -0,0 +1,19 @@ +## Constructor: inputBotInlineResultGame + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + +### Example: + + +``` +$inputBotInlineResultGame = ['id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputBotInlineResultPhoto.md b/docs/API_docs/constructors/inputBotInlineResultPhoto.md new file mode 100644 index 00000000..17c659e7 --- /dev/null +++ b/docs/API_docs/constructors/inputBotInlineResultPhoto.md @@ -0,0 +1,20 @@ +## Constructor: inputBotInlineResultPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[InputPhoto](../types/InputPhoto.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + +### Example: + + +``` +$inputBotInlineResultPhoto = ['id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChannel.md b/docs/API_docs/constructors/inputChannel.md new file mode 100644 index 00000000..d72ae335 --- /dev/null +++ b/docs/API_docs/constructors/inputChannel.md @@ -0,0 +1,18 @@ +## Constructor: inputChannel + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputChannel](../types/InputChannel.md) + +### Example: + + +``` +$inputChannel = ['channel_id' => int, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChannelEmpty.md b/docs/API_docs/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..72638b5e --- /dev/null +++ b/docs/API_docs/constructors/inputChannelEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputChannelEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputChannel](../types/InputChannel.md) + +### Example: + + +``` +$inputChannelEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChatPhoto.md b/docs/API_docs/constructors/inputChatPhoto.md new file mode 100644 index 00000000..74667826 --- /dev/null +++ b/docs/API_docs/constructors/inputChatPhoto.md @@ -0,0 +1,17 @@ +## Constructor: inputChatPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + +### Example: + + +``` +$inputChatPhoto = ['id' => InputPhoto, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChatPhotoEmpty.md b/docs/API_docs/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..5a65a1ed --- /dev/null +++ b/docs/API_docs/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputChatPhotoEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + +### Example: + + +``` +$inputChatPhotoEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChatUploadedPhoto.md b/docs/API_docs/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..4572af3e --- /dev/null +++ b/docs/API_docs/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,17 @@ +## Constructor: inputChatUploadedPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + +### Example: + + +``` +$inputChatUploadedPhoto = ['file' => InputFile, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputDocument.md b/docs/API_docs/constructors/inputDocument.md new file mode 100644 index 00000000..1a1c7aef --- /dev/null +++ b/docs/API_docs/constructors/inputDocument.md @@ -0,0 +1,18 @@ +## Constructor: inputDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputDocument](../types/InputDocument.md) + +### Example: + + +``` +$inputDocument = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputDocumentEmpty.md b/docs/API_docs/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..ea03e2e3 --- /dev/null +++ b/docs/API_docs/constructors/inputDocumentEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputDocumentEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputDocument](../types/InputDocument.md) + +### Example: + + +``` +$inputDocumentEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputDocumentFileLocation.md b/docs/API_docs/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..d146d976 --- /dev/null +++ b/docs/API_docs/constructors/inputDocumentFileLocation.md @@ -0,0 +1,19 @@ +## Constructor: inputDocumentFileLocation + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + +### Example: + + +``` +$inputDocumentFileLocation = ['id' => long, 'access_hash' => long, 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedChat.md b/docs/API_docs/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..cb6c15ad --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedChat.md @@ -0,0 +1,18 @@ +## Constructor: inputEncryptedChat + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + +### Example: + + +``` +$inputEncryptedChat = ['chat_id' => int, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedFile.md b/docs/API_docs/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f2ea1c46 --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedFile.md @@ -0,0 +1,18 @@ +## Constructor: inputEncryptedFile + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + +### Example: + + +``` +$inputEncryptedFile = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..c27e18d9 --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,19 @@ +## Constructor: inputEncryptedFileBigUploaded + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + +### Example: + + +``` +$inputEncryptedFileBigUploaded = ['id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedFileEmpty.md b/docs/API_docs/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..df7e1ee8 --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputEncryptedFileEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + +### Example: + + +``` +$inputEncryptedFileEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedFileLocation.md b/docs/API_docs/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..27f57c0e --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,18 @@ +## Constructor: inputEncryptedFileLocation + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + +### Example: + + +``` +$inputEncryptedFileLocation = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputEncryptedFileUploaded.md b/docs/API_docs/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..f7c5b539 --- /dev/null +++ b/docs/API_docs/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,20 @@ +## Constructor: inputEncryptedFileUploaded + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + +### Example: + + +``` +$inputEncryptedFileUploaded = ['id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputFile.md b/docs/API_docs/constructors/inputFile.md new file mode 100644 index 00000000..4fe8f684 --- /dev/null +++ b/docs/API_docs/constructors/inputFile.md @@ -0,0 +1,20 @@ +## Constructor: inputFile + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + +### Type: [InputFile](../types/InputFile.md) + +### Example: + + +``` +$inputFile = ['id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputFileBig.md b/docs/API_docs/constructors/inputFileBig.md new file mode 100644 index 00000000..ffc64a7f --- /dev/null +++ b/docs/API_docs/constructors/inputFileBig.md @@ -0,0 +1,19 @@ +## Constructor: inputFileBig + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + +### Type: [InputFile](../types/InputFile.md) + +### Example: + + +``` +$inputFileBig = ['id' => long, 'parts' => int, 'name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputFileLocation.md b/docs/API_docs/constructors/inputFileLocation.md new file mode 100644 index 00000000..38001402 --- /dev/null +++ b/docs/API_docs/constructors/inputFileLocation.md @@ -0,0 +1,19 @@ +## Constructor: inputFileLocation + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + +### Example: + + +``` +$inputFileLocation = ['volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputGameID.md b/docs/API_docs/constructors/inputGameID.md new file mode 100644 index 00000000..3373bcc3 --- /dev/null +++ b/docs/API_docs/constructors/inputGameID.md @@ -0,0 +1,18 @@ +## Constructor: inputGameID + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputGame](../types/InputGame.md) + +### Example: + + +``` +$inputGameID = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputGameShortName.md b/docs/API_docs/constructors/inputGameShortName.md new file mode 100644 index 00000000..3e4687a3 --- /dev/null +++ b/docs/API_docs/constructors/inputGameShortName.md @@ -0,0 +1,18 @@ +## Constructor: inputGameShortName + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot\_id|[InputUser](../types/InputUser.md) | Required| +|short\_name|[string](../types/string.md) | Required| + + +### Type: [InputGame](../types/InputGame.md) + +### Example: + + +``` +$inputGameShortName = ['bot_id' => InputUser, 'short_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputGeoPoint.md b/docs/API_docs/constructors/inputGeoPoint.md new file mode 100644 index 00000000..c001ad30 --- /dev/null +++ b/docs/API_docs/constructors/inputGeoPoint.md @@ -0,0 +1,18 @@ +## Constructor: inputGeoPoint + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + +### Example: + + +``` +$inputGeoPoint = ['lat' => double, 'long' => double, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputGeoPointEmpty.md b/docs/API_docs/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..32467082 --- /dev/null +++ b/docs/API_docs/constructors/inputGeoPointEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputGeoPointEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + +### Example: + + +``` +$inputGeoPointEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaContact.md b/docs/API_docs/constructors/inputMediaContact.md new file mode 100644 index 00000000..48ac53db --- /dev/null +++ b/docs/API_docs/constructors/inputMediaContact.md @@ -0,0 +1,19 @@ +## Constructor: inputMediaContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaDocument.md b/docs/API_docs/constructors/inputMediaDocument.md new file mode 100644 index 00000000..38a667e0 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaDocument.md @@ -0,0 +1,18 @@ +## Constructor: inputMediaDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaDocument = ['id' => InputDocument, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaDocumentExternal.md b/docs/API_docs/constructors/inputMediaDocumentExternal.md new file mode 100644 index 00000000..9399424a --- /dev/null +++ b/docs/API_docs/constructors/inputMediaDocumentExternal.md @@ -0,0 +1,18 @@ +## Constructor: inputMediaDocumentExternal + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaDocumentExternal = ['url' => string, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaEmpty.md b/docs/API_docs/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..50a79874 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputMediaEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaGame.md b/docs/API_docs/constructors/inputMediaGame.md new file mode 100644 index 00000000..4fba4ef9 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaGame.md @@ -0,0 +1,17 @@ +## Constructor: inputMediaGame + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputGame](../types/InputGame.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaGame = ['id' => InputGame, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaGeoPoint.md b/docs/API_docs/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..a68a655d --- /dev/null +++ b/docs/API_docs/constructors/inputMediaGeoPoint.md @@ -0,0 +1,17 @@ +## Constructor: inputMediaGeoPoint + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaGeoPoint = ['geo_point' => InputGeoPoint, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaGifExternal.md b/docs/API_docs/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..96fcbec6 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaGifExternal.md @@ -0,0 +1,18 @@ +## Constructor: inputMediaGifExternal + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaGifExternal = ['url' => string, 'q' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaPhoto.md b/docs/API_docs/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..f1d6b9f8 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaPhoto.md @@ -0,0 +1,18 @@ +## Constructor: inputMediaPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaPhoto = ['id' => InputPhoto, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaPhotoExternal.md b/docs/API_docs/constructors/inputMediaPhotoExternal.md new file mode 100644 index 00000000..68f1b3dc --- /dev/null +++ b/docs/API_docs/constructors/inputMediaPhotoExternal.md @@ -0,0 +1,18 @@ +## Constructor: inputMediaPhotoExternal + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaPhotoExternal = ['url' => string, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaUploadedDocument.md b/docs/API_docs/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..201e3214 --- /dev/null +++ b/docs/API_docs/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,21 @@ +## Constructor: inputMediaUploadedDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| +|stickers|Array of [InputDocument](../types/InputDocument.md) | Optional| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaUploadedDocument = ['file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaUploadedPhoto.md b/docs/API_docs/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..d92326df --- /dev/null +++ b/docs/API_docs/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,19 @@ +## Constructor: inputMediaUploadedPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|stickers|Array of [InputDocument](../types/InputDocument.md) | Optional| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaUploadedPhoto = ['file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..89210dcc --- /dev/null +++ b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,22 @@ +## Constructor: inputMediaUploadedThumbDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| +|stickers|Array of [InputDocument](../types/InputDocument.md) | Optional| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaUploadedThumbDocument = ['file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMediaVenue.md b/docs/API_docs/constructors/inputMediaVenue.md new file mode 100644 index 00000000..0042b0da --- /dev/null +++ b/docs/API_docs/constructors/inputMediaVenue.md @@ -0,0 +1,21 @@ +## Constructor: inputMediaVenue + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + +### Type: [InputMedia](../types/InputMedia.md) + +### Example: + + +``` +$inputMediaVenue = ['geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessageEntityMentionName.md b/docs/API_docs/constructors/inputMessageEntityMentionName.md new file mode 100644 index 00000000..7f69ebf3 --- /dev/null +++ b/docs/API_docs/constructors/inputMessageEntityMentionName.md @@ -0,0 +1,19 @@ +## Constructor: inputMessageEntityMentionName + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$inputMessageEntityMentionName = ['offset' => int, 'length' => int, 'user_id' => InputUser, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md new file mode 100644 index 00000000..ad7139c1 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterChatPhotos + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterChatPhotos = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterDocument.md b/docs/API_docs/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..e8804342 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterDocument = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterEmpty.md b/docs/API_docs/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..b2f5a181 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterGif.md b/docs/API_docs/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d95c9650 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterGif.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterGif + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterGif = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterMusic.md b/docs/API_docs/constructors/inputMessagesFilterMusic.md new file mode 100644 index 00000000..7fa69ef3 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterMusic.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterMusic + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterMusic = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..8fb29c66 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterPhotoVideo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterPhotoVideo = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..e9f945ae --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterPhotoVideoDocuments + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterPhotoVideoDocuments = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotos.md b/docs/API_docs/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..52b4cde4 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterPhotos + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterPhotos = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterUrl.md b/docs/API_docs/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..93d91d42 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterUrl + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterUrl = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterVideo.md b/docs/API_docs/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..20d0a3eb --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterVideo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterVideo = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputMessagesFilterVoice.md b/docs/API_docs/constructors/inputMessagesFilterVoice.md new file mode 100644 index 00000000..8bf3c818 --- /dev/null +++ b/docs/API_docs/constructors/inputMessagesFilterVoice.md @@ -0,0 +1,16 @@ +## Constructor: inputMessagesFilterVoice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + +### Example: + + +``` +$inputMessagesFilterVoice = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputNotifyAll.md b/docs/API_docs/constructors/inputNotifyAll.md new file mode 100644 index 00000000..6c441d6f --- /dev/null +++ b/docs/API_docs/constructors/inputNotifyAll.md @@ -0,0 +1,16 @@ +## Constructor: inputNotifyAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + +### Example: + + +``` +$inputNotifyAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputNotifyChats.md b/docs/API_docs/constructors/inputNotifyChats.md new file mode 100644 index 00000000..334714b2 --- /dev/null +++ b/docs/API_docs/constructors/inputNotifyChats.md @@ -0,0 +1,16 @@ +## Constructor: inputNotifyChats + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + +### Example: + + +``` +$inputNotifyChats = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputNotifyPeer.md b/docs/API_docs/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..1bb5ff20 --- /dev/null +++ b/docs/API_docs/constructors/inputNotifyPeer.md @@ -0,0 +1,17 @@ +## Constructor: inputNotifyPeer + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + +### Example: + + +``` +$inputNotifyPeer = ['peer' => InputPeer, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputNotifyUsers.md b/docs/API_docs/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..b6f5b9de --- /dev/null +++ b/docs/API_docs/constructors/inputNotifyUsers.md @@ -0,0 +1,16 @@ +## Constructor: inputNotifyUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + +### Example: + + +``` +$inputNotifyUsers = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerChannel.md b/docs/API_docs/constructors/inputPeerChannel.md new file mode 100644 index 00000000..52cbb0ee --- /dev/null +++ b/docs/API_docs/constructors/inputPeerChannel.md @@ -0,0 +1,18 @@ +## Constructor: inputPeerChannel + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputPeer](../types/InputPeer.md) + +### Example: + + +``` +$inputPeerChannel = ['channel_id' => int, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerChat.md b/docs/API_docs/constructors/inputPeerChat.md new file mode 100644 index 00000000..b7dd6e00 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerChat.md @@ -0,0 +1,17 @@ +## Constructor: inputPeerChat + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Type: [InputPeer](../types/InputPeer.md) + +### Example: + + +``` +$inputPeerChat = ['chat_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerEmpty.md b/docs/API_docs/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..9f570c19 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputPeerEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPeer](../types/InputPeer.md) + +### Example: + + +``` +$inputPeerEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..f866106e --- /dev/null +++ b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,16 @@ +## Constructor: inputPeerNotifyEventsAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + +### Example: + + +``` +$inputPeerNotifyEventsAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..bdf42fd1 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputPeerNotifyEventsEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + +### Example: + + +``` +$inputPeerNotifyEventsEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..eb5cde56 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -0,0 +1,20 @@ +## Constructor: inputPeerNotifySettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + +### Example: + + +``` +$inputPeerNotifySettings = ['show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerSelf.md b/docs/API_docs/constructors/inputPeerSelf.md new file mode 100644 index 00000000..70161667 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerSelf.md @@ -0,0 +1,16 @@ +## Constructor: inputPeerSelf + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPeer](../types/InputPeer.md) + +### Example: + + +``` +$inputPeerSelf = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerUser.md b/docs/API_docs/constructors/inputPeerUser.md new file mode 100644 index 00000000..af433961 --- /dev/null +++ b/docs/API_docs/constructors/inputPeerUser.md @@ -0,0 +1,18 @@ +## Constructor: inputPeerUser + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputPeer](../types/InputPeer.md) + +### Example: + + +``` +$inputPeerUser = ['user_id' => int, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPhoneContact.md b/docs/API_docs/constructors/inputPhoneContact.md new file mode 100644 index 00000000..c8fb4439 --- /dev/null +++ b/docs/API_docs/constructors/inputPhoneContact.md @@ -0,0 +1,20 @@ +## Constructor: inputPhoneContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Type: [InputContact](../types/InputContact.md) + +### Example: + + +``` +$inputPhoneContact = ['client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPhoto.md b/docs/API_docs/constructors/inputPhoto.md new file mode 100644 index 00000000..bcb06a85 --- /dev/null +++ b/docs/API_docs/constructors/inputPhoto.md @@ -0,0 +1,18 @@ +## Constructor: inputPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputPhoto](../types/InputPhoto.md) + +### Example: + + +``` +$inputPhoto = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPhotoEmpty.md b/docs/API_docs/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..aa6d3ede --- /dev/null +++ b/docs/API_docs/constructors/inputPhotoEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputPhotoEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPhoto](../types/InputPhoto.md) + +### Example: + + +``` +$inputPhotoEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md new file mode 100644 index 00000000..c5867725 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyKeyChatInvite + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + +### Example: + + +``` +$inputPrivacyKeyChatInvite = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..7c18543c --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyKeyStatusTimestamp + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + +### Example: + + +``` +$inputPrivacyKeyStatusTimestamp = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..94f53d48 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyValueAllowAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueAllowAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..e77e5256 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyValueAllowContacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueAllowContacts = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..fc49e3d9 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,17 @@ +## Constructor: inputPrivacyValueAllowUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueAllowUsers = ['users' => [InputUser], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..c3d896f1 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyValueDisallowAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueDisallowAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..10fdaf72 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,16 @@ +## Constructor: inputPrivacyValueDisallowContacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueDisallowContacts = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..b27c79f2 --- /dev/null +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,17 @@ +## Constructor: inputPrivacyValueDisallowUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + +### Example: + + +``` +$inputPrivacyValueDisallowUsers = ['users' => [InputUser], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputReportReasonOther.md b/docs/API_docs/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..02b1dec2 --- /dev/null +++ b/docs/API_docs/constructors/inputReportReasonOther.md @@ -0,0 +1,17 @@ +## Constructor: inputReportReasonOther + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [ReportReason](../types/ReportReason.md) + +### Example: + + +``` +$inputReportReasonOther = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputReportReasonPornography.md b/docs/API_docs/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..3bed6bbc --- /dev/null +++ b/docs/API_docs/constructors/inputReportReasonPornography.md @@ -0,0 +1,16 @@ +## Constructor: inputReportReasonPornography + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ReportReason](../types/ReportReason.md) + +### Example: + + +``` +$inputReportReasonPornography = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputReportReasonSpam.md b/docs/API_docs/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..2615dee4 --- /dev/null +++ b/docs/API_docs/constructors/inputReportReasonSpam.md @@ -0,0 +1,16 @@ +## Constructor: inputReportReasonSpam + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ReportReason](../types/ReportReason.md) + +### Example: + + +``` +$inputReportReasonSpam = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputReportReasonViolence.md b/docs/API_docs/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..0aea3cd2 --- /dev/null +++ b/docs/API_docs/constructors/inputReportReasonViolence.md @@ -0,0 +1,16 @@ +## Constructor: inputReportReasonViolence + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [ReportReason](../types/ReportReason.md) + +### Example: + + +``` +$inputReportReasonViolence = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputStickerSetEmpty.md b/docs/API_docs/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..1b48748b --- /dev/null +++ b/docs/API_docs/constructors/inputStickerSetEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputStickerSetEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + +### Example: + + +``` +$inputStickerSetEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputStickerSetID.md b/docs/API_docs/constructors/inputStickerSetID.md new file mode 100644 index 00000000..1ac594c8 --- /dev/null +++ b/docs/API_docs/constructors/inputStickerSetID.md @@ -0,0 +1,18 @@ +## Constructor: inputStickerSetID + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + +### Example: + + +``` +$inputStickerSetID = ['id' => long, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputStickerSetShortName.md b/docs/API_docs/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..a6c00154 --- /dev/null +++ b/docs/API_docs/constructors/inputStickerSetShortName.md @@ -0,0 +1,17 @@ +## Constructor: inputStickerSetShortName + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + +### Example: + + +``` +$inputStickerSetShortName = ['short_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputStickeredMediaDocument.md b/docs/API_docs/constructors/inputStickeredMediaDocument.md new file mode 100644 index 00000000..45d64e5f --- /dev/null +++ b/docs/API_docs/constructors/inputStickeredMediaDocument.md @@ -0,0 +1,17 @@ +## Constructor: inputStickeredMediaDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + +### Type: [InputStickeredMedia](../types/InputStickeredMedia.md) + +### Example: + + +``` +$inputStickeredMediaDocument = ['id' => InputDocument, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputStickeredMediaPhoto.md b/docs/API_docs/constructors/inputStickeredMediaPhoto.md new file mode 100644 index 00000000..0a4be2ce --- /dev/null +++ b/docs/API_docs/constructors/inputStickeredMediaPhoto.md @@ -0,0 +1,17 @@ +## Constructor: inputStickeredMediaPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + +### Type: [InputStickeredMedia](../types/InputStickeredMedia.md) + +### Example: + + +``` +$inputStickeredMediaPhoto = ['id' => InputPhoto, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputUser.md b/docs/API_docs/constructors/inputUser.md new file mode 100644 index 00000000..aacfeaa4 --- /dev/null +++ b/docs/API_docs/constructors/inputUser.md @@ -0,0 +1,18 @@ +## Constructor: inputUser + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + +### Type: [InputUser](../types/InputUser.md) + +### Example: + + +``` +$inputUser = ['user_id' => int, 'access_hash' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputUserEmpty.md b/docs/API_docs/constructors/inputUserEmpty.md new file mode 100644 index 00000000..764f8604 --- /dev/null +++ b/docs/API_docs/constructors/inputUserEmpty.md @@ -0,0 +1,16 @@ +## Constructor: inputUserEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputUser](../types/InputUser.md) + +### Example: + + +``` +$inputUserEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputUserSelf.md b/docs/API_docs/constructors/inputUserSelf.md new file mode 100644 index 00000000..29485ba6 --- /dev/null +++ b/docs/API_docs/constructors/inputUserSelf.md @@ -0,0 +1,16 @@ +## Constructor: inputUserSelf + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [InputUser](../types/InputUser.md) + +### Example: + + +``` +$inputUserSelf = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButton.md b/docs/API_docs/constructors/keyboardButton.md new file mode 100644 index 00000000..3b641cb2 --- /dev/null +++ b/docs/API_docs/constructors/keyboardButton.md @@ -0,0 +1,17 @@ +## Constructor: keyboardButton + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButton = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonCallback.md b/docs/API_docs/constructors/keyboardButtonCallback.md new file mode 100644 index 00000000..86f4b6bb --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonCallback.md @@ -0,0 +1,18 @@ +## Constructor: keyboardButtonCallback + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonCallback = ['text' => string, 'data' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonGame.md b/docs/API_docs/constructors/keyboardButtonGame.md new file mode 100644 index 00000000..05222530 --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonGame.md @@ -0,0 +1,17 @@ +## Constructor: keyboardButtonGame + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonGame = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md new file mode 100644 index 00000000..5d3db5c6 --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md @@ -0,0 +1,17 @@ +## Constructor: keyboardButtonRequestGeoLocation + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonRequestGeoLocation = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonRequestPhone.md b/docs/API_docs/constructors/keyboardButtonRequestPhone.md new file mode 100644 index 00000000..da0bd637 --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonRequestPhone.md @@ -0,0 +1,17 @@ +## Constructor: keyboardButtonRequestPhone + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonRequestPhone = ['text' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonRow.md b/docs/API_docs/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..aa9c95d9 --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonRow.md @@ -0,0 +1,17 @@ +## Constructor: keyboardButtonRow + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + +### Example: + + +``` +$keyboardButtonRow = ['buttons' => [KeyboardButton], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md new file mode 100644 index 00000000..65fd359a --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -0,0 +1,19 @@ +## Constructor: keyboardButtonSwitchInline + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|same\_peer|[Bool](../types/Bool.md) | Optional| +|text|[string](../types/string.md) | Required| +|query|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonSwitchInline = ['same_peer' => Bool, 'text' => string, 'query' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButtonUrl.md b/docs/API_docs/constructors/keyboardButtonUrl.md new file mode 100644 index 00000000..d956b04b --- /dev/null +++ b/docs/API_docs/constructors/keyboardButtonUrl.md @@ -0,0 +1,18 @@ +## Constructor: keyboardButtonUrl + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|url|[string](../types/string.md) | Required| + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + +### Example: + + +``` +$keyboardButtonUrl = ['text' => string, 'url' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/maskCoords.md b/docs/API_docs/constructors/maskCoords.md new file mode 100644 index 00000000..ab251b0f --- /dev/null +++ b/docs/API_docs/constructors/maskCoords.md @@ -0,0 +1,20 @@ +## Constructor: maskCoords + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|n|[int](../types/int.md) | Required| +|x|[double](../types/double.md) | Required| +|y|[double](../types/double.md) | Required| +|zoom|[double](../types/double.md) | Required| + + +### Type: [MaskCoords](../types/MaskCoords.md) + +### Example: + + +``` +$maskCoords = ['n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/message.md b/docs/API_docs/constructors/message.md new file mode 100644 index 00000000..2676dd27 --- /dev/null +++ b/docs/API_docs/constructors/message.md @@ -0,0 +1,34 @@ +## Constructor: message + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| +|edit\_date|[int](../types/int.md) | Optional| + + +### Type: [Message](../types/Message.md) + +### Example: + + +``` +$message = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChannelCreate.md b/docs/API_docs/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..f1a022eb --- /dev/null +++ b/docs/API_docs/constructors/messageActionChannelCreate.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChannelCreate + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChannelCreate = ['title' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..b77a53f3 --- /dev/null +++ b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,18 @@ +## Constructor: messageActionChannelMigrateFrom + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChannelMigrateFrom = ['title' => string, 'chat_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatAddUser.md b/docs/API_docs/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1c2bfc06 --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatAddUser.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatAddUser + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatAddUser = ['users' => [int], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatCreate.md b/docs/API_docs/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..32c0dc52 --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatCreate.md @@ -0,0 +1,18 @@ +## Constructor: messageActionChatCreate + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatCreate = ['title' => string, 'users' => [int], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatDeletePhoto.md b/docs/API_docs/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..66db0c2c --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,16 @@ +## Constructor: messageActionChatDeletePhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatDeletePhoto = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatDeleteUser.md b/docs/API_docs/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..bf1afa4b --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatDeleteUser + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatDeleteUser = ['user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatEditPhoto.md b/docs/API_docs/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..39fd197e --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatEditPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatEditPhoto = ['photo' => Photo, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatEditTitle.md b/docs/API_docs/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..4912356c --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatEditTitle.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatEditTitle + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatEditTitle = ['title' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatJoinedByLink.md b/docs/API_docs/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..680947aa --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatJoinedByLink + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatJoinedByLink = ['inviter_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionChatMigrateTo.md b/docs/API_docs/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..35abe11a --- /dev/null +++ b/docs/API_docs/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,17 @@ +## Constructor: messageActionChatMigrateTo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionChatMigrateTo = ['channel_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionEmpty.md b/docs/API_docs/constructors/messageActionEmpty.md new file mode 100644 index 00000000..b715a4fb --- /dev/null +++ b/docs/API_docs/constructors/messageActionEmpty.md @@ -0,0 +1,16 @@ +## Constructor: messageActionEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionGameScore.md b/docs/API_docs/constructors/messageActionGameScore.md new file mode 100644 index 00000000..a2549883 --- /dev/null +++ b/docs/API_docs/constructors/messageActionGameScore.md @@ -0,0 +1,18 @@ +## Constructor: messageActionGameScore + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|game\_id|[long](../types/long.md) | Required| +|score|[int](../types/int.md) | Required| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionGameScore = ['game_id' => long, 'score' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionHistoryClear.md b/docs/API_docs/constructors/messageActionHistoryClear.md new file mode 100644 index 00000000..06fa6011 --- /dev/null +++ b/docs/API_docs/constructors/messageActionHistoryClear.md @@ -0,0 +1,16 @@ +## Constructor: messageActionHistoryClear + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionHistoryClear = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageActionPinMessage.md b/docs/API_docs/constructors/messageActionPinMessage.md new file mode 100644 index 00000000..062bc2d4 --- /dev/null +++ b/docs/API_docs/constructors/messageActionPinMessage.md @@ -0,0 +1,16 @@ +## Constructor: messageActionPinMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageAction](../types/MessageAction.md) + +### Example: + + +``` +$messageActionPinMessage = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEmpty.md b/docs/API_docs/constructors/messageEmpty.md new file mode 100644 index 00000000..82c60bd8 --- /dev/null +++ b/docs/API_docs/constructors/messageEmpty.md @@ -0,0 +1,17 @@ +## Constructor: messageEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [Message](../types/Message.md) + +### Example: + + +``` +$messageEmpty = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityBold.md b/docs/API_docs/constructors/messageEntityBold.md new file mode 100644 index 00000000..a9bd8666 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityBold.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityBold + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityBold = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityBotCommand.md b/docs/API_docs/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a756f299 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityBotCommand.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityBotCommand + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityBotCommand = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityCode.md b/docs/API_docs/constructors/messageEntityCode.md new file mode 100644 index 00000000..17ec7d28 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityCode.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityCode + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityCode = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityEmail.md b/docs/API_docs/constructors/messageEntityEmail.md new file mode 100644 index 00000000..3d3cf6c9 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityEmail.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityEmail + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityEmail = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityHashtag.md b/docs/API_docs/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..1b5d2190 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityHashtag.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityHashtag + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityHashtag = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityItalic.md b/docs/API_docs/constructors/messageEntityItalic.md new file mode 100644 index 00000000..5734d118 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityItalic.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityItalic + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityItalic = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityMention.md b/docs/API_docs/constructors/messageEntityMention.md new file mode 100644 index 00000000..aaec8ffc --- /dev/null +++ b/docs/API_docs/constructors/messageEntityMention.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityMention + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityMention = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityMentionName.md b/docs/API_docs/constructors/messageEntityMentionName.md new file mode 100644 index 00000000..18ca2c51 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityMentionName.md @@ -0,0 +1,19 @@ +## Constructor: messageEntityMentionName + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityMentionName = ['offset' => int, 'length' => int, 'user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityPre.md b/docs/API_docs/constructors/messageEntityPre.md new file mode 100644 index 00000000..0cb0adeb --- /dev/null +++ b/docs/API_docs/constructors/messageEntityPre.md @@ -0,0 +1,19 @@ +## Constructor: messageEntityPre + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityPre = ['offset' => int, 'length' => int, 'language' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityTextUrl.md b/docs/API_docs/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..820e6ba2 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityTextUrl.md @@ -0,0 +1,19 @@ +## Constructor: messageEntityTextUrl + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityTextUrl = ['offset' => int, 'length' => int, 'url' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityUnknown.md b/docs/API_docs/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..c4722d23 --- /dev/null +++ b/docs/API_docs/constructors/messageEntityUnknown.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityUnknown + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityUnknown = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageEntityUrl.md b/docs/API_docs/constructors/messageEntityUrl.md new file mode 100644 index 00000000..470e045f --- /dev/null +++ b/docs/API_docs/constructors/messageEntityUrl.md @@ -0,0 +1,18 @@ +## Constructor: messageEntityUrl + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + +### Type: [MessageEntity](../types/MessageEntity.md) + +### Example: + + +``` +$messageEntityUrl = ['offset' => int, 'length' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageFwdHeader.md b/docs/API_docs/constructors/messageFwdHeader.md new file mode 100644 index 00000000..086ad47d --- /dev/null +++ b/docs/API_docs/constructors/messageFwdHeader.md @@ -0,0 +1,20 @@ +## Constructor: messageFwdHeader + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|from\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|channel\_id|[int](../types/int.md) | Optional| +|channel\_post|[int](../types/int.md) | Optional| + + +### Type: [MessageFwdHeader](../types/MessageFwdHeader.md) + +### Example: + + +``` +$messageFwdHeader = ['from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaContact.md b/docs/API_docs/constructors/messageMediaContact.md new file mode 100644 index 00000000..48b689ca --- /dev/null +++ b/docs/API_docs/constructors/messageMediaContact.md @@ -0,0 +1,20 @@ +## Constructor: messageMediaContact + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaContact = ['phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaDocument.md b/docs/API_docs/constructors/messageMediaDocument.md new file mode 100644 index 00000000..20421aa5 --- /dev/null +++ b/docs/API_docs/constructors/messageMediaDocument.md @@ -0,0 +1,18 @@ +## Constructor: messageMediaDocument + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaDocument = ['document' => Document, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaEmpty.md b/docs/API_docs/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..5cae7c1c --- /dev/null +++ b/docs/API_docs/constructors/messageMediaEmpty.md @@ -0,0 +1,16 @@ +## Constructor: messageMediaEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaGame.md b/docs/API_docs/constructors/messageMediaGame.md new file mode 100644 index 00000000..6fe35672 --- /dev/null +++ b/docs/API_docs/constructors/messageMediaGame.md @@ -0,0 +1,17 @@ +## Constructor: messageMediaGame + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|game|[Game](../types/Game.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaGame = ['game' => Game, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaGeo.md b/docs/API_docs/constructors/messageMediaGeo.md new file mode 100644 index 00000000..dfcdc60b --- /dev/null +++ b/docs/API_docs/constructors/messageMediaGeo.md @@ -0,0 +1,17 @@ +## Constructor: messageMediaGeo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaGeo = ['geo' => GeoPoint, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaPhoto.md b/docs/API_docs/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..943d9312 --- /dev/null +++ b/docs/API_docs/constructors/messageMediaPhoto.md @@ -0,0 +1,18 @@ +## Constructor: messageMediaPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaPhoto = ['photo' => Photo, 'caption' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaUnsupported.md b/docs/API_docs/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..95b197ce --- /dev/null +++ b/docs/API_docs/constructors/messageMediaUnsupported.md @@ -0,0 +1,16 @@ +## Constructor: messageMediaUnsupported + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaUnsupported = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaVenue.md b/docs/API_docs/constructors/messageMediaVenue.md new file mode 100644 index 00000000..fd6acdb6 --- /dev/null +++ b/docs/API_docs/constructors/messageMediaVenue.md @@ -0,0 +1,21 @@ +## Constructor: messageMediaVenue + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaVenue = ['geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageMediaWebPage.md b/docs/API_docs/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..517e126e --- /dev/null +++ b/docs/API_docs/constructors/messageMediaWebPage.md @@ -0,0 +1,17 @@ +## Constructor: messageMediaWebPage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + +### Type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$messageMediaWebPage = ['webpage' => WebPage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageRange.md b/docs/API_docs/constructors/messageRange.md new file mode 100644 index 00000000..47ae8907 --- /dev/null +++ b/docs/API_docs/constructors/messageRange.md @@ -0,0 +1,18 @@ +## Constructor: messageRange + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Type: [MessageRange](../types/MessageRange.md) + +### Example: + + +``` +$messageRange = ['min_id' => int, 'max_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messageService.md b/docs/API_docs/constructors/messageService.md new file mode 100644 index 00000000..0a04f3cc --- /dev/null +++ b/docs/API_docs/constructors/messageService.md @@ -0,0 +1,27 @@ +## Constructor: messageService + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + +### Type: [Message](../types/Message.md) + +### Example: + + +``` +$messageService = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_affectedHistory.md b/docs/API_docs/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..8a440991 --- /dev/null +++ b/docs/API_docs/constructors/messages_affectedHistory.md @@ -0,0 +1,19 @@ +## Constructor: messages\_affectedHistory + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Type: [messages\_AffectedHistory](../types/messages\_AffectedHistory.md) + +### Example: + + +``` +$messages_affectedHistory = ['pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_affectedMessages.md b/docs/API_docs/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..a8b18a4a --- /dev/null +++ b/docs/API_docs/constructors/messages_affectedMessages.md @@ -0,0 +1,18 @@ +## Constructor: messages\_affectedMessages + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [messages\_AffectedMessages](../types/messages\_AffectedMessages.md) + +### Example: + + +``` +$messages_affectedMessages = ['pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_allStickers.md b/docs/API_docs/constructors/messages_allStickers.md new file mode 100644 index 00000000..82784c72 --- /dev/null +++ b/docs/API_docs/constructors/messages_allStickers.md @@ -0,0 +1,18 @@ +## Constructor: messages\_allStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + +### Type: [messages\_AllStickers](../types/messages\_AllStickers.md) + +### Example: + + +``` +$messages_allStickers = ['hash' => int, 'sets' => [StickerSet], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_allStickersNotModified.md b/docs/API_docs/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..7a35994c --- /dev/null +++ b/docs/API_docs/constructors/messages_allStickersNotModified.md @@ -0,0 +1,16 @@ +## Constructor: messages\_allStickersNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [messages\_AllStickers](../types/messages\_AllStickers.md) + +### Example: + + +``` +$messages_allStickersNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md new file mode 100644 index 00000000..332d3e45 --- /dev/null +++ b/docs/API_docs/constructors/messages_archivedStickers.md @@ -0,0 +1,18 @@ +## Constructor: messages\_archivedStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Required| + + +### Type: [messages\_ArchivedStickers](../types/messages\_ArchivedStickers.md) + +### Example: + + +``` +$messages_archivedStickers = ['count' => int, 'sets' => [StickerSetCovered], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md new file mode 100644 index 00000000..8c143948 --- /dev/null +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -0,0 +1,20 @@ +## Constructor: messages\_botCallbackAnswer + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|has\_url|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| + + +### Type: [messages\_BotCallbackAnswer](../types/messages\_BotCallbackAnswer.md) + +### Example: + + +``` +$messages_botCallbackAnswer = ['alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md new file mode 100644 index 00000000..79b774bd --- /dev/null +++ b/docs/API_docs/constructors/messages_botResults.md @@ -0,0 +1,21 @@ +## Constructor: messages\_botResults + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + +### Type: [messages\_BotResults](../types/messages\_BotResults.md) + +### Example: + + +``` +$messages_botResults = ['gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md new file mode 100644 index 00000000..a8ba4fd7 --- /dev/null +++ b/docs/API_docs/constructors/messages_channelMessages.md @@ -0,0 +1,21 @@ +## Constructor: messages\_channelMessages + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$messages_channelMessages = ['pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_chatFull.md b/docs/API_docs/constructors/messages_chatFull.md new file mode 100644 index 00000000..063f0cdc --- /dev/null +++ b/docs/API_docs/constructors/messages_chatFull.md @@ -0,0 +1,19 @@ +## Constructor: messages\_chatFull + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_ChatFull](../types/messages\_ChatFull.md) + +### Example: + + +``` +$messages_chatFull = ['full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_chats.md b/docs/API_docs/constructors/messages_chats.md new file mode 100644 index 00000000..93b1ad68 --- /dev/null +++ b/docs/API_docs/constructors/messages_chats.md @@ -0,0 +1,17 @@ +## Constructor: messages\_chats + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + +### Type: [messages\_Chats](../types/messages\_Chats.md) + +### Example: + + +``` +$messages_chats = ['chats' => [Chat], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_dhConfig.md b/docs/API_docs/constructors/messages_dhConfig.md new file mode 100644 index 00000000..4582f400 --- /dev/null +++ b/docs/API_docs/constructors/messages_dhConfig.md @@ -0,0 +1,20 @@ +## Constructor: messages\_dhConfig + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + +### Type: [messages\_DhConfig](../types/messages\_DhConfig.md) + +### Example: + + +``` +$messages_dhConfig = ['g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_dhConfigNotModified.md b/docs/API_docs/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..17efd0e9 --- /dev/null +++ b/docs/API_docs/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,17 @@ +## Constructor: messages\_dhConfigNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + +### Type: [messages\_DhConfig](../types/messages\_DhConfig.md) + +### Example: + + +``` +$messages_dhConfigNotModified = ['random' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_dialogs.md b/docs/API_docs/constructors/messages_dialogs.md new file mode 100644 index 00000000..1e6765f8 --- /dev/null +++ b/docs/API_docs/constructors/messages_dialogs.md @@ -0,0 +1,20 @@ +## Constructor: messages\_dialogs + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_Dialogs](../types/messages\_Dialogs.md) + +### Example: + + +``` +$messages_dialogs = ['dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..6ee0dcce --- /dev/null +++ b/docs/API_docs/constructors/messages_dialogsSlice.md @@ -0,0 +1,21 @@ +## Constructor: messages\_dialogsSlice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_Dialogs](../types/messages\_Dialogs.md) + +### Example: + + +``` +$messages_dialogsSlice = ['count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md new file mode 100644 index 00000000..74fea0c2 --- /dev/null +++ b/docs/API_docs/constructors/messages_featuredStickers.md @@ -0,0 +1,19 @@ +## Constructor: messages\_featuredStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Required| +|unread|Array of [long](../types/long.md) | Required| + + +### Type: [messages\_FeaturedStickers](../types/messages\_FeaturedStickers.md) + +### Example: + + +``` +$messages_featuredStickers = ['hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_featuredStickersNotModified.md b/docs/API_docs/constructors/messages_featuredStickersNotModified.md new file mode 100644 index 00000000..b219d8fd --- /dev/null +++ b/docs/API_docs/constructors/messages_featuredStickersNotModified.md @@ -0,0 +1,16 @@ +## Constructor: messages\_featuredStickersNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [messages\_FeaturedStickers](../types/messages\_FeaturedStickers.md) + +### Example: + + +``` +$messages_featuredStickersNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md new file mode 100644 index 00000000..afff68e1 --- /dev/null +++ b/docs/API_docs/constructors/messages_foundGifs.md @@ -0,0 +1,18 @@ +## Constructor: messages\_foundGifs + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + +### Type: [messages\_FoundGifs](../types/messages\_FoundGifs.md) + +### Example: + + +``` +$messages_foundGifs = ['next_offset' => int, 'results' => [FoundGif], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md new file mode 100644 index 00000000..9b6a15d7 --- /dev/null +++ b/docs/API_docs/constructors/messages_highScores.md @@ -0,0 +1,18 @@ +## Constructor: messages\_highScores + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|scores|Array of [HighScore](../types/HighScore.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_HighScores](../types/messages\_HighScores.md) + +### Example: + + +``` +$messages_highScores = ['scores' => [HighScore], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md new file mode 100644 index 00000000..667f433a --- /dev/null +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -0,0 +1,17 @@ +## Constructor: messages\_messageEditData + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[Bool](../types/Bool.md) | Optional| + + +### Type: [messages\_MessageEditData](../types/messages\_MessageEditData.md) + +### Example: + + +``` +$messages_messageEditData = ['caption' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_messages.md b/docs/API_docs/constructors/messages_messages.md new file mode 100644 index 00000000..a33a03d6 --- /dev/null +++ b/docs/API_docs/constructors/messages_messages.md @@ -0,0 +1,19 @@ +## Constructor: messages\_messages + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$messages_messages = ['messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..80e922dc --- /dev/null +++ b/docs/API_docs/constructors/messages_messagesSlice.md @@ -0,0 +1,20 @@ +## Constructor: messages\_messagesSlice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$messages_messagesSlice = ['count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md new file mode 100644 index 00000000..8303ba9c --- /dev/null +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -0,0 +1,21 @@ +## Constructor: messages\_peerDialogs + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates\_State.md) | Required| + + +### Type: [messages\_PeerDialogs](../types/messages\_PeerDialogs.md) + +### Example: + + +``` +$messages_peerDialogs = ['dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_recentStickers.md b/docs/API_docs/constructors/messages_recentStickers.md new file mode 100644 index 00000000..4e47f0e4 --- /dev/null +++ b/docs/API_docs/constructors/messages_recentStickers.md @@ -0,0 +1,18 @@ +## Constructor: messages\_recentStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + +### Type: [messages\_RecentStickers](../types/messages\_RecentStickers.md) + +### Example: + + +``` +$messages_recentStickers = ['hash' => int, 'stickers' => [Document], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md new file mode 100644 index 00000000..917710ee --- /dev/null +++ b/docs/API_docs/constructors/messages_recentStickersNotModified.md @@ -0,0 +1,16 @@ +## Constructor: messages\_recentStickersNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [messages\_RecentStickers](../types/messages\_RecentStickers.md) + +### Example: + + +``` +$messages_recentStickersNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..95df48b1 --- /dev/null +++ b/docs/API_docs/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,18 @@ +## Constructor: messages\_sentEncryptedFile + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + +### Type: [messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md) + +### Example: + + +``` +$messages_sentEncryptedFile = ['date' => int, 'file' => EncryptedFile, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_sentEncryptedMessage.md b/docs/API_docs/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..d60c782f --- /dev/null +++ b/docs/API_docs/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,17 @@ +## Constructor: messages\_sentEncryptedMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + +### Type: [messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md) + +### Example: + + +``` +$messages_sentEncryptedMessage = ['date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_stickerSet.md b/docs/API_docs/constructors/messages_stickerSet.md new file mode 100644 index 00000000..b0eacdb4 --- /dev/null +++ b/docs/API_docs/constructors/messages_stickerSet.md @@ -0,0 +1,19 @@ +## Constructor: messages\_stickerSet + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + +### Type: [messages\_StickerSet](../types/messages\_StickerSet.md) + +### Example: + + +``` +$messages_stickerSet = ['set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md new file mode 100644 index 00000000..c4e908dd --- /dev/null +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md @@ -0,0 +1,17 @@ +## Constructor: messages\_stickerSetInstallResultArchive + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Required| + + +### Type: [messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md) + +### Example: + + +``` +$messages_stickerSetInstallResultArchive = ['sets' => [StickerSetCovered], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..a6e2df64 --- /dev/null +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md @@ -0,0 +1,16 @@ +## Constructor: messages\_stickerSetInstallResultSuccess + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md) + +### Example: + + +``` +$messages_stickerSetInstallResultSuccess = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md new file mode 100644 index 00000000..05d83d02 --- /dev/null +++ b/docs/API_docs/constructors/messages_stickers.md @@ -0,0 +1,18 @@ +## Constructor: messages\_stickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + +### Type: [messages\_Stickers](../types/messages\_Stickers.md) + +### Example: + + +``` +$messages_stickers = ['hash' => string, 'stickers' => [Document], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..441f5c6f --- /dev/null +++ b/docs/API_docs/constructors/messages_stickersNotModified.md @@ -0,0 +1,16 @@ +## Constructor: messages\_stickersNotModified + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [messages\_Stickers](../types/messages\_Stickers.md) + +### Example: + + +``` +$messages_stickersNotModified = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/nearestDc.md b/docs/API_docs/constructors/nearestDc.md new file mode 100644 index 00000000..dd47f094 --- /dev/null +++ b/docs/API_docs/constructors/nearestDc.md @@ -0,0 +1,19 @@ +## Constructor: nearestDc + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + +### Type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$nearestDc = ['country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/notifyAll.md b/docs/API_docs/constructors/notifyAll.md new file mode 100644 index 00000000..9fe13531 --- /dev/null +++ b/docs/API_docs/constructors/notifyAll.md @@ -0,0 +1,16 @@ +## Constructor: notifyAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + +### Example: + + +``` +$notifyAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/notifyChats.md b/docs/API_docs/constructors/notifyChats.md new file mode 100644 index 00000000..97cd6479 --- /dev/null +++ b/docs/API_docs/constructors/notifyChats.md @@ -0,0 +1,16 @@ +## Constructor: notifyChats + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + +### Example: + + +``` +$notifyChats = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/notifyPeer.md b/docs/API_docs/constructors/notifyPeer.md new file mode 100644 index 00000000..e94ff0d0 --- /dev/null +++ b/docs/API_docs/constructors/notifyPeer.md @@ -0,0 +1,17 @@ +## Constructor: notifyPeer + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + +### Example: + + +``` +$notifyPeer = ['peer' => Peer, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/notifyUsers.md b/docs/API_docs/constructors/notifyUsers.md new file mode 100644 index 00000000..8880574e --- /dev/null +++ b/docs/API_docs/constructors/notifyUsers.md @@ -0,0 +1,16 @@ +## Constructor: notifyUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + +### Example: + + +``` +$notifyUsers = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/null.md b/docs/API_docs/constructors/null.md new file mode 100644 index 00000000..a15c819e --- /dev/null +++ b/docs/API_docs/constructors/null.md @@ -0,0 +1,16 @@ +## Constructor: null + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Null](../types/Null.md) + +### Example: + + +``` +$null = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerChannel.md b/docs/API_docs/constructors/peerChannel.md new file mode 100644 index 00000000..f3e60c78 --- /dev/null +++ b/docs/API_docs/constructors/peerChannel.md @@ -0,0 +1,17 @@ +## Constructor: peerChannel + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + +### Type: [Peer](../types/Peer.md) + +### Example: + + +``` +$peerChannel = ['channel_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerChat.md b/docs/API_docs/constructors/peerChat.md new file mode 100644 index 00000000..4073b776 --- /dev/null +++ b/docs/API_docs/constructors/peerChat.md @@ -0,0 +1,17 @@ +## Constructor: peerChat + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Type: [Peer](../types/Peer.md) + +### Example: + + +``` +$peerChat = ['chat_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerNotifyEventsAll.md b/docs/API_docs/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..705d2ed0 --- /dev/null +++ b/docs/API_docs/constructors/peerNotifyEventsAll.md @@ -0,0 +1,16 @@ +## Constructor: peerNotifyEventsAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + +### Example: + + +``` +$peerNotifyEventsAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerNotifyEventsEmpty.md b/docs/API_docs/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..7bb0dfcc --- /dev/null +++ b/docs/API_docs/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,16 @@ +## Constructor: peerNotifyEventsEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + +### Example: + + +``` +$peerNotifyEventsEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md new file mode 100644 index 00000000..770fea1d --- /dev/null +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -0,0 +1,20 @@ +## Constructor: peerNotifySettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$peerNotifySettings = ['show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerNotifySettingsEmpty.md b/docs/API_docs/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..098faabe --- /dev/null +++ b/docs/API_docs/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,16 @@ +## Constructor: peerNotifySettingsEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$peerNotifySettingsEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md new file mode 100644 index 00000000..b5652582 --- /dev/null +++ b/docs/API_docs/constructors/peerSettings.md @@ -0,0 +1,17 @@ +## Constructor: peerSettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|report\_spam|[Bool](../types/Bool.md) | Optional| + + +### Type: [PeerSettings](../types/PeerSettings.md) + +### Example: + + +``` +$peerSettings = ['report_spam' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerUser.md b/docs/API_docs/constructors/peerUser.md new file mode 100644 index 00000000..988d7d4d --- /dev/null +++ b/docs/API_docs/constructors/peerUser.md @@ -0,0 +1,17 @@ +## Constructor: peerUser + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + +### Type: [Peer](../types/Peer.md) + +### Example: + + +``` +$peerUser = ['user_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photo.md b/docs/API_docs/constructors/photo.md new file mode 100644 index 00000000..1aa0d666 --- /dev/null +++ b/docs/API_docs/constructors/photo.md @@ -0,0 +1,21 @@ +## Constructor: photo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|has\_stickers|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + +### Type: [Photo](../types/Photo.md) + +### Example: + + +``` +$photo = ['has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photoCachedSize.md b/docs/API_docs/constructors/photoCachedSize.md new file mode 100644 index 00000000..7fa56f2b --- /dev/null +++ b/docs/API_docs/constructors/photoCachedSize.md @@ -0,0 +1,21 @@ +## Constructor: photoCachedSize + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Type: [PhotoSize](../types/PhotoSize.md) + +### Example: + + +``` +$photoCachedSize = ['type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photoEmpty.md b/docs/API_docs/constructors/photoEmpty.md new file mode 100644 index 00000000..faced051 --- /dev/null +++ b/docs/API_docs/constructors/photoEmpty.md @@ -0,0 +1,17 @@ +## Constructor: photoEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + +### Type: [Photo](../types/Photo.md) + +### Example: + + +``` +$photoEmpty = ['id' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photoSize.md b/docs/API_docs/constructors/photoSize.md new file mode 100644 index 00000000..ffc12cbb --- /dev/null +++ b/docs/API_docs/constructors/photoSize.md @@ -0,0 +1,21 @@ +## Constructor: photoSize + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + +### Type: [PhotoSize](../types/PhotoSize.md) + +### Example: + + +``` +$photoSize = ['type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photoSizeEmpty.md b/docs/API_docs/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..65eeba06 --- /dev/null +++ b/docs/API_docs/constructors/photoSizeEmpty.md @@ -0,0 +1,17 @@ +## Constructor: photoSizeEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + +### Type: [PhotoSize](../types/PhotoSize.md) + +### Example: + + +``` +$photoSizeEmpty = ['type' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md new file mode 100644 index 00000000..3b50375a --- /dev/null +++ b/docs/API_docs/constructors/photos_photo.md @@ -0,0 +1,18 @@ +## Constructor: photos\_photo + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [photos\_Photo](../types/photos\_Photo.md) + +### Example: + + +``` +$photos_photo = ['photo' => Photo, 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photos_photos.md b/docs/API_docs/constructors/photos_photos.md new file mode 100644 index 00000000..7e9ee400 --- /dev/null +++ b/docs/API_docs/constructors/photos_photos.md @@ -0,0 +1,18 @@ +## Constructor: photos\_photos + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [photos\_Photos](../types/photos\_Photos.md) + +### Example: + + +``` +$photos_photos = ['photos' => [Photo], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photos_photosSlice.md b/docs/API_docs/constructors/photos_photosSlice.md new file mode 100644 index 00000000..7f135812 --- /dev/null +++ b/docs/API_docs/constructors/photos_photosSlice.md @@ -0,0 +1,19 @@ +## Constructor: photos\_photosSlice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [photos\_Photos](../types/photos\_Photos.md) + +### Example: + + +``` +$photos_photosSlice = ['count' => int, 'photos' => [Photo], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyKeyChatInvite.md b/docs/API_docs/constructors/privacyKeyChatInvite.md new file mode 100644 index 00000000..fa764c76 --- /dev/null +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -0,0 +1,16 @@ +## Constructor: privacyKeyChatInvite + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + +### Example: + + +``` +$privacyKeyChatInvite = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..8a6eee49 --- /dev/null +++ b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,16 @@ +## Constructor: privacyKeyStatusTimestamp + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + +### Example: + + +``` +$privacyKeyStatusTimestamp = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueAllowAll.md b/docs/API_docs/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..f872e6b6 --- /dev/null +++ b/docs/API_docs/constructors/privacyValueAllowAll.md @@ -0,0 +1,16 @@ +## Constructor: privacyValueAllowAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueAllowAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueAllowContacts.md b/docs/API_docs/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..862c59fe --- /dev/null +++ b/docs/API_docs/constructors/privacyValueAllowContacts.md @@ -0,0 +1,16 @@ +## Constructor: privacyValueAllowContacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueAllowContacts = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueAllowUsers.md b/docs/API_docs/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..883a5e74 --- /dev/null +++ b/docs/API_docs/constructors/privacyValueAllowUsers.md @@ -0,0 +1,17 @@ +## Constructor: privacyValueAllowUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueAllowUsers = ['users' => [int], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueDisallowAll.md b/docs/API_docs/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..b432fa29 --- /dev/null +++ b/docs/API_docs/constructors/privacyValueDisallowAll.md @@ -0,0 +1,16 @@ +## Constructor: privacyValueDisallowAll + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueDisallowAll = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueDisallowContacts.md b/docs/API_docs/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..f9fc2d6a --- /dev/null +++ b/docs/API_docs/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,16 @@ +## Constructor: privacyValueDisallowContacts + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueDisallowContacts = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/privacyValueDisallowUsers.md b/docs/API_docs/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..108e8a48 --- /dev/null +++ b/docs/API_docs/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,17 @@ +## Constructor: privacyValueDisallowUsers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + +### Example: + + +``` +$privacyValueDisallowUsers = ['users' => [int], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/receivedNotifyMessage.md b/docs/API_docs/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..b512e787 --- /dev/null +++ b/docs/API_docs/constructors/receivedNotifyMessage.md @@ -0,0 +1,17 @@ +## Constructor: receivedNotifyMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$receivedNotifyMessage = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/replyInlineMarkup.md b/docs/API_docs/constructors/replyInlineMarkup.md new file mode 100644 index 00000000..f02976eb --- /dev/null +++ b/docs/API_docs/constructors/replyInlineMarkup.md @@ -0,0 +1,17 @@ +## Constructor: replyInlineMarkup + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + +### Example: + + +``` +$replyInlineMarkup = ['rows' => [KeyboardButtonRow], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..61b78564 --- /dev/null +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -0,0 +1,18 @@ +## Constructor: replyKeyboardForceReply + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + +### Example: + + +``` +$replyKeyboardForceReply = ['single_use' => Bool, 'selective' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..ee3abdda --- /dev/null +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -0,0 +1,17 @@ +## Constructor: replyKeyboardHide + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + +### Example: + + +``` +$replyKeyboardHide = ['selective' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..01115a81 --- /dev/null +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -0,0 +1,20 @@ +## Constructor: replyKeyboardMarkup + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + +### Example: + + +``` +$replyKeyboardMarkup = ['resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageCancelAction.md b/docs/API_docs/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..0cbbb44c --- /dev/null +++ b/docs/API_docs/constructors/sendMessageCancelAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageCancelAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageCancelAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction.md b/docs/API_docs/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..529691be --- /dev/null +++ b/docs/API_docs/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageChooseContactAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageChooseContactAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageGamePlayAction.md b/docs/API_docs/constructors/sendMessageGamePlayAction.md new file mode 100644 index 00000000..7fa16b6c --- /dev/null +++ b/docs/API_docs/constructors/sendMessageGamePlayAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageGamePlayAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageGamePlayAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction.md b/docs/API_docs/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..7b576a64 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageGeoLocationAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageGeoLocationAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction.md b/docs/API_docs/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..804c1184 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageRecordAudioAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageRecordAudioAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction.md b/docs/API_docs/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..1f1b7967 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageRecordVideoAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageRecordVideoAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageTypingAction.md b/docs/API_docs/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..efff9706 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageTypingAction.md @@ -0,0 +1,16 @@ +## Constructor: sendMessageTypingAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageTypingAction = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction.md b/docs/API_docs/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..e42b8597 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,17 @@ +## Constructor: sendMessageUploadAudioAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageUploadAudioAction = ['progress' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..662591e2 --- /dev/null +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,17 @@ +## Constructor: sendMessageUploadDocumentAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageUploadDocumentAction = ['progress' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..4631b76f --- /dev/null +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,17 @@ +## Constructor: sendMessageUploadPhotoAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageUploadPhotoAction = ['progress' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction.md b/docs/API_docs/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..f671bddd --- /dev/null +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,17 @@ +## Constructor: sendMessageUploadVideoAction + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + +### Example: + + +``` +$sendMessageUploadVideoAction = ['progress' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/stickerPack.md b/docs/API_docs/constructors/stickerPack.md new file mode 100644 index 00000000..90addbdb --- /dev/null +++ b/docs/API_docs/constructors/stickerPack.md @@ -0,0 +1,18 @@ +## Constructor: stickerPack + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + +### Type: [StickerPack](../types/StickerPack.md) + +### Example: + + +``` +$stickerPack = ['emoticon' => string, 'documents' => [long], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md new file mode 100644 index 00000000..8be80e96 --- /dev/null +++ b/docs/API_docs/constructors/stickerSet.md @@ -0,0 +1,26 @@ +## Constructor: stickerSet + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|archived|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|masks|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + +### Type: [StickerSet](../types/StickerSet.md) + +### Example: + + +``` +$stickerSet = ['installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/stickerSetCovered.md b/docs/API_docs/constructors/stickerSetCovered.md new file mode 100644 index 00000000..88122067 --- /dev/null +++ b/docs/API_docs/constructors/stickerSetCovered.md @@ -0,0 +1,18 @@ +## Constructor: stickerSetCovered + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|cover|[Document](../types/Document.md) | Required| + + +### Type: [StickerSetCovered](../types/StickerSetCovered.md) + +### Example: + + +``` +$stickerSetCovered = ['set' => StickerSet, 'cover' => Document, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/stickerSetMultiCovered.md b/docs/API_docs/constructors/stickerSetMultiCovered.md new file mode 100644 index 00000000..b9211595 --- /dev/null +++ b/docs/API_docs/constructors/stickerSetMultiCovered.md @@ -0,0 +1,18 @@ +## Constructor: stickerSetMultiCovered + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|covers|Array of [Document](../types/Document.md) | Required| + + +### Type: [StickerSetCovered](../types/StickerSetCovered.md) + +### Example: + + +``` +$stickerSetMultiCovered = ['set' => StickerSet, 'covers' => [Document], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileGif.md b/docs/API_docs/constructors/storage_fileGif.md new file mode 100644 index 00000000..b23b1487 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileGif.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileGif + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileGif = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..dbae37f7 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileJpeg.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileJpeg + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileJpeg = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md new file mode 100644 index 00000000..c109e724 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileMov.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileMov + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileMov = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b158a863 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileMp3.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileMp3 + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileMp3 = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md new file mode 100644 index 00000000..54ec52a3 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileMp4.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileMp4 + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileMp4 = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md new file mode 100644 index 00000000..04abf479 --- /dev/null +++ b/docs/API_docs/constructors/storage_filePartial.md @@ -0,0 +1,16 @@ +## Constructor: storage\_filePartial + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_filePartial = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md new file mode 100644 index 00000000..1b156b37 --- /dev/null +++ b/docs/API_docs/constructors/storage_filePdf.md @@ -0,0 +1,16 @@ +## Constructor: storage\_filePdf + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_filePdf = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md new file mode 100644 index 00000000..933bfdb3 --- /dev/null +++ b/docs/API_docs/constructors/storage_filePng.md @@ -0,0 +1,16 @@ +## Constructor: storage\_filePng + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_filePng = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..f4e01161 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileUnknown.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileUnknown + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileUnknown = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md new file mode 100644 index 00000000..33b13df6 --- /dev/null +++ b/docs/API_docs/constructors/storage_fileWebp.md @@ -0,0 +1,16 @@ +## Constructor: storage\_fileWebp + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [storage\_FileType](../types/storage\_FileType.md) + +### Example: + + +``` +$storage_fileWebp = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeer.md b/docs/API_docs/constructors/topPeer.md new file mode 100644 index 00000000..c7b38780 --- /dev/null +++ b/docs/API_docs/constructors/topPeer.md @@ -0,0 +1,18 @@ +## Constructor: topPeer + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|rating|[double](../types/double.md) | Required| + + +### Type: [TopPeer](../types/TopPeer.md) + +### Example: + + +``` +$topPeer = ['peer' => Peer, 'rating' => double, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryBotsInline.md b/docs/API_docs/constructors/topPeerCategoryBotsInline.md new file mode 100644 index 00000000..831d6712 --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryBotsInline.md @@ -0,0 +1,16 @@ +## Constructor: topPeerCategoryBotsInline + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + +### Example: + + +``` +$topPeerCategoryBotsInline = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryBotsPM.md b/docs/API_docs/constructors/topPeerCategoryBotsPM.md new file mode 100644 index 00000000..c269fa6a --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryBotsPM.md @@ -0,0 +1,16 @@ +## Constructor: topPeerCategoryBotsPM + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + +### Example: + + +``` +$topPeerCategoryBotsPM = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryChannels.md b/docs/API_docs/constructors/topPeerCategoryChannels.md new file mode 100644 index 00000000..dc1ab668 --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryChannels.md @@ -0,0 +1,16 @@ +## Constructor: topPeerCategoryChannels + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + +### Example: + + +``` +$topPeerCategoryChannels = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md new file mode 100644 index 00000000..163f3cb1 --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md @@ -0,0 +1,16 @@ +## Constructor: topPeerCategoryCorrespondents + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + +### Example: + + +``` +$topPeerCategoryCorrespondents = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryGroups.md b/docs/API_docs/constructors/topPeerCategoryGroups.md new file mode 100644 index 00000000..70fadfe3 --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryGroups.md @@ -0,0 +1,16 @@ +## Constructor: topPeerCategoryGroups + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + +### Example: + + +``` +$topPeerCategoryGroups = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/topPeerCategoryPeers.md b/docs/API_docs/constructors/topPeerCategoryPeers.md new file mode 100644 index 00000000..b3103df3 --- /dev/null +++ b/docs/API_docs/constructors/topPeerCategoryPeers.md @@ -0,0 +1,19 @@ +## Constructor: topPeerCategoryPeers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| +|count|[int](../types/int.md) | Required| +|peers|Array of [TopPeer](../types/TopPeer.md) | Required| + + +### Type: [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) + +### Example: + + +``` +$topPeerCategoryPeers = ['category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/true.md b/docs/API_docs/constructors/true.md new file mode 100644 index 00000000..c48bf811 --- /dev/null +++ b/docs/API_docs/constructors/true.md @@ -0,0 +1,16 @@ +## Constructor: true + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [True](../types/True.md) + +### Example: + + +``` +$true = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateBotCallbackQuery.md b/docs/API_docs/constructors/updateBotCallbackQuery.md new file mode 100644 index 00000000..1c02f639 --- /dev/null +++ b/docs/API_docs/constructors/updateBotCallbackQuery.md @@ -0,0 +1,23 @@ +## Constructor: updateBotCallbackQuery + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|peer|[Peer](../types/Peer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|chat\_instance|[long](../types/long.md) | Required| +|data|[bytes](../types/bytes.md) | Optional| +|game\_short\_name|[string](../types/string.md) | Optional| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateBotCallbackQuery = ['query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateBotInlineQuery.md b/docs/API_docs/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..c085b793 --- /dev/null +++ b/docs/API_docs/constructors/updateBotInlineQuery.md @@ -0,0 +1,21 @@ +## Constructor: updateBotInlineQuery + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|offset|[string](../types/string.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateBotInlineQuery = ['query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateBotInlineSend.md b/docs/API_docs/constructors/updateBotInlineSend.md new file mode 100644 index 00000000..4cd1c4bb --- /dev/null +++ b/docs/API_docs/constructors/updateBotInlineSend.md @@ -0,0 +1,21 @@ +## Constructor: updateBotInlineSend + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|id|[string](../types/string.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Optional| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateBotInlineSend = ['user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChannel.md b/docs/API_docs/constructors/updateChannel.md new file mode 100644 index 00000000..d2347c17 --- /dev/null +++ b/docs/API_docs/constructors/updateChannel.md @@ -0,0 +1,17 @@ +## Constructor: updateChannel + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChannel = ['channel_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChannelMessageViews.md b/docs/API_docs/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..ef80d96c --- /dev/null +++ b/docs/API_docs/constructors/updateChannelMessageViews.md @@ -0,0 +1,19 @@ +## Constructor: updateChannelMessageViews + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChannelMessageViews = ['channel_id' => int, 'id' => int, 'views' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChannelPinnedMessage.md b/docs/API_docs/constructors/updateChannelPinnedMessage.md new file mode 100644 index 00000000..1fd60850 --- /dev/null +++ b/docs/API_docs/constructors/updateChannelPinnedMessage.md @@ -0,0 +1,18 @@ +## Constructor: updateChannelPinnedMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChannelPinnedMessage = ['channel_id' => int, 'id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChannelTooLong.md b/docs/API_docs/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..5b6e3212 --- /dev/null +++ b/docs/API_docs/constructors/updateChannelTooLong.md @@ -0,0 +1,18 @@ +## Constructor: updateChannelTooLong + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Optional| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChannelTooLong = ['channel_id' => int, 'pts' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatAdmins.md b/docs/API_docs/constructors/updateChatAdmins.md new file mode 100644 index 00000000..5b724f32 --- /dev/null +++ b/docs/API_docs/constructors/updateChatAdmins.md @@ -0,0 +1,19 @@ +## Constructor: updateChatAdmins + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatAdmins = ['chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatParticipantAdd.md b/docs/API_docs/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..0b4b3e42 --- /dev/null +++ b/docs/API_docs/constructors/updateChatParticipantAdd.md @@ -0,0 +1,21 @@ +## Constructor: updateChatParticipantAdd + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatParticipantAdd = ['chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatParticipantAdmin.md b/docs/API_docs/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..dadec677 --- /dev/null +++ b/docs/API_docs/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,20 @@ +## Constructor: updateChatParticipantAdmin + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatParticipantAdmin = ['chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatParticipantDelete.md b/docs/API_docs/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..d68b3eb4 --- /dev/null +++ b/docs/API_docs/constructors/updateChatParticipantDelete.md @@ -0,0 +1,19 @@ +## Constructor: updateChatParticipantDelete + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatParticipantDelete = ['chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatParticipants.md b/docs/API_docs/constructors/updateChatParticipants.md new file mode 100644 index 00000000..229963fe --- /dev/null +++ b/docs/API_docs/constructors/updateChatParticipants.md @@ -0,0 +1,17 @@ +## Constructor: updateChatParticipants + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatParticipants = ['participants' => ChatParticipants, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateChatUserTyping.md b/docs/API_docs/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..7c1bcf41 --- /dev/null +++ b/docs/API_docs/constructors/updateChatUserTyping.md @@ -0,0 +1,19 @@ +## Constructor: updateChatUserTyping + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateChatUserTyping = ['chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateConfig.md b/docs/API_docs/constructors/updateConfig.md new file mode 100644 index 00000000..9483105f --- /dev/null +++ b/docs/API_docs/constructors/updateConfig.md @@ -0,0 +1,16 @@ +## Constructor: updateConfig + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateConfig = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateContactLink.md b/docs/API_docs/constructors/updateContactLink.md new file mode 100644 index 00000000..b9324629 --- /dev/null +++ b/docs/API_docs/constructors/updateContactLink.md @@ -0,0 +1,19 @@ +## Constructor: updateContactLink + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateContactLink = ['user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateContactRegistered.md b/docs/API_docs/constructors/updateContactRegistered.md new file mode 100644 index 00000000..247d1ac3 --- /dev/null +++ b/docs/API_docs/constructors/updateContactRegistered.md @@ -0,0 +1,18 @@ +## Constructor: updateContactRegistered + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateContactRegistered = ['user_id' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateDcOptions.md b/docs/API_docs/constructors/updateDcOptions.md new file mode 100644 index 00000000..6fc05b50 --- /dev/null +++ b/docs/API_docs/constructors/updateDcOptions.md @@ -0,0 +1,17 @@ +## Constructor: updateDcOptions + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateDcOptions = ['dc_options' => [DcOption], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateDeleteChannelMessages.md b/docs/API_docs/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..111ea220 --- /dev/null +++ b/docs/API_docs/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,20 @@ +## Constructor: updateDeleteChannelMessages + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateDeleteChannelMessages = ['channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateDeleteMessages.md b/docs/API_docs/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..3e6d029f --- /dev/null +++ b/docs/API_docs/constructors/updateDeleteMessages.md @@ -0,0 +1,19 @@ +## Constructor: updateDeleteMessages + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateDeleteMessages = ['messages' => [int], 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateDraftMessage.md b/docs/API_docs/constructors/updateDraftMessage.md new file mode 100644 index 00000000..6886964c --- /dev/null +++ b/docs/API_docs/constructors/updateDraftMessage.md @@ -0,0 +1,18 @@ +## Constructor: updateDraftMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|draft|[DraftMessage](../types/DraftMessage.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateDraftMessage = ['peer' => Peer, 'draft' => DraftMessage, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateEditChannelMessage.md b/docs/API_docs/constructors/updateEditChannelMessage.md new file mode 100644 index 00000000..de28ce96 --- /dev/null +++ b/docs/API_docs/constructors/updateEditChannelMessage.md @@ -0,0 +1,19 @@ +## Constructor: updateEditChannelMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateEditChannelMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateEditMessage.md b/docs/API_docs/constructors/updateEditMessage.md new file mode 100644 index 00000000..476fdd71 --- /dev/null +++ b/docs/API_docs/constructors/updateEditMessage.md @@ -0,0 +1,19 @@ +## Constructor: updateEditMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateEditMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateEncryptedChatTyping.md b/docs/API_docs/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..107d0df0 --- /dev/null +++ b/docs/API_docs/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,17 @@ +## Constructor: updateEncryptedChatTyping + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateEncryptedChatTyping = ['chat_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateEncryptedMessagesRead.md b/docs/API_docs/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..8e39ff7d --- /dev/null +++ b/docs/API_docs/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,19 @@ +## Constructor: updateEncryptedMessagesRead + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateEncryptedMessagesRead = ['chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateEncryption.md b/docs/API_docs/constructors/updateEncryption.md new file mode 100644 index 00000000..14e6217b --- /dev/null +++ b/docs/API_docs/constructors/updateEncryption.md @@ -0,0 +1,18 @@ +## Constructor: updateEncryption + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateEncryption = ['chat' => EncryptedChat, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md new file mode 100644 index 00000000..121a409a --- /dev/null +++ b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md @@ -0,0 +1,22 @@ +## Constructor: updateInlineBotCallbackQuery + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|chat\_instance|[long](../types/long.md) | Required| +|data|[bytes](../types/bytes.md) | Optional| +|game\_short\_name|[string](../types/string.md) | Optional| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateInlineBotCallbackQuery = ['query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateMessageID.md b/docs/API_docs/constructors/updateMessageID.md new file mode 100644 index 00000000..5d972e85 --- /dev/null +++ b/docs/API_docs/constructors/updateMessageID.md @@ -0,0 +1,18 @@ +## Constructor: updateMessageID + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|random\_id|[long](../types/long.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateMessageID = ['id' => int, 'random_id' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNewAuthorization.md b/docs/API_docs/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..13caefd2 --- /dev/null +++ b/docs/API_docs/constructors/updateNewAuthorization.md @@ -0,0 +1,20 @@ +## Constructor: updateNewAuthorization + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNewAuthorization = ['auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNewChannelMessage.md b/docs/API_docs/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..9caf8132 --- /dev/null +++ b/docs/API_docs/constructors/updateNewChannelMessage.md @@ -0,0 +1,19 @@ +## Constructor: updateNewChannelMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNewChannelMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNewEncryptedMessage.md b/docs/API_docs/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..88b947a0 --- /dev/null +++ b/docs/API_docs/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,18 @@ +## Constructor: updateNewEncryptedMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNewEncryptedMessage = ['message' => EncryptedMessage, 'qts' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNewMessage.md b/docs/API_docs/constructors/updateNewMessage.md new file mode 100644 index 00000000..8add8be5 --- /dev/null +++ b/docs/API_docs/constructors/updateNewMessage.md @@ -0,0 +1,19 @@ +## Constructor: updateNewMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNewMessage = ['message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..52ce7e36 --- /dev/null +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -0,0 +1,17 @@ +## Constructor: updateNewStickerSet + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages\_StickerSet.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNewStickerSet = ['stickerset' => messages_StickerSet, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateNotifySettings.md b/docs/API_docs/constructors/updateNotifySettings.md new file mode 100644 index 00000000..a069f64d --- /dev/null +++ b/docs/API_docs/constructors/updateNotifySettings.md @@ -0,0 +1,18 @@ +## Constructor: updateNotifySettings + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateNotifySettings = ['peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updatePrivacy.md b/docs/API_docs/constructors/updatePrivacy.md new file mode 100644 index 00000000..1407490a --- /dev/null +++ b/docs/API_docs/constructors/updatePrivacy.md @@ -0,0 +1,18 @@ +## Constructor: updatePrivacy + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updatePrivacy = ['key' => PrivacyKey, 'rules' => [PrivacyRule], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updatePtsChanged.md b/docs/API_docs/constructors/updatePtsChanged.md new file mode 100644 index 00000000..bf6b8a9a --- /dev/null +++ b/docs/API_docs/constructors/updatePtsChanged.md @@ -0,0 +1,16 @@ +## Constructor: updatePtsChanged + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updatePtsChanged = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadChannelInbox.md b/docs/API_docs/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..6161ca6e --- /dev/null +++ b/docs/API_docs/constructors/updateReadChannelInbox.md @@ -0,0 +1,18 @@ +## Constructor: updateReadChannelInbox + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadChannelInbox = ['channel_id' => int, 'max_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadChannelOutbox.md b/docs/API_docs/constructors/updateReadChannelOutbox.md new file mode 100644 index 00000000..fa62a6c1 --- /dev/null +++ b/docs/API_docs/constructors/updateReadChannelOutbox.md @@ -0,0 +1,18 @@ +## Constructor: updateReadChannelOutbox + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadChannelOutbox = ['channel_id' => int, 'max_id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadFeaturedStickers.md b/docs/API_docs/constructors/updateReadFeaturedStickers.md new file mode 100644 index 00000000..d5b37864 --- /dev/null +++ b/docs/API_docs/constructors/updateReadFeaturedStickers.md @@ -0,0 +1,16 @@ +## Constructor: updateReadFeaturedStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadFeaturedStickers = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadHistoryInbox.md b/docs/API_docs/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..861dba42 --- /dev/null +++ b/docs/API_docs/constructors/updateReadHistoryInbox.md @@ -0,0 +1,20 @@ +## Constructor: updateReadHistoryInbox + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadHistoryInbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadHistoryOutbox.md b/docs/API_docs/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..ab2dc3de --- /dev/null +++ b/docs/API_docs/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,20 @@ +## Constructor: updateReadHistoryOutbox + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadHistoryOutbox = ['peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateReadMessagesContents.md b/docs/API_docs/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..10c95ab0 --- /dev/null +++ b/docs/API_docs/constructors/updateReadMessagesContents.md @@ -0,0 +1,19 @@ +## Constructor: updateReadMessagesContents + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateReadMessagesContents = ['messages' => [int], 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateRecentStickers.md b/docs/API_docs/constructors/updateRecentStickers.md new file mode 100644 index 00000000..619d5a22 --- /dev/null +++ b/docs/API_docs/constructors/updateRecentStickers.md @@ -0,0 +1,16 @@ +## Constructor: updateRecentStickers + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateRecentStickers = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateSavedGifs.md b/docs/API_docs/constructors/updateSavedGifs.md new file mode 100644 index 00000000..0b0b5f96 --- /dev/null +++ b/docs/API_docs/constructors/updateSavedGifs.md @@ -0,0 +1,16 @@ +## Constructor: updateSavedGifs + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateSavedGifs = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md new file mode 100644 index 00000000..e800fc03 --- /dev/null +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -0,0 +1,20 @@ +## Constructor: updateServiceNotification + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateServiceNotification = ['type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateShort.md b/docs/API_docs/constructors/updateShort.md new file mode 100644 index 00000000..33a007f7 --- /dev/null +++ b/docs/API_docs/constructors/updateShort.md @@ -0,0 +1,18 @@ +## Constructor: updateShort + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updateShort = ['update' => Update, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..087afb17 --- /dev/null +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -0,0 +1,31 @@ +## Constructor: updateShortChatMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updateShortChatMessage = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateShortMessage.md b/docs/API_docs/constructors/updateShortMessage.md new file mode 100644 index 00000000..87f54209 --- /dev/null +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -0,0 +1,30 @@ +## Constructor: updateShortMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updateShortMessage = ['out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateShortSentMessage.md b/docs/API_docs/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..526d316d --- /dev/null +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -0,0 +1,23 @@ +## Constructor: updateShortSentMessage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updateShortSentMessage = ['out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateStickerSets.md b/docs/API_docs/constructors/updateStickerSets.md new file mode 100644 index 00000000..1001b26c --- /dev/null +++ b/docs/API_docs/constructors/updateStickerSets.md @@ -0,0 +1,16 @@ +## Constructor: updateStickerSets + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateStickerSets = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..b822223b --- /dev/null +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -0,0 +1,18 @@ +## Constructor: updateStickerSetsOrder + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|masks|[Bool](../types/Bool.md) | Optional| +|order|Array of [long](../types/long.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateStickerSetsOrder = ['masks' => Bool, 'order' => [long], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserBlocked.md b/docs/API_docs/constructors/updateUserBlocked.md new file mode 100644 index 00000000..96864eb9 --- /dev/null +++ b/docs/API_docs/constructors/updateUserBlocked.md @@ -0,0 +1,18 @@ +## Constructor: updateUserBlocked + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserBlocked = ['user_id' => int, 'blocked' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserName.md b/docs/API_docs/constructors/updateUserName.md new file mode 100644 index 00000000..fae84783 --- /dev/null +++ b/docs/API_docs/constructors/updateUserName.md @@ -0,0 +1,20 @@ +## Constructor: updateUserName + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserName = ['user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserPhone.md b/docs/API_docs/constructors/updateUserPhone.md new file mode 100644 index 00000000..f668acab --- /dev/null +++ b/docs/API_docs/constructors/updateUserPhone.md @@ -0,0 +1,18 @@ +## Constructor: updateUserPhone + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserPhone = ['user_id' => int, 'phone' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserPhoto.md b/docs/API_docs/constructors/updateUserPhoto.md new file mode 100644 index 00000000..1e543f3b --- /dev/null +++ b/docs/API_docs/constructors/updateUserPhoto.md @@ -0,0 +1,20 @@ +## Constructor: updateUserPhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserPhoto = ['user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserStatus.md b/docs/API_docs/constructors/updateUserStatus.md new file mode 100644 index 00000000..e5ecfeb4 --- /dev/null +++ b/docs/API_docs/constructors/updateUserStatus.md @@ -0,0 +1,18 @@ +## Constructor: updateUserStatus + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserStatus = ['user_id' => int, 'status' => UserStatus, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateUserTyping.md b/docs/API_docs/constructors/updateUserTyping.md new file mode 100644 index 00000000..c7d4422b --- /dev/null +++ b/docs/API_docs/constructors/updateUserTyping.md @@ -0,0 +1,18 @@ +## Constructor: updateUserTyping + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateUserTyping = ['user_id' => int, 'action' => SendMessageAction, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updateWebPage.md b/docs/API_docs/constructors/updateWebPage.md new file mode 100644 index 00000000..03def3a9 --- /dev/null +++ b/docs/API_docs/constructors/updateWebPage.md @@ -0,0 +1,19 @@ +## Constructor: updateWebPage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + +### Type: [Update](../types/Update.md) + +### Example: + + +``` +$updateWebPage = ['webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates.md b/docs/API_docs/constructors/updates.md new file mode 100644 index 00000000..881d66f3 --- /dev/null +++ b/docs/API_docs/constructors/updates.md @@ -0,0 +1,21 @@ +## Constructor: updates + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updates = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updatesCombined.md b/docs/API_docs/constructors/updatesCombined.md new file mode 100644 index 00000000..930249ee --- /dev/null +++ b/docs/API_docs/constructors/updatesCombined.md @@ -0,0 +1,22 @@ +## Constructor: updatesCombined + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updatesCombined = ['updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updatesTooLong.md b/docs/API_docs/constructors/updatesTooLong.md new file mode 100644 index 00000000..f7e12bac --- /dev/null +++ b/docs/API_docs/constructors/updatesTooLong.md @@ -0,0 +1,16 @@ +## Constructor: updatesTooLong + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Updates](../types/Updates.md) + +### Example: + + +``` +$updatesTooLong = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md new file mode 100644 index 00000000..2556c038 --- /dev/null +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -0,0 +1,23 @@ +## Constructor: updates\_channelDifference + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [updates\_ChannelDifference](../types/updates\_ChannelDifference.md) + +### Example: + + +``` +$updates_channelDifference = ['final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..3fb3a7b4 --- /dev/null +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,19 @@ +## Constructor: updates\_channelDifferenceEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + +### Type: [updates\_ChannelDifference](../types/updates\_ChannelDifference.md) + +### Example: + + +``` +$updates_channelDifferenceEmpty = ['final' => Bool, 'pts' => int, 'timeout' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..c9382b0b --- /dev/null +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,26 @@ +## Constructor: updates\_channelDifferenceTooLong + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + +### Type: [updates\_ChannelDifference](../types/updates\_ChannelDifference.md) + +### Example: + + +``` +$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], ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md new file mode 100644 index 00000000..75a7a982 --- /dev/null +++ b/docs/API_docs/constructors/updates_difference.md @@ -0,0 +1,22 @@ +## Constructor: updates\_difference + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates\_State.md) | Required| + + +### Type: [updates\_Difference](../types/updates\_Difference.md) + +### Example: + + +``` +$updates_difference = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_differenceEmpty.md b/docs/API_docs/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..ffec5a03 --- /dev/null +++ b/docs/API_docs/constructors/updates_differenceEmpty.md @@ -0,0 +1,18 @@ +## Constructor: updates\_differenceEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + +### Type: [updates\_Difference](../types/updates\_Difference.md) + +### Example: + + +``` +$updates_differenceEmpty = ['date' => int, 'seq' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..da0f1876 --- /dev/null +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -0,0 +1,22 @@ +## Constructor: updates\_differenceSlice + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates\_State.md) | Required| + + +### Type: [updates\_Difference](../types/updates\_Difference.md) + +### Example: + + +``` +$updates_differenceSlice = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/updates_state.md b/docs/API_docs/constructors/updates_state.md new file mode 100644 index 00000000..877fac1f --- /dev/null +++ b/docs/API_docs/constructors/updates_state.md @@ -0,0 +1,21 @@ +## Constructor: updates\_state + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + +### Type: [updates\_State](../types/updates\_State.md) + +### Example: + + +``` +$updates_state = ['pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md new file mode 100644 index 00000000..21120c03 --- /dev/null +++ b/docs/API_docs/constructors/upload_file.md @@ -0,0 +1,19 @@ +## Constructor: upload\_file + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage\_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Type: [upload\_File](../types/upload\_File.md) + +### Example: + + +``` +$upload_file = ['type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/user.md b/docs/API_docs/constructors/user.md new file mode 100644 index 00000000..060513d6 --- /dev/null +++ b/docs/API_docs/constructors/user.md @@ -0,0 +1,38 @@ +## Constructor: user + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + +### Type: [User](../types/User.md) + +### Example: + + +``` +$user = ['self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userEmpty.md b/docs/API_docs/constructors/userEmpty.md new file mode 100644 index 00000000..e6e43cd1 --- /dev/null +++ b/docs/API_docs/constructors/userEmpty.md @@ -0,0 +1,17 @@ +## Constructor: userEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + +### Type: [User](../types/User.md) + +### Example: + + +``` +$userEmpty = ['id' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md new file mode 100644 index 00000000..b941d2a7 --- /dev/null +++ b/docs/API_docs/constructors/userFull.md @@ -0,0 +1,23 @@ +## Constructor: userFull + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|[Bool](../types/Bool.md) | Optional| +|user|[User](../types/User.md) | Required| +|about|[string](../types/string.md) | Optional| +|link|[contacts\_Link](../types/contacts\_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Optional| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Optional| + + +### Type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$userFull = ['blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userProfilePhoto.md b/docs/API_docs/constructors/userProfilePhoto.md new file mode 100644 index 00000000..96d508d3 --- /dev/null +++ b/docs/API_docs/constructors/userProfilePhoto.md @@ -0,0 +1,19 @@ +## Constructor: userProfilePhoto + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$userProfilePhoto = ['photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userProfilePhotoEmpty.md b/docs/API_docs/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..585c1b68 --- /dev/null +++ b/docs/API_docs/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,16 @@ +## Constructor: userProfilePhotoEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$userProfilePhotoEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md new file mode 100644 index 00000000..48f3918a --- /dev/null +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -0,0 +1,16 @@ +## Constructor: userStatusEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusEmpty = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..6d3d177b --- /dev/null +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -0,0 +1,16 @@ +## Constructor: userStatusLastMonth + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusLastMonth = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..20767202 --- /dev/null +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -0,0 +1,16 @@ +## Constructor: userStatusLastWeek + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusLastWeek = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusOffline.md b/docs/API_docs/constructors/userStatusOffline.md new file mode 100644 index 00000000..56b26fbb --- /dev/null +++ b/docs/API_docs/constructors/userStatusOffline.md @@ -0,0 +1,17 @@ +## Constructor: userStatusOffline + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusOffline = ['was_online' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusOnline.md b/docs/API_docs/constructors/userStatusOnline.md new file mode 100644 index 00000000..531f1f12 --- /dev/null +++ b/docs/API_docs/constructors/userStatusOnline.md @@ -0,0 +1,17 @@ +## Constructor: userStatusOnline + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusOnline = ['expires' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md new file mode 100644 index 00000000..5c7190ec --- /dev/null +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -0,0 +1,16 @@ +## Constructor: userStatusRecently + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [UserStatus](../types/UserStatus.md) + +### Example: + + +``` +$userStatusRecently = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/vector.md b/docs/API_docs/constructors/vector.md new file mode 100644 index 00000000..b16f781d --- /dev/null +++ b/docs/API_docs/constructors/vector.md @@ -0,0 +1,16 @@ +## Constructor: vector + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Type: [Vector t](../types/Vector t.md) + +### Example: + + +``` +$vector = ; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/wallPaper.md b/docs/API_docs/constructors/wallPaper.md new file mode 100644 index 00000000..81526b6e --- /dev/null +++ b/docs/API_docs/constructors/wallPaper.md @@ -0,0 +1,20 @@ +## Constructor: wallPaper + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + +### Type: [WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$wallPaper = ['id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/wallPaperSolid.md b/docs/API_docs/constructors/wallPaperSolid.md new file mode 100644 index 00000000..df666352 --- /dev/null +++ b/docs/API_docs/constructors/wallPaperSolid.md @@ -0,0 +1,20 @@ +## Constructor: wallPaperSolid + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + +### Type: [WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$wallPaperSolid = ['id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/webPage.md b/docs/API_docs/constructors/webPage.md new file mode 100644 index 00000000..d1694997 --- /dev/null +++ b/docs/API_docs/constructors/webPage.md @@ -0,0 +1,31 @@ +## Constructor: webPage + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + +### Type: [WebPage](../types/WebPage.md) + +### Example: + + +``` +$webPage = ['id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/webPageEmpty.md b/docs/API_docs/constructors/webPageEmpty.md new file mode 100644 index 00000000..9f0d3600 --- /dev/null +++ b/docs/API_docs/constructors/webPageEmpty.md @@ -0,0 +1,17 @@ +## Constructor: webPageEmpty + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + +### Type: [WebPage](../types/WebPage.md) + +### Example: + + +``` +$webPageEmpty = ['id' => long, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/constructors/webPagePending.md b/docs/API_docs/constructors/webPagePending.md new file mode 100644 index 00000000..16ecd8a3 --- /dev/null +++ b/docs/API_docs/constructors/webPagePending.md @@ -0,0 +1,18 @@ +## Constructor: webPagePending + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + +### Type: [WebPage](../types/WebPage.md) + +### Example: + + +``` +$webPagePending = ['id' => long, 'date' => int, ]; +``` \ No newline at end of file diff --git a/docs/API_docs/index.md b/docs/API_docs/index.md new file mode 100644 index 00000000..5fb8c22c --- /dev/null +++ b/docs/API_docs/index.md @@ -0,0 +1,8 @@ +# MadelineProto API documentation (layer 57) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + diff --git a/docs/API_docs/methods/account.changePhone.md b/docs/API_docs/methods/account.changePhone.md new file mode 100644 index 00000000..88d782c7 --- /dev/null +++ b/docs/API_docs/methods/account.changePhone.md @@ -0,0 +1,33 @@ +## Method: account.changePhone + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.checkUsername.md b/docs/API_docs/methods/account.checkUsername.md new file mode 100644 index 00000000..bf54d5f2 --- /dev/null +++ b/docs/API_docs/methods/account.checkUsername.md @@ -0,0 +1,31 @@ +## Method: account.checkUsername + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.confirmPhone.md b/docs/API_docs/methods/account.confirmPhone.md new file mode 100644 index 00000000..1cea5bc7 --- /dev/null +++ b/docs/API_docs/methods/account.confirmPhone.md @@ -0,0 +1,32 @@ +## Method: account.confirmPhone + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.deleteAccount.md b/docs/API_docs/methods/account.deleteAccount.md new file mode 100644 index 00000000..dd2d21d3 --- /dev/null +++ b/docs/API_docs/methods/account.deleteAccount.md @@ -0,0 +1,31 @@ +## Method: account.deleteAccount + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getAccountTTL.md b/docs/API_docs/methods/account.getAccountTTL.md new file mode 100644 index 00000000..12aac12e --- /dev/null +++ b/docs/API_docs/methods/account.getAccountTTL.md @@ -0,0 +1,30 @@ +## Method: account.getAccountTTL + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getAuthorizations.md b/docs/API_docs/methods/account.getAuthorizations.md new file mode 100644 index 00000000..c863ce44 --- /dev/null +++ b/docs/API_docs/methods/account.getAuthorizations.md @@ -0,0 +1,30 @@ +## Method: account.getAuthorizations + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [account\_Authorizations](../types/account\_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getNotifySettings.md b/docs/API_docs/methods/account.getNotifySettings.md new file mode 100644 index 00000000..86fbd419 --- /dev/null +++ b/docs/API_docs/methods/account.getNotifySettings.md @@ -0,0 +1,31 @@ +## Method: account.getNotifySettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getPassword.md b/docs/API_docs/methods/account.getPassword.md new file mode 100644 index 00000000..1f4632d2 --- /dev/null +++ b/docs/API_docs/methods/account.getPassword.md @@ -0,0 +1,30 @@ +## Method: account.getPassword + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [account\_Password](../types/account\_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getPasswordSettings.md b/docs/API_docs/methods/account.getPasswordSettings.md new file mode 100644 index 00000000..2234c41e --- /dev/null +++ b/docs/API_docs/methods/account.getPasswordSettings.md @@ -0,0 +1,31 @@ +## Method: account.getPasswordSettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account\_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getPrivacy.md b/docs/API_docs/methods/account.getPrivacy.md new file mode 100644 index 00000000..60d50862 --- /dev/null +++ b/docs/API_docs/methods/account.getPrivacy.md @@ -0,0 +1,31 @@ +## Method: account.getPrivacy + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account\_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.getWallPapers.md b/docs/API_docs/methods/account.getWallPapers.md new file mode 100644 index 00000000..9e403971 --- /dev/null +++ b/docs/API_docs/methods/account.getWallPapers.md @@ -0,0 +1,30 @@ +## Method: account.getWallPapers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.registerDevice.md b/docs/API_docs/methods/account.registerDevice.md new file mode 100644 index 00000000..d7367d4c --- /dev/null +++ b/docs/API_docs/methods/account.registerDevice.md @@ -0,0 +1,32 @@ +## Method: account.registerDevice + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.reportPeer.md b/docs/API_docs/methods/account.reportPeer.md new file mode 100644 index 00000000..064c1301 --- /dev/null +++ b/docs/API_docs/methods/account.reportPeer.md @@ -0,0 +1,32 @@ +## Method: account.reportPeer + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.resetAuthorization.md b/docs/API_docs/methods/account.resetAuthorization.md new file mode 100644 index 00000000..9817ff61 --- /dev/null +++ b/docs/API_docs/methods/account.resetAuthorization.md @@ -0,0 +1,31 @@ +## Method: account.resetAuthorization + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.resetNotifySettings.md b/docs/API_docs/methods/account.resetNotifySettings.md new file mode 100644 index 00000000..60f912c9 --- /dev/null +++ b/docs/API_docs/methods/account.resetNotifySettings.md @@ -0,0 +1,30 @@ +## Method: account.resetNotifySettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.sendChangePhoneCode.md b/docs/API_docs/methods/account.sendChangePhoneCode.md new file mode 100644 index 00000000..11d3720f --- /dev/null +++ b/docs/API_docs/methods/account.sendChangePhoneCode.md @@ -0,0 +1,33 @@ +## Method: account.sendChangePhoneCode + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| + + +### Return type: [auth\_SentCode](../types/auth\_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.sendConfirmPhoneCode.md b/docs/API_docs/methods/account.sendConfirmPhoneCode.md new file mode 100644 index 00000000..be55badc --- /dev/null +++ b/docs/API_docs/methods/account.sendConfirmPhoneCode.md @@ -0,0 +1,33 @@ +## Method: account.sendConfirmPhoneCode + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|hash|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| + + +### Return type: [auth\_SentCode](../types/auth\_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.setAccountTTL.md b/docs/API_docs/methods/account.setAccountTTL.md new file mode 100644 index 00000000..8ae6b749 --- /dev/null +++ b/docs/API_docs/methods/account.setAccountTTL.md @@ -0,0 +1,31 @@ +## Method: account.setAccountTTL + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.setPrivacy.md b/docs/API_docs/methods/account.setPrivacy.md new file mode 100644 index 00000000..a19eefce --- /dev/null +++ b/docs/API_docs/methods/account.setPrivacy.md @@ -0,0 +1,32 @@ +## Method: account.setPrivacy + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account\_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.unregisterDevice.md b/docs/API_docs/methods/account.unregisterDevice.md new file mode 100644 index 00000000..9caaab5f --- /dev/null +++ b/docs/API_docs/methods/account.unregisterDevice.md @@ -0,0 +1,32 @@ +## Method: account.unregisterDevice + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updateDeviceLocked.md b/docs/API_docs/methods/account.updateDeviceLocked.md new file mode 100644 index 00000000..c984d81f --- /dev/null +++ b/docs/API_docs/methods/account.updateDeviceLocked.md @@ -0,0 +1,31 @@ +## Method: account.updateDeviceLocked + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updateNotifySettings.md b/docs/API_docs/methods/account.updateNotifySettings.md new file mode 100644 index 00000000..f3c36ecd --- /dev/null +++ b/docs/API_docs/methods/account.updateNotifySettings.md @@ -0,0 +1,32 @@ +## Method: account.updateNotifySettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updatePasswordSettings.md b/docs/API_docs/methods/account.updatePasswordSettings.md new file mode 100644 index 00000000..7c2c4aa6 --- /dev/null +++ b/docs/API_docs/methods/account.updatePasswordSettings.md @@ -0,0 +1,32 @@ +## Method: account.updatePasswordSettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account\_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updateProfile.md b/docs/API_docs/methods/account.updateProfile.md new file mode 100644 index 00000000..02627347 --- /dev/null +++ b/docs/API_docs/methods/account.updateProfile.md @@ -0,0 +1,33 @@ +## Method: account.updateProfile + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|about|[string](../types/string.md) | Optional| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updateStatus.md b/docs/API_docs/methods/account.updateStatus.md new file mode 100644 index 00000000..6fd8d51a --- /dev/null +++ b/docs/API_docs/methods/account.updateStatus.md @@ -0,0 +1,31 @@ +## Method: account.updateStatus + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/account.updateUsername.md b/docs/API_docs/methods/account.updateUsername.md new file mode 100644 index 00000000..318b19d3 --- /dev/null +++ b/docs/API_docs/methods/account.updateUsername.md @@ -0,0 +1,31 @@ +## Method: account.updateUsername + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.bindTempAuthKey.md b/docs/API_docs/methods/auth.bindTempAuthKey.md new file mode 100644 index 00000000..31b8ad75 --- /dev/null +++ b/docs/API_docs/methods/auth.bindTempAuthKey.md @@ -0,0 +1,34 @@ +## Method: auth.bindTempAuthKey + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.cancelCode.md b/docs/API_docs/methods/auth.cancelCode.md new file mode 100644 index 00000000..fa71a9e7 --- /dev/null +++ b/docs/API_docs/methods/auth.cancelCode.md @@ -0,0 +1,32 @@ +## Method: auth.cancelCode + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.checkPassword.md b/docs/API_docs/methods/auth.checkPassword.md new file mode 100644 index 00000000..c3d4cbdb --- /dev/null +++ b/docs/API_docs/methods/auth.checkPassword.md @@ -0,0 +1,31 @@ +## Method: auth.checkPassword + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.checkPhone.md b/docs/API_docs/methods/auth.checkPhone.md new file mode 100644 index 00000000..276b7ec6 --- /dev/null +++ b/docs/API_docs/methods/auth.checkPhone.md @@ -0,0 +1,31 @@ +## Method: auth.checkPhone + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth\_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.dropTempAuthKeys.md b/docs/API_docs/methods/auth.dropTempAuthKeys.md new file mode 100644 index 00000000..345b3d3a --- /dev/null +++ b/docs/API_docs/methods/auth.dropTempAuthKeys.md @@ -0,0 +1,31 @@ +## Method: auth.dropTempAuthKeys + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|except\_auth\_keys|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.exportAuthorization.md b/docs/API_docs/methods/auth.exportAuthorization.md new file mode 100644 index 00000000..97ca7714 --- /dev/null +++ b/docs/API_docs/methods/auth.exportAuthorization.md @@ -0,0 +1,31 @@ +## Method: auth.exportAuthorization + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth\_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.importAuthorization.md b/docs/API_docs/methods/auth.importAuthorization.md new file mode 100644 index 00000000..c08e9287 --- /dev/null +++ b/docs/API_docs/methods/auth.importAuthorization.md @@ -0,0 +1,32 @@ +## Method: auth.importAuthorization + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.importBotAuthorization.md b/docs/API_docs/methods/auth.importBotAuthorization.md new file mode 100644 index 00000000..3da64024 --- /dev/null +++ b/docs/API_docs/methods/auth.importBotAuthorization.md @@ -0,0 +1,33 @@ +## Method: auth.importBotAuthorization + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.logOut.md b/docs/API_docs/methods/auth.logOut.md new file mode 100644 index 00000000..0f0416dd --- /dev/null +++ b/docs/API_docs/methods/auth.logOut.md @@ -0,0 +1,30 @@ +## Method: auth.logOut + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.recoverPassword.md b/docs/API_docs/methods/auth.recoverPassword.md new file mode 100644 index 00000000..2c45dc72 --- /dev/null +++ b/docs/API_docs/methods/auth.recoverPassword.md @@ -0,0 +1,31 @@ +## Method: auth.recoverPassword + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.requestPasswordRecovery.md b/docs/API_docs/methods/auth.requestPasswordRecovery.md new file mode 100644 index 00000000..52320a9b --- /dev/null +++ b/docs/API_docs/methods/auth.requestPasswordRecovery.md @@ -0,0 +1,30 @@ +## Method: auth.requestPasswordRecovery + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [auth\_PasswordRecovery](../types/auth\_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.resendCode.md b/docs/API_docs/methods/auth.resendCode.md new file mode 100644 index 00000000..6c7430f3 --- /dev/null +++ b/docs/API_docs/methods/auth.resendCode.md @@ -0,0 +1,32 @@ +## Method: auth.resendCode + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth\_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.resetAuthorizations.md b/docs/API_docs/methods/auth.resetAuthorizations.md new file mode 100644 index 00000000..3803cb71 --- /dev/null +++ b/docs/API_docs/methods/auth.resetAuthorizations.md @@ -0,0 +1,30 @@ +## Method: auth.resetAuthorizations + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.sendCode.md b/docs/API_docs/methods/auth.sendCode.md new file mode 100644 index 00000000..1907f10f --- /dev/null +++ b/docs/API_docs/methods/auth.sendCode.md @@ -0,0 +1,35 @@ +## Method: auth.sendCode + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth\_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.sendInvites.md b/docs/API_docs/methods/auth.sendInvites.md new file mode 100644 index 00000000..2c6ced1e --- /dev/null +++ b/docs/API_docs/methods/auth.sendInvites.md @@ -0,0 +1,32 @@ +## Method: auth.sendInvites + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.signIn.md b/docs/API_docs/methods/auth.signIn.md new file mode 100644 index 00000000..5249858c --- /dev/null +++ b/docs/API_docs/methods/auth.signIn.md @@ -0,0 +1,33 @@ +## Method: auth.signIn + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/auth.signUp.md b/docs/API_docs/methods/auth.signUp.md new file mode 100644 index 00000000..51352218 --- /dev/null +++ b/docs/API_docs/methods/auth.signUp.md @@ -0,0 +1,35 @@ +## Method: auth.signUp + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth\_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.checkUsername.md b/docs/API_docs/methods/channels.checkUsername.md new file mode 100644 index 00000000..051b6ee9 --- /dev/null +++ b/docs/API_docs/methods/channels.checkUsername.md @@ -0,0 +1,32 @@ +## Method: channels.checkUsername + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.createChannel.md b/docs/API_docs/methods/channels.createChannel.md new file mode 100644 index 00000000..845c3a96 --- /dev/null +++ b/docs/API_docs/methods/channels.createChannel.md @@ -0,0 +1,34 @@ +## Method: channels.createChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.deleteChannel.md b/docs/API_docs/methods/channels.deleteChannel.md new file mode 100644 index 00000000..d8b96aad --- /dev/null +++ b/docs/API_docs/methods/channels.deleteChannel.md @@ -0,0 +1,31 @@ +## Method: channels.deleteChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.deleteMessages.md b/docs/API_docs/methods/channels.deleteMessages.md new file mode 100644 index 00000000..403718bb --- /dev/null +++ b/docs/API_docs/methods/channels.deleteMessages.md @@ -0,0 +1,32 @@ +## Method: channels.deleteMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages\_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.deleteUserHistory.md b/docs/API_docs/methods/channels.deleteUserHistory.md new file mode 100644 index 00000000..476f69b7 --- /dev/null +++ b/docs/API_docs/methods/channels.deleteUserHistory.md @@ -0,0 +1,32 @@ +## Method: channels.deleteUserHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages\_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.editAbout.md b/docs/API_docs/methods/channels.editAbout.md new file mode 100644 index 00000000..d4283240 --- /dev/null +++ b/docs/API_docs/methods/channels.editAbout.md @@ -0,0 +1,32 @@ +## Method: channels.editAbout + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.editAdmin.md b/docs/API_docs/methods/channels.editAdmin.md new file mode 100644 index 00000000..48b5c954 --- /dev/null +++ b/docs/API_docs/methods/channels.editAdmin.md @@ -0,0 +1,33 @@ +## Method: channels.editAdmin + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.editPhoto.md b/docs/API_docs/methods/channels.editPhoto.md new file mode 100644 index 00000000..e22880c8 --- /dev/null +++ b/docs/API_docs/methods/channels.editPhoto.md @@ -0,0 +1,32 @@ +## Method: channels.editPhoto + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.editTitle.md b/docs/API_docs/methods/channels.editTitle.md new file mode 100644 index 00000000..72920d58 --- /dev/null +++ b/docs/API_docs/methods/channels.editTitle.md @@ -0,0 +1,32 @@ +## Method: channels.editTitle + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.exportInvite.md b/docs/API_docs/methods/channels.exportInvite.md new file mode 100644 index 00000000..1b52b6d8 --- /dev/null +++ b/docs/API_docs/methods/channels.exportInvite.md @@ -0,0 +1,31 @@ +## Method: channels.exportInvite + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.exportMessageLink.md b/docs/API_docs/methods/channels.exportMessageLink.md new file mode 100644 index 00000000..ee468252 --- /dev/null +++ b/docs/API_docs/methods/channels.exportMessageLink.md @@ -0,0 +1,32 @@ +## Method: channels.exportMessageLink + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [ExportedMessageLink](../types/ExportedMessageLink.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getAdminedPublicChannels.md b/docs/API_docs/methods/channels.getAdminedPublicChannels.md new file mode 100644 index 00000000..3223f5d1 --- /dev/null +++ b/docs/API_docs/methods/channels.getAdminedPublicChannels.md @@ -0,0 +1,30 @@ +## Method: channels.getAdminedPublicChannels + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [messages\_Chats](../types/messages\_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getChannels.md b/docs/API_docs/methods/channels.getChannels.md new file mode 100644 index 00000000..e50c5f82 --- /dev/null +++ b/docs/API_docs/methods/channels.getChannels.md @@ -0,0 +1,31 @@ +## Method: channels.getChannels + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages\_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getFullChannel.md b/docs/API_docs/methods/channels.getFullChannel.md new file mode 100644 index 00000000..59a2f12f --- /dev/null +++ b/docs/API_docs/methods/channels.getFullChannel.md @@ -0,0 +1,31 @@ +## Method: channels.getFullChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages\_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getMessages.md b/docs/API_docs/methods/channels.getMessages.md new file mode 100644 index 00000000..aee71d00 --- /dev/null +++ b/docs/API_docs/methods/channels.getMessages.md @@ -0,0 +1,32 @@ +## Method: channels.getMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getParticipant.md b/docs/API_docs/methods/channels.getParticipant.md new file mode 100644 index 00000000..ecaa882c --- /dev/null +++ b/docs/API_docs/methods/channels.getParticipant.md @@ -0,0 +1,32 @@ +## Method: channels.getParticipant + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels\_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.getParticipants.md b/docs/API_docs/methods/channels.getParticipants.md new file mode 100644 index 00000000..b632a4c0 --- /dev/null +++ b/docs/API_docs/methods/channels.getParticipants.md @@ -0,0 +1,34 @@ +## Method: channels.getParticipants + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels\_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.inviteToChannel.md b/docs/API_docs/methods/channels.inviteToChannel.md new file mode 100644 index 00000000..80ea0c75 --- /dev/null +++ b/docs/API_docs/methods/channels.inviteToChannel.md @@ -0,0 +1,32 @@ +## Method: channels.inviteToChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.joinChannel.md b/docs/API_docs/methods/channels.joinChannel.md new file mode 100644 index 00000000..2bd85654 --- /dev/null +++ b/docs/API_docs/methods/channels.joinChannel.md @@ -0,0 +1,31 @@ +## Method: channels.joinChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.kickFromChannel.md b/docs/API_docs/methods/channels.kickFromChannel.md new file mode 100644 index 00000000..ecbf68f1 --- /dev/null +++ b/docs/API_docs/methods/channels.kickFromChannel.md @@ -0,0 +1,33 @@ +## Method: channels.kickFromChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.leaveChannel.md b/docs/API_docs/methods/channels.leaveChannel.md new file mode 100644 index 00000000..282f7527 --- /dev/null +++ b/docs/API_docs/methods/channels.leaveChannel.md @@ -0,0 +1,31 @@ +## Method: channels.leaveChannel + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.readHistory.md b/docs/API_docs/methods/channels.readHistory.md new file mode 100644 index 00000000..03fa27d6 --- /dev/null +++ b/docs/API_docs/methods/channels.readHistory.md @@ -0,0 +1,32 @@ +## Method: channels.readHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.reportSpam.md b/docs/API_docs/methods/channels.reportSpam.md new file mode 100644 index 00000000..8cda534d --- /dev/null +++ b/docs/API_docs/methods/channels.reportSpam.md @@ -0,0 +1,33 @@ +## Method: channels.reportSpam + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.toggleInvites.md b/docs/API_docs/methods/channels.toggleInvites.md new file mode 100644 index 00000000..5cf041c3 --- /dev/null +++ b/docs/API_docs/methods/channels.toggleInvites.md @@ -0,0 +1,32 @@ +## Method: channels.toggleInvites + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.toggleSignatures.md b/docs/API_docs/methods/channels.toggleSignatures.md new file mode 100644 index 00000000..e885c63c --- /dev/null +++ b/docs/API_docs/methods/channels.toggleSignatures.md @@ -0,0 +1,32 @@ +## Method: channels.toggleSignatures + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.updatePinnedMessage.md b/docs/API_docs/methods/channels.updatePinnedMessage.md new file mode 100644 index 00000000..3fb9acfe --- /dev/null +++ b/docs/API_docs/methods/channels.updatePinnedMessage.md @@ -0,0 +1,33 @@ +## Method: channels.updatePinnedMessage + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/channels.updateUsername.md b/docs/API_docs/methods/channels.updateUsername.md new file mode 100644 index 00000000..a7a5398c --- /dev/null +++ b/docs/API_docs/methods/channels.updateUsername.md @@ -0,0 +1,32 @@ +## Method: channels.updateUsername + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.block.md b/docs/API_docs/methods/contacts.block.md new file mode 100644 index 00000000..721f2f14 --- /dev/null +++ b/docs/API_docs/methods/contacts.block.md @@ -0,0 +1,31 @@ +## Method: contacts.block + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.deleteContact.md b/docs/API_docs/methods/contacts.deleteContact.md new file mode 100644 index 00000000..59a1a5ab --- /dev/null +++ b/docs/API_docs/methods/contacts.deleteContact.md @@ -0,0 +1,31 @@ +## Method: contacts.deleteContact + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts\_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.deleteContacts.md b/docs/API_docs/methods/contacts.deleteContacts.md new file mode 100644 index 00000000..7be788c2 --- /dev/null +++ b/docs/API_docs/methods/contacts.deleteContacts.md @@ -0,0 +1,31 @@ +## Method: contacts.deleteContacts + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.exportCard.md b/docs/API_docs/methods/contacts.exportCard.md new file mode 100644 index 00000000..a66edcc9 --- /dev/null +++ b/docs/API_docs/methods/contacts.exportCard.md @@ -0,0 +1,30 @@ +## Method: contacts.exportCard + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.getBlocked.md b/docs/API_docs/methods/contacts.getBlocked.md new file mode 100644 index 00000000..6f10e1de --- /dev/null +++ b/docs/API_docs/methods/contacts.getBlocked.md @@ -0,0 +1,32 @@ +## Method: contacts.getBlocked + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts\_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.getContacts.md b/docs/API_docs/methods/contacts.getContacts.md new file mode 100644 index 00000000..c3064e95 --- /dev/null +++ b/docs/API_docs/methods/contacts.getContacts.md @@ -0,0 +1,31 @@ +## Method: contacts.getContacts + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts\_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.getStatuses.md b/docs/API_docs/methods/contacts.getStatuses.md new file mode 100644 index 00000000..25be8003 --- /dev/null +++ b/docs/API_docs/methods/contacts.getStatuses.md @@ -0,0 +1,30 @@ +## Method: contacts.getStatuses + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.getTopPeers.md b/docs/API_docs/methods/contacts.getTopPeers.md new file mode 100644 index 00000000..7891f214 --- /dev/null +++ b/docs/API_docs/methods/contacts.getTopPeers.md @@ -0,0 +1,38 @@ +## Method: contacts.getTopPeers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|correspondents|[Bool](../types/Bool.md) | Optional| +|bots\_pm|[Bool](../types/Bool.md) | Optional| +|bots\_inline|[Bool](../types/Bool.md) | Optional| +|groups|[Bool](../types/Bool.md) | Optional| +|channels|[Bool](../types/Bool.md) | Optional| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + +### Return type: [contacts\_TopPeers](../types/contacts\_TopPeers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.importCard.md b/docs/API_docs/methods/contacts.importCard.md new file mode 100644 index 00000000..c709dac4 --- /dev/null +++ b/docs/API_docs/methods/contacts.importCard.md @@ -0,0 +1,31 @@ +## Method: contacts.importCard + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.importContacts.md b/docs/API_docs/methods/contacts.importContacts.md new file mode 100644 index 00000000..20e9a38c --- /dev/null +++ b/docs/API_docs/methods/contacts.importContacts.md @@ -0,0 +1,32 @@ +## Method: contacts.importContacts + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts\_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.resetTopPeerRating.md b/docs/API_docs/methods/contacts.resetTopPeerRating.md new file mode 100644 index 00000000..7cd69851 --- /dev/null +++ b/docs/API_docs/methods/contacts.resetTopPeerRating.md @@ -0,0 +1,32 @@ +## Method: contacts.resetTopPeerRating + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.resolveUsername.md b/docs/API_docs/methods/contacts.resolveUsername.md new file mode 100644 index 00000000..b6a59730 --- /dev/null +++ b/docs/API_docs/methods/contacts.resolveUsername.md @@ -0,0 +1,31 @@ +## Method: contacts.resolveUsername + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts\_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.search.md b/docs/API_docs/methods/contacts.search.md new file mode 100644 index 00000000..25cf96db --- /dev/null +++ b/docs/API_docs/methods/contacts.search.md @@ -0,0 +1,32 @@ +## Method: contacts.search + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts\_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/contacts.unblock.md b/docs/API_docs/methods/contacts.unblock.md new file mode 100644 index 00000000..edef8a8a --- /dev/null +++ b/docs/API_docs/methods/contacts.unblock.md @@ -0,0 +1,31 @@ +## Method: contacts.unblock + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getAppChangelog.md b/docs/API_docs/methods/help.getAppChangelog.md new file mode 100644 index 00000000..3d4e4a45 --- /dev/null +++ b/docs/API_docs/methods/help.getAppChangelog.md @@ -0,0 +1,30 @@ +## Method: help.getAppChangelog + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [help\_AppChangelog](../types/help\_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getAppUpdate.md b/docs/API_docs/methods/help.getAppUpdate.md new file mode 100644 index 00000000..2655050b --- /dev/null +++ b/docs/API_docs/methods/help.getAppUpdate.md @@ -0,0 +1,30 @@ +## Method: help.getAppUpdate + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [help\_AppUpdate](../types/help\_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getConfig.md b/docs/API_docs/methods/help.getConfig.md new file mode 100644 index 00000000..c3702e87 --- /dev/null +++ b/docs/API_docs/methods/help.getConfig.md @@ -0,0 +1,30 @@ +## Method: help.getConfig + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getInviteText.md b/docs/API_docs/methods/help.getInviteText.md new file mode 100644 index 00000000..6fae2e57 --- /dev/null +++ b/docs/API_docs/methods/help.getInviteText.md @@ -0,0 +1,30 @@ +## Method: help.getInviteText + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [help\_InviteText](../types/help\_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getNearestDc.md b/docs/API_docs/methods/help.getNearestDc.md new file mode 100644 index 00000000..fbad5c2a --- /dev/null +++ b/docs/API_docs/methods/help.getNearestDc.md @@ -0,0 +1,30 @@ +## Method: help.getNearestDc + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getSupport.md b/docs/API_docs/methods/help.getSupport.md new file mode 100644 index 00000000..870d4567 --- /dev/null +++ b/docs/API_docs/methods/help.getSupport.md @@ -0,0 +1,30 @@ +## Method: help.getSupport + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [help\_Support](../types/help\_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/help.getTermsOfService.md b/docs/API_docs/methods/help.getTermsOfService.md new file mode 100644 index 00000000..cab3b278 --- /dev/null +++ b/docs/API_docs/methods/help.getTermsOfService.md @@ -0,0 +1,30 @@ +## Method: help.getTermsOfService + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [help\_TermsOfService](../types/help\_TermsOfService.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/index.md b/docs/API_docs/methods/index.md new file mode 100644 index 00000000..f880a277 --- /dev/null +++ b/docs/API_docs/methods/index.md @@ -0,0 +1,383 @@ +# Methods + + +
+$MadelineProto->[account->changePhone](account.changePhone.md)(\['phone\_number' => [string](../types/string.md), 'phone\_code\_hash' => [string](../types/string.md), 'phone\_code' => [string](../types/string.md), \]) == [$User](../types/User.md); + +$MadelineProto->[account->checkUsername](account.checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->confirmPhone](account.confirmPhone.md)(\['phone\_code\_hash' => [string](../types/string.md), 'phone\_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->deleteAccount](account.deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)() == [$AccountDaysTTL](../types/AccountDaysTTL.md); + +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)() == [$account\_Authorizations](../types/account\_Authorizations.md); + +$MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.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->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account\_PrivacyRules.md); + +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)() == [$Vector\_of\_WallPaper](../types/WallPaper.md); + +$MadelineProto->[account->registerDevice](account.registerDevice.md)(\['token\_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->reportPeer](account.reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->resetAuthorization](account.resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)() == [$Bool](../types/Bool.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->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => [[InputPrivacyRule](../types/InputPrivacyRule.md)], \]) == [$account\_PrivacyRules](../types/account\_PrivacyRules.md); + +$MadelineProto->[account->unregisterDevice](account.unregisterDevice.md)(\['token\_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->updateDeviceLocked](account.updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->updateNotifySettings](account.updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->updatePasswordSettings](account.updatePasswordSettings.md)(\['current\_password\_hash' => [bytes](../types/bytes.md), 'new\_settings' => [account\_PasswordInputSettings](../types/account\_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->updateProfile](account.updateProfile.md)(\['first\_name' => [string](../types/string.md), 'last\_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md); + +$MadelineProto->[account->updateStatus](account.updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[account->updateUsername](account.updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md); + +$MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm\_auth\_key\_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires\_at' => [int](../types/int.md), 'encrypted\_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone\_number' => [string](../types/string.md), 'phone\_code\_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.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->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except\_auth\_keys' => [[long](../types/long.md)], \]) == [$Bool](../types/Bool.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->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->logOut](auth.logOut.md)() == [$Bool](../types/Bool.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->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->resetAuthorizations](auth.resetAuthorizations.md)() == [$Bool](../types/Bool.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->sendInvites](auth.sendInvites.md)(\['phone\_numbers' => [[string](../types/string.md)], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.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->[channels->checkUsername](channels.checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[channels->createChannel](channels.createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.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->editAbout](channels.editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[channels->editAdmin](channels.editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user\_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->editPhoto](channels.editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->editTitle](channels.editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md); + +$MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.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->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->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->inviteToChannel](channels.inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => [[InputUser](../types/InputUser.md)], \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->joinChannel](channels.joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->kickFromChannel](channels.kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user\_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->leaveChannel](channels.leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->readHistory](channels.readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max\_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[channels->reportSpam](channels.reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user\_id' => [InputUser](../types/InputUser.md), 'id' => [[int](../types/int.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[channels->toggleInvites](channels.toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->toggleSignatures](channels.toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->updatePinnedMessage](channels.updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[channels->updateUsername](channels.updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts\_Link.md); + +$MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => [[InputUser](../types/InputUser.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[contacts->exportCard](contacts.exportCard.md)() == [$Vector\_of\_int](../types/int.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->getStatuses](contacts.getStatuses.md)() == [$Vector\_of\_ContactStatus](../types/ContactStatus.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); + +$MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export\_card' => [[int](../types/int.md)], \]) == [$User](../types/User.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->resetTopPeerRating](contacts.resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.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->unblock](contacts.unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.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->getConfig](help.getConfig.md)() == [$Config](../types/Config.md); + +$MadelineProto->[help->getInviteText](help.getInviteText.md)() == [$help\_InviteText](../types/help\_InviteText.md); + +$MadelineProto->[help->getNearestDc](help.getNearestDc.md)() == [$NearestDc](../types/NearestDc.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->saveAppLog](help.saveAppLog.md)(\['events' => [[InputAppEvent](../types/InputAppEvent.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[initConnection](initConnection.md)(\['api\_id' => [int](../types/int.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), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md); + +$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg\_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md); + +$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg\_ids' => [[long](../types/long.md)], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md); + +$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md); + +$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md); + +$MadelineProto->[messages->acceptEncryption](messages.acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g\_b' => [bytes](../types/bytes.md), 'key\_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md); + +$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat\_id' => [int](../types/int.md), 'user\_id' => [InputUser](../types/InputUser.md), 'fwd\_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->checkChatInvite](messages.checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md); + +$MadelineProto->[messages->clearRecentStickers](messages.clearRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => [[InputUser](../types/InputUser.md)], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat\_id' => [int](../types/int.md), 'user\_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.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->discardEncryption](messages.discardEncryption.md)(\['chat\_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->editChatAdmin](messages.editChatAdmin.md)(\['chat\_id' => [int](../types/int.md), 'user\_id' => [InputUser](../types/InputUser.md), 'is\_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat\_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat\_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->editInlineBotMessage](messages.editInlineBotMessage.md)(\['no\_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->editMessage](messages.editMessage.md)(\['no\_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->exportChatInvite](messages.exportChatInvite.md)(\['chat\_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md); + +$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'random\_id' => [long](../types/long.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with\_my\_score' => [Bool](../types/Bool.md), 'from\_peer' => [InputPeer](../types/InputPeer.md), 'id' => [[int](../types/int.md)], 'random\_id' => [[long](../types/long.md)], 'to\_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)() == [$Updates](../types/Updates.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->getAttachedStickers](messages.getAttachedStickers.md)(\['media' => [InputStickeredMedia](../types/InputStickeredMedia.md), \]) == [$Vector\_of\_StickerSetCovered](../types/StickerSetCovered.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->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->getDocumentByHash](messages.getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime\_type' => [string](../types/string.md), \]) == [$Document](../types/Document.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' => [int](../types/int.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->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->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->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->getMessagesViews](messages.getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [[int](../types/int.md)], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md); + +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => [[InputPeer](../types/InputPeer.md)], \]) == [$messages\_PeerDialogs](../types/messages\_PeerDialogs.md); + +$MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.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->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages\_StickerSet.md); + +$MadelineProto->[messages->getWebPagePreview](messages.getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md); + +$MadelineProto->[messages->hideReportSpam](messages.hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) == [$messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md); + +$MadelineProto->[messages->migrateChat](messages.migrateChat.md)(\['chat\_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max\_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.md)(\['id' => [[long](../types/long.md)], \]) == [$Bool](../types/Bool.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->receivedMessages](messages.receivedMessages.md)(\['max\_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md); + +$MadelineProto->[messages->receivedQueue](messages.receivedQueue.md)(\['max\_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md); + +$MadelineProto->[messages->reorderStickerSets](messages.reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => [[long](../types/long.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->reportSpam](messages.reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\['user\_id' => [InputUser](../types/InputUser.md), 'random\_id' => [int](../types/int.md), 'g\_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md); + +$MadelineProto->[messages->saveDraft](messages.saveDraft.md)(\['no\_webpage' => [Bool](../types/Bool.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->saveGif](messages.saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.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->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), 'random\_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md); + +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random\_id' => [long](../types/long.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), 'random\_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md); + +$MadelineProto->[messages->sendInlineBotResult](messages.sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear\_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'random\_id' => [long](../types/long.md), 'query\_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear\_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'random\_id' => [long](../types/long.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['no\_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear\_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply\_to\_msg\_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'random\_id' => [long](../types/long.md), 'reply\_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => [[MessageEntity](../types/MessageEntity.md)], \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->setBotCallbackAnswer](messages.setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query\_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->setEncryptedTyping](messages.setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->setGameScore](messages.setGameScore.md)(\['edit\_message' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user\_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->setInlineBotResults](messages.setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query\_id' => [long](../types/long.md), 'results' => [[InputBotInlineResult](../types/InputBotInlineResult.md)], 'cache\_time' => [int](../types/int.md), 'next\_offset' => [string](../types/string.md), 'switch\_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->setInlineGameScore](messages.setInlineGameScore.md)(\['edit\_message' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user\_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->setTyping](messages.setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[messages->startBot](messages.startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'random\_id' => [long](../types/long.md), 'start\_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->toggleChatAdmins](messages.toggleChatAdmins.md)(\['chat\_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md); + +$MadelineProto->[messages->uninstallStickerSet](messages.uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => [[InputPhoto](../types/InputPhoto.md)], \]) == [$Vector\_of\_long](../types/long.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); + +$MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.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->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->[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->saveBigFilePart](upload.saveBigFilePart.md)(\['file\_id' => [long](../types/long.md), 'file\_part' => [int](../types/int.md), 'file\_total\_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[upload->saveFilePart](upload.saveFilePart.md)(\['file\_id' => [long](../types/long.md), 'file\_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md); + +$MadelineProto->[users->getFullUser](users.getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md); + +$MadelineProto->[users->getUsers](users.getUsers.md)(\['id' => [[InputUser](../types/InputUser.md)], \]) == [$Vector\_of\_User](../types/User.md); + +
\ No newline at end of file diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md new file mode 100644 index 00000000..f2156628 --- /dev/null +++ b/docs/API_docs/methods/initConnection.md @@ -0,0 +1,36 @@ +## Method: initConnection + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md new file mode 100644 index 00000000..3d9fb9d5 --- /dev/null +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -0,0 +1,32 @@ +## Method: invokeAfterMsg + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fcf579ef --- /dev/null +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -0,0 +1,32 @@ +## Method: invokeAfterMsgs + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md new file mode 100644 index 00000000..4a32dc37 --- /dev/null +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -0,0 +1,32 @@ +## Method: invokeWithLayer + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..6a3f194f --- /dev/null +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -0,0 +1,31 @@ +## Method: invokeWithoutUpdates + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.acceptEncryption.md b/docs/API_docs/methods/messages.acceptEncryption.md new file mode 100644 index 00000000..296387c7 --- /dev/null +++ b/docs/API_docs/methods/messages.acceptEncryption.md @@ -0,0 +1,33 @@ +## Method: messages.acceptEncryption + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.addChatUser.md b/docs/API_docs/methods/messages.addChatUser.md new file mode 100644 index 00000000..5bc70013 --- /dev/null +++ b/docs/API_docs/methods/messages.addChatUser.md @@ -0,0 +1,33 @@ +## Method: messages.addChatUser + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.checkChatInvite.md b/docs/API_docs/methods/messages.checkChatInvite.md new file mode 100644 index 00000000..b0fd0741 --- /dev/null +++ b/docs/API_docs/methods/messages.checkChatInvite.md @@ -0,0 +1,31 @@ +## Method: messages.checkChatInvite + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.clearRecentStickers.md b/docs/API_docs/methods/messages.clearRecentStickers.md new file mode 100644 index 00000000..54ade34e --- /dev/null +++ b/docs/API_docs/methods/messages.clearRecentStickers.md @@ -0,0 +1,31 @@ +## Method: messages.clearRecentStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|attached|[Bool](../types/Bool.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.createChat.md b/docs/API_docs/methods/messages.createChat.md new file mode 100644 index 00000000..ce35e53f --- /dev/null +++ b/docs/API_docs/methods/messages.createChat.md @@ -0,0 +1,32 @@ +## Method: messages.createChat + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.deleteChatUser.md b/docs/API_docs/methods/messages.deleteChatUser.md new file mode 100644 index 00000000..74249168 --- /dev/null +++ b/docs/API_docs/methods/messages.deleteChatUser.md @@ -0,0 +1,32 @@ +## Method: messages.deleteChatUser + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.deleteHistory.md b/docs/API_docs/methods/messages.deleteHistory.md new file mode 100644 index 00000000..4ef901bc --- /dev/null +++ b/docs/API_docs/methods/messages.deleteHistory.md @@ -0,0 +1,33 @@ +## Method: messages.deleteHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|just\_clear|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages\_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.deleteMessages.md b/docs/API_docs/methods/messages.deleteMessages.md new file mode 100644 index 00000000..475028ca --- /dev/null +++ b/docs/API_docs/methods/messages.deleteMessages.md @@ -0,0 +1,31 @@ +## Method: messages.deleteMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages\_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.discardEncryption.md b/docs/API_docs/methods/messages.discardEncryption.md new file mode 100644 index 00000000..fef57c64 --- /dev/null +++ b/docs/API_docs/methods/messages.discardEncryption.md @@ -0,0 +1,31 @@ +## Method: messages.discardEncryption + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.editChatAdmin.md b/docs/API_docs/methods/messages.editChatAdmin.md new file mode 100644 index 00000000..c3efa8bf --- /dev/null +++ b/docs/API_docs/methods/messages.editChatAdmin.md @@ -0,0 +1,33 @@ +## Method: messages.editChatAdmin + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.editChatPhoto.md b/docs/API_docs/methods/messages.editChatPhoto.md new file mode 100644 index 00000000..7cd32b3a --- /dev/null +++ b/docs/API_docs/methods/messages.editChatPhoto.md @@ -0,0 +1,32 @@ +## Method: messages.editChatPhoto + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.editChatTitle.md b/docs/API_docs/methods/messages.editChatTitle.md new file mode 100644 index 00000000..9e78cba5 --- /dev/null +++ b/docs/API_docs/methods/messages.editChatTitle.md @@ -0,0 +1,32 @@ +## Method: messages.editChatTitle + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.editInlineBotMessage.md b/docs/API_docs/methods/messages.editInlineBotMessage.md new file mode 100644 index 00000000..d3607c8b --- /dev/null +++ b/docs/API_docs/methods/messages.editInlineBotMessage.md @@ -0,0 +1,35 @@ +## Method: messages.editInlineBotMessage + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.editMessage.md b/docs/API_docs/methods/messages.editMessage.md new file mode 100644 index 00000000..d0adc207 --- /dev/null +++ b/docs/API_docs/methods/messages.editMessage.md @@ -0,0 +1,36 @@ +## Method: messages.editMessage + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.exportChatInvite.md b/docs/API_docs/methods/messages.exportChatInvite.md new file mode 100644 index 00000000..7f6ab96a --- /dev/null +++ b/docs/API_docs/methods/messages.exportChatInvite.md @@ -0,0 +1,31 @@ +## Method: messages.exportChatInvite + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.forwardMessage.md b/docs/API_docs/methods/messages.forwardMessage.md new file mode 100644 index 00000000..462d4aee --- /dev/null +++ b/docs/API_docs/methods/messages.forwardMessage.md @@ -0,0 +1,33 @@ +## Method: messages.forwardMessage + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|random\_id|[long](../types/long.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, 'random_id' => long, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.forwardMessages.md b/docs/API_docs/methods/messages.forwardMessages.md new file mode 100644 index 00000000..e0bb1a28 --- /dev/null +++ b/docs/API_docs/methods/messages.forwardMessages.md @@ -0,0 +1,37 @@ +## Method: messages.forwardMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|with\_my\_score|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|random\_id|Array of [long](../types/long.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'random_id' => [long], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getAllDrafts.md b/docs/API_docs/methods/messages.getAllDrafts.md new file mode 100644 index 00000000..211d935d --- /dev/null +++ b/docs/API_docs/methods/messages.getAllDrafts.md @@ -0,0 +1,30 @@ +## Method: messages.getAllDrafts + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->getAllDrafts(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getAllStickers.md b/docs/API_docs/methods/messages.getAllStickers.md new file mode 100644 index 00000000..48cad71a --- /dev/null +++ b/docs/API_docs/methods/messages.getAllStickers.md @@ -0,0 +1,31 @@ +## Method: messages.getAllStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages\_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getArchivedStickers.md b/docs/API_docs/methods/messages.getArchivedStickers.md new file mode 100644 index 00000000..0ed8d05b --- /dev/null +++ b/docs/API_docs/methods/messages.getArchivedStickers.md @@ -0,0 +1,33 @@ +## Method: messages.getArchivedStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|masks|[Bool](../types/Bool.md) | Optional| +|offset\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_ArchivedStickers](../types/messages\_ArchivedStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getAttachedStickers.md b/docs/API_docs/methods/messages.getAttachedStickers.md new file mode 100644 index 00000000..1979e3e0 --- /dev/null +++ b/docs/API_docs/methods/messages.getAttachedStickers.md @@ -0,0 +1,31 @@ +## Method: messages.getAttachedStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|media|[InputStickeredMedia](../types/InputStickeredMedia.md) | Required| + + +### Return type: [Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getBotCallbackAnswer.md b/docs/API_docs/methods/messages.getBotCallbackAnswer.md new file mode 100644 index 00000000..c368192d --- /dev/null +++ b/docs/API_docs/methods/messages.getBotCallbackAnswer.md @@ -0,0 +1,34 @@ +## Method: messages.getBotCallbackAnswer + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|game|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Optional| + + +### Return type: [messages\_BotCallbackAnswer](../types/messages\_BotCallbackAnswer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getChats.md b/docs/API_docs/methods/messages.getChats.md new file mode 100644 index 00000000..646c3887 --- /dev/null +++ b/docs/API_docs/methods/messages.getChats.md @@ -0,0 +1,31 @@ +## Method: messages.getChats + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages\_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getDhConfig.md b/docs/API_docs/methods/messages.getDhConfig.md new file mode 100644 index 00000000..ee3a09e2 --- /dev/null +++ b/docs/API_docs/methods/messages.getDhConfig.md @@ -0,0 +1,32 @@ +## Method: messages.getDhConfig + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages\_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getDialogs.md b/docs/API_docs/methods/messages.getDialogs.md new file mode 100644 index 00000000..fb51e207 --- /dev/null +++ b/docs/API_docs/methods/messages.getDialogs.md @@ -0,0 +1,34 @@ +## Method: messages.getDialogs + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages\_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getDocumentByHash.md b/docs/API_docs/methods/messages.getDocumentByHash.md new file mode 100644 index 00000000..43c3ceeb --- /dev/null +++ b/docs/API_docs/methods/messages.getDocumentByHash.md @@ -0,0 +1,33 @@ +## Method: messages.getDocumentByHash + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sha256|[bytes](../types/bytes.md) | Required| +|size|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + +### Return type: [Document](../types/Document.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getFeaturedStickers.md b/docs/API_docs/methods/messages.getFeaturedStickers.md new file mode 100644 index 00000000..3d61a9e7 --- /dev/null +++ b/docs/API_docs/methods/messages.getFeaturedStickers.md @@ -0,0 +1,31 @@ +## Method: messages.getFeaturedStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_FeaturedStickers](../types/messages\_FeaturedStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getFullChat.md b/docs/API_docs/methods/messages.getFullChat.md new file mode 100644 index 00000000..df5be83e --- /dev/null +++ b/docs/API_docs/methods/messages.getFullChat.md @@ -0,0 +1,31 @@ +## Method: messages.getFullChat + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages\_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getGameHighScores.md b/docs/API_docs/methods/messages.getGameHighScores.md new file mode 100644 index 00000000..2a3de57e --- /dev/null +++ b/docs/API_docs/methods/messages.getGameHighScores.md @@ -0,0 +1,33 @@ +## Method: messages.getGameHighScores + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_HighScores](../types/messages\_HighScores.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getHistory.md b/docs/API_docs/methods/messages.getHistory.md new file mode 100644 index 00000000..edebd6c0 --- /dev/null +++ b/docs/API_docs/methods/messages.getHistory.md @@ -0,0 +1,37 @@ +## Method: messages.getHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getInlineBotResults.md b/docs/API_docs/methods/messages.getInlineBotResults.md new file mode 100644 index 00000000..2d00e58e --- /dev/null +++ b/docs/API_docs/methods/messages.getInlineBotResults.md @@ -0,0 +1,35 @@ +## Method: messages.getInlineBotResults + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + +### Return type: [messages\_BotResults](../types/messages\_BotResults.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getInlineGameHighScores.md b/docs/API_docs/methods/messages.getInlineGameHighScores.md new file mode 100644 index 00000000..598cfb7a --- /dev/null +++ b/docs/API_docs/methods/messages.getInlineGameHighScores.md @@ -0,0 +1,32 @@ +## Method: messages.getInlineGameHighScores + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_HighScores](../types/messages\_HighScores.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getMaskStickers.md b/docs/API_docs/methods/messages.getMaskStickers.md new file mode 100644 index 00000000..068ac648 --- /dev/null +++ b/docs/API_docs/methods/messages.getMaskStickers.md @@ -0,0 +1,31 @@ +## Method: messages.getMaskStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages\_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getMessageEditData.md b/docs/API_docs/methods/messages.getMessageEditData.md new file mode 100644 index 00000000..5a33801d --- /dev/null +++ b/docs/API_docs/methods/messages.getMessageEditData.md @@ -0,0 +1,32 @@ +## Method: messages.getMessageEditData + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_MessageEditData](../types/messages\_MessageEditData.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getMessages.md b/docs/API_docs/methods/messages.getMessages.md new file mode 100644 index 00000000..948ca102 --- /dev/null +++ b/docs/API_docs/methods/messages.getMessages.md @@ -0,0 +1,31 @@ +## Method: messages.getMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getMessagesViews.md b/docs/API_docs/methods/messages.getMessagesViews.md new file mode 100644 index 00000000..c6151bca --- /dev/null +++ b/docs/API_docs/methods/messages.getMessagesViews.md @@ -0,0 +1,33 @@ +## Method: messages.getMessagesViews + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getPeerDialogs.md b/docs/API_docs/methods/messages.getPeerDialogs.md new file mode 100644 index 00000000..19b265cc --- /dev/null +++ b/docs/API_docs/methods/messages.getPeerDialogs.md @@ -0,0 +1,31 @@ +## Method: messages.getPeerDialogs + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peers|Array of [InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [messages\_PeerDialogs](../types/messages\_PeerDialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getPeerSettings.md b/docs/API_docs/methods/messages.getPeerSettings.md new file mode 100644 index 00000000..bc8ab39b --- /dev/null +++ b/docs/API_docs/methods/messages.getPeerSettings.md @@ -0,0 +1,31 @@ +## Method: messages.getPeerSettings + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [PeerSettings](../types/PeerSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getRecentStickers.md b/docs/API_docs/methods/messages.getRecentStickers.md new file mode 100644 index 00000000..5e217f5c --- /dev/null +++ b/docs/API_docs/methods/messages.getRecentStickers.md @@ -0,0 +1,32 @@ +## Method: messages.getRecentStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|attached|[Bool](../types/Bool.md) | Optional| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_RecentStickers](../types/messages\_RecentStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getSavedGifs.md b/docs/API_docs/methods/messages.getSavedGifs.md new file mode 100644 index 00000000..bd3c72fd --- /dev/null +++ b/docs/API_docs/methods/messages.getSavedGifs.md @@ -0,0 +1,31 @@ +## Method: messages.getSavedGifs + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_SavedGifs](../types/messages\_SavedGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getStickerSet.md b/docs/API_docs/methods/messages.getStickerSet.md new file mode 100644 index 00000000..0eab88be --- /dev/null +++ b/docs/API_docs/methods/messages.getStickerSet.md @@ -0,0 +1,31 @@ +## Method: messages.getStickerSet + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages\_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.getWebPagePreview.md b/docs/API_docs/methods/messages.getWebPagePreview.md new file mode 100644 index 00000000..421bc9d0 --- /dev/null +++ b/docs/API_docs/methods/messages.getWebPagePreview.md @@ -0,0 +1,31 @@ +## Method: messages.getWebPagePreview + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.hideReportSpam.md b/docs/API_docs/methods/messages.hideReportSpam.md new file mode 100644 index 00000000..5a23ad6b --- /dev/null +++ b/docs/API_docs/methods/messages.hideReportSpam.md @@ -0,0 +1,31 @@ +## Method: messages.hideReportSpam + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.importChatInvite.md b/docs/API_docs/methods/messages.importChatInvite.md new file mode 100644 index 00000000..615be46a --- /dev/null +++ b/docs/API_docs/methods/messages.importChatInvite.md @@ -0,0 +1,31 @@ +## Method: messages.importChatInvite + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.installStickerSet.md b/docs/API_docs/methods/messages.installStickerSet.md new file mode 100644 index 00000000..5074d74f --- /dev/null +++ b/docs/API_docs/methods/messages.installStickerSet.md @@ -0,0 +1,32 @@ +## Method: messages.installStickerSet + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|archived|[Bool](../types/Bool.md) | Required| + + +### Return type: [messages\_StickerSetInstallResult](../types/messages\_StickerSetInstallResult.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.migrateChat.md b/docs/API_docs/methods/messages.migrateChat.md new file mode 100644 index 00000000..1505fe2c --- /dev/null +++ b/docs/API_docs/methods/messages.migrateChat.md @@ -0,0 +1,31 @@ +## Method: messages.migrateChat + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.readEncryptedHistory.md b/docs/API_docs/methods/messages.readEncryptedHistory.md new file mode 100644 index 00000000..68c8bf1d --- /dev/null +++ b/docs/API_docs/methods/messages.readEncryptedHistory.md @@ -0,0 +1,32 @@ +## Method: messages.readEncryptedHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.readFeaturedStickers.md b/docs/API_docs/methods/messages.readFeaturedStickers.md new file mode 100644 index 00000000..e873e282 --- /dev/null +++ b/docs/API_docs/methods/messages.readFeaturedStickers.md @@ -0,0 +1,31 @@ +## Method: messages.readFeaturedStickers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.readHistory.md b/docs/API_docs/methods/messages.readHistory.md new file mode 100644 index 00000000..23342b51 --- /dev/null +++ b/docs/API_docs/methods/messages.readHistory.md @@ -0,0 +1,32 @@ +## Method: messages.readHistory + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages\_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.readMessageContents.md b/docs/API_docs/methods/messages.readMessageContents.md new file mode 100644 index 00000000..4685fa6f --- /dev/null +++ b/docs/API_docs/methods/messages.readMessageContents.md @@ -0,0 +1,31 @@ +## Method: messages.readMessageContents + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages\_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.receivedMessages.md b/docs/API_docs/methods/messages.receivedMessages.md new file mode 100644 index 00000000..61c057f5 --- /dev/null +++ b/docs/API_docs/methods/messages.receivedMessages.md @@ -0,0 +1,31 @@ +## Method: messages.receivedMessages + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.receivedQueue.md b/docs/API_docs/methods/messages.receivedQueue.md new file mode 100644 index 00000000..866458c2 --- /dev/null +++ b/docs/API_docs/methods/messages.receivedQueue.md @@ -0,0 +1,31 @@ +## Method: messages.receivedQueue + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.reorderStickerSets.md b/docs/API_docs/methods/messages.reorderStickerSets.md new file mode 100644 index 00000000..56cd86f5 --- /dev/null +++ b/docs/API_docs/methods/messages.reorderStickerSets.md @@ -0,0 +1,32 @@ +## Method: messages.reorderStickerSets + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|masks|[Bool](../types/Bool.md) | Optional| +|order|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.reportSpam.md b/docs/API_docs/methods/messages.reportSpam.md new file mode 100644 index 00000000..1fe9e4b5 --- /dev/null +++ b/docs/API_docs/methods/messages.reportSpam.md @@ -0,0 +1,31 @@ +## Method: messages.reportSpam + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.requestEncryption.md b/docs/API_docs/methods/messages.requestEncryption.md new file mode 100644 index 00000000..3190ec36 --- /dev/null +++ b/docs/API_docs/methods/messages.requestEncryption.md @@ -0,0 +1,33 @@ +## Method: messages.requestEncryption + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|random\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'random_id' => int, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.search.md b/docs/API_docs/methods/messages.search.md new file mode 100644 index 00000000..2fcb2ff6 --- /dev/null +++ b/docs/API_docs/methods/messages.search.md @@ -0,0 +1,38 @@ +## Method: messages.search + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.searchGifs.md b/docs/API_docs/methods/messages.searchGifs.md new file mode 100644 index 00000000..d9cc605f --- /dev/null +++ b/docs/API_docs/methods/messages.searchGifs.md @@ -0,0 +1,32 @@ +## Method: messages.searchGifs + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_FoundGifs](../types/messages\_FoundGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.searchGlobal.md b/docs/API_docs/methods/messages.searchGlobal.md new file mode 100644 index 00000000..e0f0d652 --- /dev/null +++ b/docs/API_docs/methods/messages.searchGlobal.md @@ -0,0 +1,35 @@ +## Method: messages.searchGlobal + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages\_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendEncrypted.md b/docs/API_docs/methods/messages.sendEncrypted.md new file mode 100644 index 00000000..3b61a861 --- /dev/null +++ b/docs/API_docs/methods/messages.sendEncrypted.md @@ -0,0 +1,33 @@ +## Method: messages.sendEncrypted + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendEncryptedFile.md b/docs/API_docs/methods/messages.sendEncryptedFile.md new file mode 100644 index 00000000..58b17b5d --- /dev/null +++ b/docs/API_docs/methods/messages.sendEncryptedFile.md @@ -0,0 +1,34 @@ +## Method: messages.sendEncryptedFile + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendEncryptedService.md b/docs/API_docs/methods/messages.sendEncryptedService.md new file mode 100644 index 00000000..38a5af44 --- /dev/null +++ b/docs/API_docs/methods/messages.sendEncryptedService.md @@ -0,0 +1,33 @@ +## Method: messages.sendEncryptedService + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages\_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'random_id' => long, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendInlineBotResult.md b/docs/API_docs/methods/messages.sendInlineBotResult.md new file mode 100644 index 00000000..c3484945 --- /dev/null +++ b/docs/API_docs/methods/messages.sendInlineBotResult.md @@ -0,0 +1,38 @@ +## Method: messages.sendInlineBotResult + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|random\_id|[long](../types/long.md) | Required| +|query\_id|[long](../types/long.md) | Required| +|id|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'random_id' => long, 'query_id' => long, 'id' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendMedia.md b/docs/API_docs/methods/messages.sendMedia.md new file mode 100644 index 00000000..59480bb8 --- /dev/null +++ b/docs/API_docs/methods/messages.sendMedia.md @@ -0,0 +1,38 @@ +## Method: messages.sendMedia + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'random_id' => long, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.sendMessage.md b/docs/API_docs/methods/messages.sendMessage.md new file mode 100644 index 00000000..b4015eb5 --- /dev/null +++ b/docs/API_docs/methods/messages.sendMessage.md @@ -0,0 +1,40 @@ +## Method: messages.sendMessage + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'random_id' => long, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setBotCallbackAnswer.md b/docs/API_docs/methods/messages.setBotCallbackAnswer.md new file mode 100644 index 00000000..1623c7cc --- /dev/null +++ b/docs/API_docs/methods/messages.setBotCallbackAnswer.md @@ -0,0 +1,34 @@ +## Method: messages.setBotCallbackAnswer + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|message|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setEncryptedTyping.md b/docs/API_docs/methods/messages.setEncryptedTyping.md new file mode 100644 index 00000000..a14d0b0d --- /dev/null +++ b/docs/API_docs/methods/messages.setEncryptedTyping.md @@ -0,0 +1,32 @@ +## Method: messages.setEncryptedTyping + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setGameScore.md b/docs/API_docs/methods/messages.setGameScore.md new file mode 100644 index 00000000..9ffe6280 --- /dev/null +++ b/docs/API_docs/methods/messages.setGameScore.md @@ -0,0 +1,35 @@ +## Method: messages.setGameScore + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|edit\_message|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|score|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setInlineBotResults.md b/docs/API_docs/methods/messages.setInlineBotResults.md new file mode 100644 index 00000000..b46fda82 --- /dev/null +++ b/docs/API_docs/methods/messages.setInlineBotResults.md @@ -0,0 +1,37 @@ +## Method: messages.setInlineBotResults + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|private|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|results|Array of [InputBotInlineResult](../types/InputBotInlineResult.md) | Required| +|cache\_time|[int](../types/int.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setInlineGameScore.md b/docs/API_docs/methods/messages.setInlineGameScore.md new file mode 100644 index 00000000..03a9e957 --- /dev/null +++ b/docs/API_docs/methods/messages.setInlineGameScore.md @@ -0,0 +1,34 @@ +## Method: messages.setInlineGameScore + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|edit\_message|[Bool](../types/Bool.md) | Optional| +|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|score|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.setTyping.md b/docs/API_docs/methods/messages.setTyping.md new file mode 100644 index 00000000..9603d899 --- /dev/null +++ b/docs/API_docs/methods/messages.setTyping.md @@ -0,0 +1,32 @@ +## Method: messages.setTyping + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.startBot.md b/docs/API_docs/methods/messages.startBot.md new file mode 100644 index 00000000..cc4d2592 --- /dev/null +++ b/docs/API_docs/methods/messages.startBot.md @@ -0,0 +1,34 @@ +## Method: messages.startBot + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|random\_id|[long](../types/long.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'random_id' => long, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.toggleChatAdmins.md b/docs/API_docs/methods/messages.toggleChatAdmins.md new file mode 100644 index 00000000..8a677529 --- /dev/null +++ b/docs/API_docs/methods/messages.toggleChatAdmins.md @@ -0,0 +1,32 @@ +## Method: messages.toggleChatAdmins + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/messages.uninstallStickerSet.md b/docs/API_docs/methods/messages.uninstallStickerSet.md new file mode 100644 index 00000000..011d0cff --- /dev/null +++ b/docs/API_docs/methods/messages.uninstallStickerSet.md @@ -0,0 +1,31 @@ +## Method: messages.uninstallStickerSet + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos.deletePhotos.md b/docs/API_docs/methods/photos.deletePhotos.md new file mode 100644 index 00000000..c7a36df0 --- /dev/null +++ b/docs/API_docs/methods/photos.deletePhotos.md @@ -0,0 +1,31 @@ +## Method: photos.deletePhotos + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos.getUserPhotos.md b/docs/API_docs/methods/photos.getUserPhotos.md new file mode 100644 index 00000000..d27598ca --- /dev/null +++ b/docs/API_docs/methods/photos.getUserPhotos.md @@ -0,0 +1,34 @@ +## Method: photos.getUserPhotos + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos\_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos.updateProfilePhoto.md b/docs/API_docs/methods/photos.updateProfilePhoto.md new file mode 100644 index 00000000..f1117be6 --- /dev/null +++ b/docs/API_docs/methods/photos.updateProfilePhoto.md @@ -0,0 +1,31 @@ +## Method: photos.updateProfilePhoto + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/photos.uploadProfilePhoto.md b/docs/API_docs/methods/photos.uploadProfilePhoto.md new file mode 100644 index 00000000..c9eacfae --- /dev/null +++ b/docs/API_docs/methods/photos.uploadProfilePhoto.md @@ -0,0 +1,31 @@ +## Method: photos.uploadProfilePhoto + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + +### Return type: [photos\_Photo](../types/photos\_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates.getChannelDifference.md b/docs/API_docs/methods/updates.getChannelDifference.md new file mode 100644 index 00000000..d99c6e99 --- /dev/null +++ b/docs/API_docs/methods/updates.getChannelDifference.md @@ -0,0 +1,34 @@ +## Method: updates.getChannelDifference + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates\_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates.getDifference.md b/docs/API_docs/methods/updates.getDifference.md new file mode 100644 index 00000000..ecbcdef9 --- /dev/null +++ b/docs/API_docs/methods/updates.getDifference.md @@ -0,0 +1,33 @@ +## Method: updates.getDifference + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates\_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/updates.getState.md b/docs/API_docs/methods/updates.getState.md new file mode 100644 index 00000000..7ebad778 --- /dev/null +++ b/docs/API_docs/methods/updates.getState.md @@ -0,0 +1,30 @@ +## Method: updates.getState + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + +### Return type: [updates\_State](../types/updates\_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/upload.getFile.md b/docs/API_docs/methods/upload.getFile.md new file mode 100644 index 00000000..ee65b84a --- /dev/null +++ b/docs/API_docs/methods/upload.getFile.md @@ -0,0 +1,33 @@ +## Method: upload.getFile + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload\_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/users.getFullUser.md b/docs/API_docs/methods/users.getFullUser.md new file mode 100644 index 00000000..fc464703 --- /dev/null +++ b/docs/API_docs/methods/users.getFullUser.md @@ -0,0 +1,31 @@ +## Method: users.getFullUser + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs/methods/users.getUsers.md b/docs/API_docs/methods/users.getUsers.md new file mode 100644 index 00000000..f88ed0aa --- /dev/null +++ b/docs/API_docs/methods/users.getUsers.md @@ -0,0 +1,31 @@ +## Method: users.getUsers + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/API_docs/types/!X.md b/docs/API_docs/types/!X.md new file mode 100644 index 00000000..9f843cec --- /dev/null +++ b/docs/API_docs/types/!X.md @@ -0,0 +1,3 @@ +## Type: !X + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs/types/AccountDaysTTL.md b/docs/API_docs/types/AccountDaysTTL.md new file mode 100644 index 00000000..3d7dc07d --- /dev/null +++ b/docs/API_docs/types/AccountDaysTTL.md @@ -0,0 +1,17 @@ +## Type: AccountDaysTTL + +### Constructors: + + +
+[accountDaysTTL](../constructors/accountDaysTTL.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Authorization.md b/docs/API_docs/types/Authorization.md new file mode 100644 index 00000000..e5718149 --- /dev/null +++ b/docs/API_docs/types/Authorization.md @@ -0,0 +1,17 @@ +## Type: Authorization + +### Constructors: + + +
+[authorization](../constructors/authorization.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Bool.md b/docs/API_docs/types/Bool.md new file mode 100644 index 00000000..4653305f --- /dev/null +++ b/docs/API_docs/types/Bool.md @@ -0,0 +1,19 @@ +## Type: Bool + +### Constructors: + + +
+[boolFalse](../constructors/boolFalse.md) + +[boolTrue](../constructors/boolTrue.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/BotCommand.md b/docs/API_docs/types/BotCommand.md new file mode 100644 index 00000000..70287d5c --- /dev/null +++ b/docs/API_docs/types/BotCommand.md @@ -0,0 +1,17 @@ +## Type: BotCommand + +### Constructors: + + +
+[botCommand](../constructors/botCommand.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/BotInfo.md b/docs/API_docs/types/BotInfo.md new file mode 100644 index 00000000..32ffda06 --- /dev/null +++ b/docs/API_docs/types/BotInfo.md @@ -0,0 +1,17 @@ +## Type: BotInfo + +### Constructors: + + +
+[botInfo](../constructors/botInfo.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/BotInlineMessage.md b/docs/API_docs/types/BotInlineMessage.md new file mode 100644 index 00000000..191dee68 --- /dev/null +++ b/docs/API_docs/types/BotInlineMessage.md @@ -0,0 +1,25 @@ +## Type: BotInlineMessage + +### Constructors: + + +
+[botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) + +[botInlineMessageText](../constructors/botInlineMessageText.md) + +[botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) + +[botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) + +[botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/BotInlineResult.md b/docs/API_docs/types/BotInlineResult.md new file mode 100644 index 00000000..6077ec6c --- /dev/null +++ b/docs/API_docs/types/BotInlineResult.md @@ -0,0 +1,19 @@ +## Type: BotInlineResult + +### Constructors: + + +
+[botInlineResult](../constructors/botInlineResult.md) + +[botInlineMediaResult](../constructors/botInlineMediaResult.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChannelMessagesFilter.md b/docs/API_docs/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..fc6e904f --- /dev/null +++ b/docs/API_docs/types/ChannelMessagesFilter.md @@ -0,0 +1,19 @@ +## Type: ChannelMessagesFilter + +### Constructors: + + +
+[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChannelParticipant.md b/docs/API_docs/types/ChannelParticipant.md new file mode 100644 index 00000000..612370b0 --- /dev/null +++ b/docs/API_docs/types/ChannelParticipant.md @@ -0,0 +1,27 @@ +## Type: ChannelParticipant + +### Constructors: + + +
+[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChannelParticipantRole.md b/docs/API_docs/types/ChannelParticipantRole.md new file mode 100644 index 00000000..212a208c --- /dev/null +++ b/docs/API_docs/types/ChannelParticipantRole.md @@ -0,0 +1,21 @@ +## Type: ChannelParticipantRole + +### Constructors: + + +
+[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChannelParticipantsFilter.md b/docs/API_docs/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..d284c0ef --- /dev/null +++ b/docs/API_docs/types/ChannelParticipantsFilter.md @@ -0,0 +1,23 @@ +## Type: ChannelParticipantsFilter + +### Constructors: + + +
+[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Chat.md b/docs/API_docs/types/Chat.md new file mode 100644 index 00000000..afd962e4 --- /dev/null +++ b/docs/API_docs/types/Chat.md @@ -0,0 +1,25 @@ +## Type: Chat + +### Constructors: + + +
+[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChatFull.md b/docs/API_docs/types/ChatFull.md new file mode 100644 index 00000000..6fdf5e20 --- /dev/null +++ b/docs/API_docs/types/ChatFull.md @@ -0,0 +1,19 @@ +## Type: ChatFull + +### Constructors: + + +
+[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChatInvite.md b/docs/API_docs/types/ChatInvite.md new file mode 100644 index 00000000..7f06fc8c --- /dev/null +++ b/docs/API_docs/types/ChatInvite.md @@ -0,0 +1,19 @@ +## Type: ChatInvite + +### Constructors: + + +
+[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChatParticipant.md b/docs/API_docs/types/ChatParticipant.md new file mode 100644 index 00000000..4bb5d125 --- /dev/null +++ b/docs/API_docs/types/ChatParticipant.md @@ -0,0 +1,21 @@ +## Type: ChatParticipant + +### Constructors: + + +
+[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChatParticipants.md b/docs/API_docs/types/ChatParticipants.md new file mode 100644 index 00000000..0dd53dd2 --- /dev/null +++ b/docs/API_docs/types/ChatParticipants.md @@ -0,0 +1,19 @@ +## Type: ChatParticipants + +### Constructors: + + +
+[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ChatPhoto.md b/docs/API_docs/types/ChatPhoto.md new file mode 100644 index 00000000..80494264 --- /dev/null +++ b/docs/API_docs/types/ChatPhoto.md @@ -0,0 +1,19 @@ +## Type: ChatPhoto + +### Constructors: + + +
+[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Config.md b/docs/API_docs/types/Config.md new file mode 100644 index 00000000..7ec4c66f --- /dev/null +++ b/docs/API_docs/types/Config.md @@ -0,0 +1,17 @@ +## Type: Config + +### Constructors: + + +
+[config](../constructors/config.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Contact.md b/docs/API_docs/types/Contact.md new file mode 100644 index 00000000..ec5d75a4 --- /dev/null +++ b/docs/API_docs/types/Contact.md @@ -0,0 +1,17 @@ +## Type: Contact + +### Constructors: + + +
+[contact](../constructors/contact.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ContactBlocked.md b/docs/API_docs/types/ContactBlocked.md new file mode 100644 index 00000000..db98207c --- /dev/null +++ b/docs/API_docs/types/ContactBlocked.md @@ -0,0 +1,17 @@ +## Type: ContactBlocked + +### Constructors: + + +
+[contactBlocked](../constructors/contactBlocked.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ContactLink.md b/docs/API_docs/types/ContactLink.md new file mode 100644 index 00000000..33f34499 --- /dev/null +++ b/docs/API_docs/types/ContactLink.md @@ -0,0 +1,23 @@ +## Type: ContactLink + +### Constructors: + + +
+[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ContactStatus.md b/docs/API_docs/types/ContactStatus.md new file mode 100644 index 00000000..e6e230a3 --- /dev/null +++ b/docs/API_docs/types/ContactStatus.md @@ -0,0 +1,17 @@ +## Type: ContactStatus + +### Constructors: + + +
+[contactStatus](../constructors/contactStatus.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/DcOption.md b/docs/API_docs/types/DcOption.md new file mode 100644 index 00000000..39d1beed --- /dev/null +++ b/docs/API_docs/types/DcOption.md @@ -0,0 +1,17 @@ +## Type: DcOption + +### Constructors: + + +
+[dcOption](../constructors/dcOption.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Dialog.md b/docs/API_docs/types/Dialog.md new file mode 100644 index 00000000..a18b82d6 --- /dev/null +++ b/docs/API_docs/types/Dialog.md @@ -0,0 +1,17 @@ +## Type: Dialog + +### Constructors: + + +
+[dialog](../constructors/dialog.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/DisabledFeature.md b/docs/API_docs/types/DisabledFeature.md new file mode 100644 index 00000000..0697262a --- /dev/null +++ b/docs/API_docs/types/DisabledFeature.md @@ -0,0 +1,17 @@ +## Type: DisabledFeature + +### Constructors: + + +
+[disabledFeature](../constructors/disabledFeature.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Document.md b/docs/API_docs/types/Document.md new file mode 100644 index 00000000..35be78f6 --- /dev/null +++ b/docs/API_docs/types/Document.md @@ -0,0 +1,19 @@ +## Type: Document + +### Constructors: + + +
+[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/DocumentAttribute.md b/docs/API_docs/types/DocumentAttribute.md new file mode 100644 index 00000000..4522f47a --- /dev/null +++ b/docs/API_docs/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +## Type: DocumentAttribute + +### Constructors: + + +
+[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + +[documentAttributeHasStickers](../constructors/documentAttributeHasStickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/DraftMessage.md b/docs/API_docs/types/DraftMessage.md new file mode 100644 index 00000000..6967a63f --- /dev/null +++ b/docs/API_docs/types/DraftMessage.md @@ -0,0 +1,19 @@ +## Type: DraftMessage + +### Constructors: + + +
+[draftMessageEmpty](../constructors/draftMessageEmpty.md) + +[draftMessage](../constructors/draftMessage.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/EncryptedChat.md b/docs/API_docs/types/EncryptedChat.md new file mode 100644 index 00000000..3019ad6a --- /dev/null +++ b/docs/API_docs/types/EncryptedChat.md @@ -0,0 +1,25 @@ +## Type: EncryptedChat + +### Constructors: + + +
+[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/EncryptedFile.md b/docs/API_docs/types/EncryptedFile.md new file mode 100644 index 00000000..eb703dbe --- /dev/null +++ b/docs/API_docs/types/EncryptedFile.md @@ -0,0 +1,19 @@ +## Type: EncryptedFile + +### Constructors: + + +
+[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/EncryptedMessage.md b/docs/API_docs/types/EncryptedMessage.md new file mode 100644 index 00000000..6c7e65d7 --- /dev/null +++ b/docs/API_docs/types/EncryptedMessage.md @@ -0,0 +1,19 @@ +## Type: EncryptedMessage + +### Constructors: + + +
+[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Error.md b/docs/API_docs/types/Error.md new file mode 100644 index 00000000..f7ab3256 --- /dev/null +++ b/docs/API_docs/types/Error.md @@ -0,0 +1,17 @@ +## Type: Error + +### Constructors: + + +
+[error](../constructors/error.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ExportedChatInvite.md b/docs/API_docs/types/ExportedChatInvite.md new file mode 100644 index 00000000..7779d9cd --- /dev/null +++ b/docs/API_docs/types/ExportedChatInvite.md @@ -0,0 +1,19 @@ +## Type: ExportedChatInvite + +### Constructors: + + +
+[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ExportedMessageLink.md b/docs/API_docs/types/ExportedMessageLink.md new file mode 100644 index 00000000..ce02f5b0 --- /dev/null +++ b/docs/API_docs/types/ExportedMessageLink.md @@ -0,0 +1,17 @@ +## Type: ExportedMessageLink + +### Constructors: + + +
+[exportedMessageLink](../constructors/exportedMessageLink.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/FileLocation.md b/docs/API_docs/types/FileLocation.md new file mode 100644 index 00000000..7d7cd724 --- /dev/null +++ b/docs/API_docs/types/FileLocation.md @@ -0,0 +1,19 @@ +## Type: FileLocation + +### Constructors: + + +
+[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/FoundGif.md b/docs/API_docs/types/FoundGif.md new file mode 100644 index 00000000..76acfe33 --- /dev/null +++ b/docs/API_docs/types/FoundGif.md @@ -0,0 +1,19 @@ +## Type: FoundGif + +### Constructors: + + +
+[foundGif](../constructors/foundGif.md) + +[foundGifCached](../constructors/foundGifCached.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Game.md b/docs/API_docs/types/Game.md new file mode 100644 index 00000000..46199fe7 --- /dev/null +++ b/docs/API_docs/types/Game.md @@ -0,0 +1,17 @@ +## Type: Game + +### Constructors: + + +
+[game](../constructors/game.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/GeoPoint.md b/docs/API_docs/types/GeoPoint.md new file mode 100644 index 00000000..ef25f8f8 --- /dev/null +++ b/docs/API_docs/types/GeoPoint.md @@ -0,0 +1,19 @@ +## Type: GeoPoint + +### Constructors: + + +
+[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/HighScore.md b/docs/API_docs/types/HighScore.md new file mode 100644 index 00000000..28fc0a29 --- /dev/null +++ b/docs/API_docs/types/HighScore.md @@ -0,0 +1,17 @@ +## Type: HighScore + +### Constructors: + + +
+[highScore](../constructors/highScore.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ImportedContact.md b/docs/API_docs/types/ImportedContact.md new file mode 100644 index 00000000..1bc486b6 --- /dev/null +++ b/docs/API_docs/types/ImportedContact.md @@ -0,0 +1,17 @@ +## Type: ImportedContact + +### Constructors: + + +
+[importedContact](../constructors/importedContact.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InlineBotSwitchPM.md b/docs/API_docs/types/InlineBotSwitchPM.md new file mode 100644 index 00000000..94017635 --- /dev/null +++ b/docs/API_docs/types/InlineBotSwitchPM.md @@ -0,0 +1,17 @@ +## Type: InlineBotSwitchPM + +### Constructors: + + +
+[inlineBotSwitchPM](../constructors/inlineBotSwitchPM.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputAppEvent.md b/docs/API_docs/types/InputAppEvent.md new file mode 100644 index 00000000..2aff97e7 --- /dev/null +++ b/docs/API_docs/types/InputAppEvent.md @@ -0,0 +1,17 @@ +## Type: InputAppEvent + +### Constructors: + + +
+[inputAppEvent](../constructors/inputAppEvent.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputBotInlineMessage.md b/docs/API_docs/types/InputBotInlineMessage.md new file mode 100644 index 00000000..358fcfdf --- /dev/null +++ b/docs/API_docs/types/InputBotInlineMessage.md @@ -0,0 +1,27 @@ +## Type: InputBotInlineMessage + +### Constructors: + + +
+[inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) + +[inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) + +[inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) + +[inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) + +[inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) + +[inputBotInlineMessageGame](../constructors/inputBotInlineMessageGame.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputBotInlineMessageID.md b/docs/API_docs/types/InputBotInlineMessageID.md new file mode 100644 index 00000000..e5797ea3 --- /dev/null +++ b/docs/API_docs/types/InputBotInlineMessageID.md @@ -0,0 +1,17 @@ +## Type: InputBotInlineMessageID + +### Constructors: + + +
+[inputBotInlineMessageID](../constructors/inputBotInlineMessageID.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputBotInlineResult.md b/docs/API_docs/types/InputBotInlineResult.md new file mode 100644 index 00000000..838b7314 --- /dev/null +++ b/docs/API_docs/types/InputBotInlineResult.md @@ -0,0 +1,23 @@ +## Type: InputBotInlineResult + +### Constructors: + + +
+[inputBotInlineResult](../constructors/inputBotInlineResult.md) + +[inputBotInlineResultPhoto](../constructors/inputBotInlineResultPhoto.md) + +[inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) + +[inputBotInlineResultGame](../constructors/inputBotInlineResultGame.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputChannel.md b/docs/API_docs/types/InputChannel.md new file mode 100644 index 00000000..a93c8cff --- /dev/null +++ b/docs/API_docs/types/InputChannel.md @@ -0,0 +1,19 @@ +## Type: InputChannel + +### Constructors: + + +
+[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputChatPhoto.md b/docs/API_docs/types/InputChatPhoto.md new file mode 100644 index 00000000..d9de84f0 --- /dev/null +++ b/docs/API_docs/types/InputChatPhoto.md @@ -0,0 +1,21 @@ +## Type: InputChatPhoto + +### Constructors: + + +
+[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputContact.md b/docs/API_docs/types/InputContact.md new file mode 100644 index 00000000..8ee7fc4b --- /dev/null +++ b/docs/API_docs/types/InputContact.md @@ -0,0 +1,17 @@ +## Type: InputContact + +### Constructors: + + +
+[inputPhoneContact](../constructors/inputPhoneContact.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputDocument.md b/docs/API_docs/types/InputDocument.md new file mode 100644 index 00000000..2e20b2f5 --- /dev/null +++ b/docs/API_docs/types/InputDocument.md @@ -0,0 +1,19 @@ +## Type: InputDocument + +### Constructors: + + +
+[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputEncryptedChat.md b/docs/API_docs/types/InputEncryptedChat.md new file mode 100644 index 00000000..ec34a84d --- /dev/null +++ b/docs/API_docs/types/InputEncryptedChat.md @@ -0,0 +1,17 @@ +## Type: InputEncryptedChat + +### Constructors: + + +
+[inputEncryptedChat](../constructors/inputEncryptedChat.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputEncryptedFile.md b/docs/API_docs/types/InputEncryptedFile.md new file mode 100644 index 00000000..84ea0eaa --- /dev/null +++ b/docs/API_docs/types/InputEncryptedFile.md @@ -0,0 +1,23 @@ +## Type: InputEncryptedFile + +### Constructors: + + +
+[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputFile.md b/docs/API_docs/types/InputFile.md new file mode 100644 index 00000000..73999271 --- /dev/null +++ b/docs/API_docs/types/InputFile.md @@ -0,0 +1,19 @@ +## Type: InputFile + +### Constructors: + + +
+[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputFileLocation.md b/docs/API_docs/types/InputFileLocation.md new file mode 100644 index 00000000..59c4d0ad --- /dev/null +++ b/docs/API_docs/types/InputFileLocation.md @@ -0,0 +1,21 @@ +## Type: InputFileLocation + +### Constructors: + + +
+[inputFileLocation](../constructors/inputFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputGame.md b/docs/API_docs/types/InputGame.md new file mode 100644 index 00000000..f45fea82 --- /dev/null +++ b/docs/API_docs/types/InputGame.md @@ -0,0 +1,19 @@ +## Type: InputGame + +### Constructors: + + +
+[inputGameID](../constructors/inputGameID.md) + +[inputGameShortName](../constructors/inputGameShortName.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputGeoPoint.md b/docs/API_docs/types/InputGeoPoint.md new file mode 100644 index 00000000..e3481652 --- /dev/null +++ b/docs/API_docs/types/InputGeoPoint.md @@ -0,0 +1,19 @@ +## Type: InputGeoPoint + +### Constructors: + + +
+[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputMedia.md b/docs/API_docs/types/InputMedia.md new file mode 100644 index 00000000..73de65ec --- /dev/null +++ b/docs/API_docs/types/InputMedia.md @@ -0,0 +1,41 @@ +## Type: InputMedia + +### Constructors: + + +
+[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + +[inputMediaGifExternal](../constructors/inputMediaGifExternal.md) + +[inputMediaPhotoExternal](../constructors/inputMediaPhotoExternal.md) + +[inputMediaDocumentExternal](../constructors/inputMediaDocumentExternal.md) + +[inputMediaGame](../constructors/inputMediaGame.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputNotifyPeer.md b/docs/API_docs/types/InputNotifyPeer.md new file mode 100644 index 00000000..4966afac --- /dev/null +++ b/docs/API_docs/types/InputNotifyPeer.md @@ -0,0 +1,23 @@ +## Type: InputNotifyPeer + +### Constructors: + + +
+[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPeer.md b/docs/API_docs/types/InputPeer.md new file mode 100644 index 00000000..c66c9ced --- /dev/null +++ b/docs/API_docs/types/InputPeer.md @@ -0,0 +1,25 @@ +## Type: InputPeer + +### Constructors: + + +
+[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPeerNotifyEvents.md b/docs/API_docs/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..b0c408b9 --- /dev/null +++ b/docs/API_docs/types/InputPeerNotifyEvents.md @@ -0,0 +1,19 @@ +## Type: InputPeerNotifyEvents + +### Constructors: + + +
+[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPeerNotifySettings.md b/docs/API_docs/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..75da4614 --- /dev/null +++ b/docs/API_docs/types/InputPeerNotifySettings.md @@ -0,0 +1,17 @@ +## Type: InputPeerNotifySettings + +### Constructors: + + +
+[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPhoto.md b/docs/API_docs/types/InputPhoto.md new file mode 100644 index 00000000..1f2046d8 --- /dev/null +++ b/docs/API_docs/types/InputPhoto.md @@ -0,0 +1,19 @@ +## Type: InputPhoto + +### Constructors: + + +
+[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPrivacyKey.md b/docs/API_docs/types/InputPrivacyKey.md new file mode 100644 index 00000000..8b6f92b8 --- /dev/null +++ b/docs/API_docs/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +## Type: InputPrivacyKey + +### Constructors: + + +
+[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + +[inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputPrivacyRule.md b/docs/API_docs/types/InputPrivacyRule.md new file mode 100644 index 00000000..920fcce5 --- /dev/null +++ b/docs/API_docs/types/InputPrivacyRule.md @@ -0,0 +1,27 @@ +## Type: InputPrivacyRule + +### Constructors: + + +
+[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputStickerSet.md b/docs/API_docs/types/InputStickerSet.md new file mode 100644 index 00000000..431c5404 --- /dev/null +++ b/docs/API_docs/types/InputStickerSet.md @@ -0,0 +1,21 @@ +## Type: InputStickerSet + +### Constructors: + + +
+[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputStickeredMedia.md b/docs/API_docs/types/InputStickeredMedia.md new file mode 100644 index 00000000..12109cd9 --- /dev/null +++ b/docs/API_docs/types/InputStickeredMedia.md @@ -0,0 +1,19 @@ +## Type: InputStickeredMedia + +### Constructors: + + +
+[inputStickeredMediaPhoto](../constructors/inputStickeredMediaPhoto.md) + +[inputStickeredMediaDocument](../constructors/inputStickeredMediaDocument.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/InputUser.md b/docs/API_docs/types/InputUser.md new file mode 100644 index 00000000..1c0dd3e0 --- /dev/null +++ b/docs/API_docs/types/InputUser.md @@ -0,0 +1,21 @@ +## Type: InputUser + +### Constructors: + + +
+[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/KeyboardButton.md b/docs/API_docs/types/KeyboardButton.md new file mode 100644 index 00000000..7518e27c --- /dev/null +++ b/docs/API_docs/types/KeyboardButton.md @@ -0,0 +1,29 @@ +## Type: KeyboardButton + +### Constructors: + + +
+[keyboardButton](../constructors/keyboardButton.md) + +[keyboardButtonUrl](../constructors/keyboardButtonUrl.md) + +[keyboardButtonCallback](../constructors/keyboardButtonCallback.md) + +[keyboardButtonRequestPhone](../constructors/keyboardButtonRequestPhone.md) + +[keyboardButtonRequestGeoLocation](../constructors/keyboardButtonRequestGeoLocation.md) + +[keyboardButtonSwitchInline](../constructors/keyboardButtonSwitchInline.md) + +[keyboardButtonGame](../constructors/keyboardButtonGame.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/KeyboardButtonRow.md b/docs/API_docs/types/KeyboardButtonRow.md new file mode 100644 index 00000000..de5cd4ed --- /dev/null +++ b/docs/API_docs/types/KeyboardButtonRow.md @@ -0,0 +1,17 @@ +## Type: KeyboardButtonRow + +### Constructors: + + +
+[keyboardButtonRow](../constructors/keyboardButtonRow.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MaskCoords.md b/docs/API_docs/types/MaskCoords.md new file mode 100644 index 00000000..284bf3f9 --- /dev/null +++ b/docs/API_docs/types/MaskCoords.md @@ -0,0 +1,17 @@ +## Type: MaskCoords + +### Constructors: + + +
+[maskCoords](../constructors/maskCoords.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Message.md b/docs/API_docs/types/Message.md new file mode 100644 index 00000000..155076bc --- /dev/null +++ b/docs/API_docs/types/Message.md @@ -0,0 +1,21 @@ +## Type: Message + +### Constructors: + + +
+[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessageAction.md b/docs/API_docs/types/MessageAction.md new file mode 100644 index 00000000..30ddb22a --- /dev/null +++ b/docs/API_docs/types/MessageAction.md @@ -0,0 +1,43 @@ +## Type: MessageAction + +### Constructors: + + +
+[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + +[messageActionPinMessage](../constructors/messageActionPinMessage.md) + +[messageActionHistoryClear](../constructors/messageActionHistoryClear.md) + +[messageActionGameScore](../constructors/messageActionGameScore.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessageEntity.md b/docs/API_docs/types/MessageEntity.md new file mode 100644 index 00000000..b1057ed8 --- /dev/null +++ b/docs/API_docs/types/MessageEntity.md @@ -0,0 +1,41 @@ +## Type: MessageEntity + +### Constructors: + + +
+[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + +[messageEntityMentionName](../constructors/messageEntityMentionName.md) + +[inputMessageEntityMentionName](../constructors/inputMessageEntityMentionName.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessageFwdHeader.md b/docs/API_docs/types/MessageFwdHeader.md new file mode 100644 index 00000000..7c4ce535 --- /dev/null +++ b/docs/API_docs/types/MessageFwdHeader.md @@ -0,0 +1,17 @@ +## Type: MessageFwdHeader + +### Constructors: + + +
+[messageFwdHeader](../constructors/messageFwdHeader.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessageMedia.md b/docs/API_docs/types/MessageMedia.md new file mode 100644 index 00000000..800effbd --- /dev/null +++ b/docs/API_docs/types/MessageMedia.md @@ -0,0 +1,33 @@ +## Type: MessageMedia + +### Constructors: + + +
+[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + +[messageMediaGame](../constructors/messageMediaGame.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessageRange.md b/docs/API_docs/types/MessageRange.md new file mode 100644 index 00000000..a17ec19c --- /dev/null +++ b/docs/API_docs/types/MessageRange.md @@ -0,0 +1,17 @@ +## Type: MessageRange + +### Constructors: + + +
+[messageRange](../constructors/messageRange.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/MessagesFilter.md b/docs/API_docs/types/MessagesFilter.md new file mode 100644 index 00000000..8951de72 --- /dev/null +++ b/docs/API_docs/types/MessagesFilter.md @@ -0,0 +1,37 @@ +## Type: MessagesFilter + +### Constructors: + + +
+[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + +[inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) + +[inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) + +[inputMessagesFilterMusic](../constructors/inputMessagesFilterMusic.md) + +[inputMessagesFilterChatPhotos](../constructors/inputMessagesFilterChatPhotos.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/NearestDc.md b/docs/API_docs/types/NearestDc.md new file mode 100644 index 00000000..0328c998 --- /dev/null +++ b/docs/API_docs/types/NearestDc.md @@ -0,0 +1,17 @@ +## Type: NearestDc + +### Constructors: + + +
+[nearestDc](../constructors/nearestDc.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/NotifyPeer.md b/docs/API_docs/types/NotifyPeer.md new file mode 100644 index 00000000..561de929 --- /dev/null +++ b/docs/API_docs/types/NotifyPeer.md @@ -0,0 +1,23 @@ +## Type: NotifyPeer + +### Constructors: + + +
+[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Null.md b/docs/API_docs/types/Null.md new file mode 100644 index 00000000..a5b48b1b --- /dev/null +++ b/docs/API_docs/types/Null.md @@ -0,0 +1,17 @@ +## Type: Null + +### Constructors: + + +
+[null](../constructors/null.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Peer.md b/docs/API_docs/types/Peer.md new file mode 100644 index 00000000..4604252a --- /dev/null +++ b/docs/API_docs/types/Peer.md @@ -0,0 +1,21 @@ +## Type: Peer + +### Constructors: + + +
+[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PeerNotifyEvents.md b/docs/API_docs/types/PeerNotifyEvents.md new file mode 100644 index 00000000..f148be7f --- /dev/null +++ b/docs/API_docs/types/PeerNotifyEvents.md @@ -0,0 +1,19 @@ +## Type: PeerNotifyEvents + +### Constructors: + + +
+[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PeerNotifySettings.md b/docs/API_docs/types/PeerNotifySettings.md new file mode 100644 index 00000000..109a81c4 --- /dev/null +++ b/docs/API_docs/types/PeerNotifySettings.md @@ -0,0 +1,19 @@ +## Type: PeerNotifySettings + +### Constructors: + + +
+[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PeerSettings.md b/docs/API_docs/types/PeerSettings.md new file mode 100644 index 00000000..7a011c03 --- /dev/null +++ b/docs/API_docs/types/PeerSettings.md @@ -0,0 +1,17 @@ +## Type: PeerSettings + +### Constructors: + + +
+[peerSettings](../constructors/peerSettings.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Photo.md b/docs/API_docs/types/Photo.md new file mode 100644 index 00000000..39d46c4f --- /dev/null +++ b/docs/API_docs/types/Photo.md @@ -0,0 +1,19 @@ +## Type: Photo + +### Constructors: + + +
+[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PhotoSize.md b/docs/API_docs/types/PhotoSize.md new file mode 100644 index 00000000..d73b0fc8 --- /dev/null +++ b/docs/API_docs/types/PhotoSize.md @@ -0,0 +1,21 @@ +## Type: PhotoSize + +### Constructors: + + +
+[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PrivacyKey.md b/docs/API_docs/types/PrivacyKey.md new file mode 100644 index 00000000..412a1ff2 --- /dev/null +++ b/docs/API_docs/types/PrivacyKey.md @@ -0,0 +1,19 @@ +## Type: PrivacyKey + +### Constructors: + + +
+[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + +[privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/PrivacyRule.md b/docs/API_docs/types/PrivacyRule.md new file mode 100644 index 00000000..f0cad0d9 --- /dev/null +++ b/docs/API_docs/types/PrivacyRule.md @@ -0,0 +1,27 @@ +## Type: PrivacyRule + +### Constructors: + + +
+[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ReceivedNotifyMessage.md b/docs/API_docs/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..426f4155 --- /dev/null +++ b/docs/API_docs/types/ReceivedNotifyMessage.md @@ -0,0 +1,17 @@ +## Type: ReceivedNotifyMessage + +### Constructors: + + +
+[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ReplyMarkup.md b/docs/API_docs/types/ReplyMarkup.md new file mode 100644 index 00000000..b990466a --- /dev/null +++ b/docs/API_docs/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +## Type: ReplyMarkup + +### Constructors: + + +
+[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + +[replyInlineMarkup](../constructors/replyInlineMarkup.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/ReportReason.md b/docs/API_docs/types/ReportReason.md new file mode 100644 index 00000000..886834d5 --- /dev/null +++ b/docs/API_docs/types/ReportReason.md @@ -0,0 +1,23 @@ +## Type: ReportReason + +### Constructors: + + +
+[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/SendMessageAction.md b/docs/API_docs/types/SendMessageAction.md new file mode 100644 index 00000000..decba087 --- /dev/null +++ b/docs/API_docs/types/SendMessageAction.md @@ -0,0 +1,37 @@ +## Type: SendMessageAction + +### Constructors: + + +
+[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + +[sendMessageGamePlayAction](../constructors/sendMessageGamePlayAction.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/StickerPack.md b/docs/API_docs/types/StickerPack.md new file mode 100644 index 00000000..d63039b6 --- /dev/null +++ b/docs/API_docs/types/StickerPack.md @@ -0,0 +1,17 @@ +## Type: StickerPack + +### Constructors: + + +
+[stickerPack](../constructors/stickerPack.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/StickerSet.md b/docs/API_docs/types/StickerSet.md new file mode 100644 index 00000000..e3c5dda3 --- /dev/null +++ b/docs/API_docs/types/StickerSet.md @@ -0,0 +1,17 @@ +## Type: StickerSet + +### Constructors: + + +
+[stickerSet](../constructors/stickerSet.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/StickerSetCovered.md b/docs/API_docs/types/StickerSetCovered.md new file mode 100644 index 00000000..907bdd3e --- /dev/null +++ b/docs/API_docs/types/StickerSetCovered.md @@ -0,0 +1,19 @@ +## Type: StickerSetCovered + +### Constructors: + + +
+[stickerSetCovered](../constructors/stickerSetCovered.md) + +[stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/TopPeer.md b/docs/API_docs/types/TopPeer.md new file mode 100644 index 00000000..ba5dcf04 --- /dev/null +++ b/docs/API_docs/types/TopPeer.md @@ -0,0 +1,17 @@ +## Type: TopPeer + +### Constructors: + + +
+[topPeer](../constructors/topPeer.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/TopPeerCategory.md b/docs/API_docs/types/TopPeerCategory.md new file mode 100644 index 00000000..e2872fda --- /dev/null +++ b/docs/API_docs/types/TopPeerCategory.md @@ -0,0 +1,25 @@ +## Type: TopPeerCategory + +### Constructors: + + +
+[topPeerCategoryBotsPM](../constructors/topPeerCategoryBotsPM.md) + +[topPeerCategoryBotsInline](../constructors/topPeerCategoryBotsInline.md) + +[topPeerCategoryCorrespondents](../constructors/topPeerCategoryCorrespondents.md) + +[topPeerCategoryGroups](../constructors/topPeerCategoryGroups.md) + +[topPeerCategoryChannels](../constructors/topPeerCategoryChannels.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/TopPeerCategoryPeers.md b/docs/API_docs/types/TopPeerCategoryPeers.md new file mode 100644 index 00000000..92d17c5f --- /dev/null +++ b/docs/API_docs/types/TopPeerCategoryPeers.md @@ -0,0 +1,17 @@ +## Type: TopPeerCategoryPeers + +### Constructors: + + +
+[topPeerCategoryPeers](../constructors/topPeerCategoryPeers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/True.md b/docs/API_docs/types/True.md new file mode 100644 index 00000000..60663149 --- /dev/null +++ b/docs/API_docs/types/True.md @@ -0,0 +1,17 @@ +## Type: True + +### Constructors: + + +
+[true](../constructors/true.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Update.md b/docs/API_docs/types/Update.md new file mode 100644 index 00000000..a0899189 --- /dev/null +++ b/docs/API_docs/types/Update.md @@ -0,0 +1,121 @@ +## Type: Update + +### Constructors: + + +
+[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + +[updateNewStickerSet](../constructors/updateNewStickerSet.md) + +[updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) + +[updateStickerSets](../constructors/updateStickerSets.md) + +[updateSavedGifs](../constructors/updateSavedGifs.md) + +[updateBotInlineQuery](../constructors/updateBotInlineQuery.md) + +[updateBotInlineSend](../constructors/updateBotInlineSend.md) + +[updateEditChannelMessage](../constructors/updateEditChannelMessage.md) + +[updateChannelPinnedMessage](../constructors/updateChannelPinnedMessage.md) + +[updateBotCallbackQuery](../constructors/updateBotCallbackQuery.md) + +[updateEditMessage](../constructors/updateEditMessage.md) + +[updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) + +[updateReadChannelOutbox](../constructors/updateReadChannelOutbox.md) + +[updateDraftMessage](../constructors/updateDraftMessage.md) + +[updateReadFeaturedStickers](../constructors/updateReadFeaturedStickers.md) + +[updateRecentStickers](../constructors/updateRecentStickers.md) + +[updateConfig](../constructors/updateConfig.md) + +[updatePtsChanged](../constructors/updatePtsChanged.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Updates.md b/docs/API_docs/types/Updates.md new file mode 100644 index 00000000..c681b773 --- /dev/null +++ b/docs/API_docs/types/Updates.md @@ -0,0 +1,29 @@ +## Type: Updates + +### Constructors: + + +
+[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/User.md b/docs/API_docs/types/User.md new file mode 100644 index 00000000..4983e55e --- /dev/null +++ b/docs/API_docs/types/User.md @@ -0,0 +1,19 @@ +## Type: User + +### Constructors: + + +
+[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/UserFull.md b/docs/API_docs/types/UserFull.md new file mode 100644 index 00000000..9a493902 --- /dev/null +++ b/docs/API_docs/types/UserFull.md @@ -0,0 +1,17 @@ +## Type: UserFull + +### Constructors: + + +
+[userFull](../constructors/userFull.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/UserProfilePhoto.md b/docs/API_docs/types/UserProfilePhoto.md new file mode 100644 index 00000000..cc14d7c5 --- /dev/null +++ b/docs/API_docs/types/UserProfilePhoto.md @@ -0,0 +1,19 @@ +## Type: UserProfilePhoto + +### Constructors: + + +
+[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/UserStatus.md b/docs/API_docs/types/UserStatus.md new file mode 100644 index 00000000..81e33d6c --- /dev/null +++ b/docs/API_docs/types/UserStatus.md @@ -0,0 +1,27 @@ +## Type: UserStatus + +### Constructors: + + +
+[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/Vector t.md b/docs/API_docs/types/Vector t.md new file mode 100644 index 00000000..9a306927 --- /dev/null +++ b/docs/API_docs/types/Vector t.md @@ -0,0 +1,17 @@ +## Type: Vector t + +### Constructors: + + +
+[vector](../constructors/vector.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/WallPaper.md b/docs/API_docs/types/WallPaper.md new file mode 100644 index 00000000..3a24ec04 --- /dev/null +++ b/docs/API_docs/types/WallPaper.md @@ -0,0 +1,19 @@ +## Type: WallPaper + +### Constructors: + + +
+[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/WebPage.md b/docs/API_docs/types/WebPage.md new file mode 100644 index 00000000..a8d43f95 --- /dev/null +++ b/docs/API_docs/types/WebPage.md @@ -0,0 +1,21 @@ +## Type: WebPage + +### Constructors: + + +
+[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/X.md b/docs/API_docs/types/X.md new file mode 100644 index 00000000..ac14a7f2 --- /dev/null +++ b/docs/API_docs/types/X.md @@ -0,0 +1,3 @@ +## Type: X + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs/types/account_Authorizations.md b/docs/API_docs/types/account_Authorizations.md new file mode 100644 index 00000000..fb6c0063 --- /dev/null +++ b/docs/API_docs/types/account_Authorizations.md @@ -0,0 +1,17 @@ +## Type: account\_Authorizations + +### Constructors: + + +
+[account\_authorizations](../constructors/account\_authorizations.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/account_Password.md b/docs/API_docs/types/account_Password.md new file mode 100644 index 00000000..edabc56d --- /dev/null +++ b/docs/API_docs/types/account_Password.md @@ -0,0 +1,19 @@ +## Type: account\_Password + +### Constructors: + + +
+[account\_noPassword](../constructors/account\_noPassword.md) + +[account\_password](../constructors/account\_password.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/account_PasswordInputSettings.md b/docs/API_docs/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..fa800819 --- /dev/null +++ b/docs/API_docs/types/account_PasswordInputSettings.md @@ -0,0 +1,17 @@ +## Type: account\_PasswordInputSettings + +### Constructors: + + +
+[account\_passwordInputSettings](../constructors/account\_passwordInputSettings.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/account_PasswordSettings.md b/docs/API_docs/types/account_PasswordSettings.md new file mode 100644 index 00000000..8db63897 --- /dev/null +++ b/docs/API_docs/types/account_PasswordSettings.md @@ -0,0 +1,17 @@ +## Type: account\_PasswordSettings + +### Constructors: + + +
+[account\_passwordSettings](../constructors/account\_passwordSettings.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/account_PrivacyRules.md b/docs/API_docs/types/account_PrivacyRules.md new file mode 100644 index 00000000..5772a323 --- /dev/null +++ b/docs/API_docs/types/account_PrivacyRules.md @@ -0,0 +1,17 @@ +## Type: account\_PrivacyRules + +### Constructors: + + +
+[account\_privacyRules](../constructors/account\_privacyRules.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_Authorization.md b/docs/API_docs/types/auth_Authorization.md new file mode 100644 index 00000000..d07374b2 --- /dev/null +++ b/docs/API_docs/types/auth_Authorization.md @@ -0,0 +1,17 @@ +## Type: auth\_Authorization + +### Constructors: + + +
+[auth\_authorization](../constructors/auth\_authorization.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_CheckedPhone.md b/docs/API_docs/types/auth_CheckedPhone.md new file mode 100644 index 00000000..5947ffe8 --- /dev/null +++ b/docs/API_docs/types/auth_CheckedPhone.md @@ -0,0 +1,17 @@ +## Type: auth\_CheckedPhone + +### Constructors: + + +
+[auth\_checkedPhone](../constructors/auth\_checkedPhone.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_CodeType.md b/docs/API_docs/types/auth_CodeType.md new file mode 100644 index 00000000..23afbefe --- /dev/null +++ b/docs/API_docs/types/auth_CodeType.md @@ -0,0 +1,21 @@ +## Type: auth\_CodeType + +### Constructors: + + +
+[auth\_codeTypeSms](../constructors/auth\_codeTypeSms.md) + +[auth\_codeTypeCall](../constructors/auth\_codeTypeCall.md) + +[auth\_codeTypeFlashCall](../constructors/auth\_codeTypeFlashCall.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_ExportedAuthorization.md b/docs/API_docs/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..17bf23e3 --- /dev/null +++ b/docs/API_docs/types/auth_ExportedAuthorization.md @@ -0,0 +1,17 @@ +## Type: auth\_ExportedAuthorization + +### Constructors: + + +
+[auth\_exportedAuthorization](../constructors/auth\_exportedAuthorization.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_PasswordRecovery.md b/docs/API_docs/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..0f60fa9c --- /dev/null +++ b/docs/API_docs/types/auth_PasswordRecovery.md @@ -0,0 +1,17 @@ +## Type: auth\_PasswordRecovery + +### Constructors: + + +
+[auth\_passwordRecovery](../constructors/auth\_passwordRecovery.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_SentCode.md b/docs/API_docs/types/auth_SentCode.md new file mode 100644 index 00000000..bb2591fa --- /dev/null +++ b/docs/API_docs/types/auth_SentCode.md @@ -0,0 +1,17 @@ +## Type: auth\_SentCode + +### Constructors: + + +
+[auth\_sentCode](../constructors/auth\_sentCode.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/auth_SentCodeType.md b/docs/API_docs/types/auth_SentCodeType.md new file mode 100644 index 00000000..81beea41 --- /dev/null +++ b/docs/API_docs/types/auth_SentCodeType.md @@ -0,0 +1,23 @@ +## Type: auth\_SentCodeType + +### 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) + +
\ No newline at end of file diff --git a/docs/API_docs/types/bytes.md b/docs/API_docs/types/bytes.md new file mode 100644 index 00000000..fda81694 --- /dev/null +++ b/docs/API_docs/types/bytes.md @@ -0,0 +1,3 @@ +## Type: bytes + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs/types/channels_ChannelParticipant.md b/docs/API_docs/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..a6090ad9 --- /dev/null +++ b/docs/API_docs/types/channels_ChannelParticipant.md @@ -0,0 +1,17 @@ +## Type: channels\_ChannelParticipant + +### Constructors: + + +
+[channels\_channelParticipant](../constructors/channels\_channelParticipant.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/channels_ChannelParticipants.md b/docs/API_docs/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..a2455694 --- /dev/null +++ b/docs/API_docs/types/channels_ChannelParticipants.md @@ -0,0 +1,17 @@ +## Type: channels\_ChannelParticipants + +### Constructors: + + +
+[channels\_channelParticipants](../constructors/channels\_channelParticipants.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_Blocked.md b/docs/API_docs/types/contacts_Blocked.md new file mode 100644 index 00000000..d77b9825 --- /dev/null +++ b/docs/API_docs/types/contacts_Blocked.md @@ -0,0 +1,19 @@ +## Type: contacts\_Blocked + +### Constructors: + + +
+[contacts\_blocked](../constructors/contacts\_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts\_blockedSlice.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_Contacts.md b/docs/API_docs/types/contacts_Contacts.md new file mode 100644 index 00000000..958e5a4f --- /dev/null +++ b/docs/API_docs/types/contacts_Contacts.md @@ -0,0 +1,19 @@ +## Type: contacts\_Contacts + +### Constructors: + + +
+[contacts\_contactsNotModified](../constructors/contacts\_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts\_contacts.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_Found.md b/docs/API_docs/types/contacts_Found.md new file mode 100644 index 00000000..7b791446 --- /dev/null +++ b/docs/API_docs/types/contacts_Found.md @@ -0,0 +1,17 @@ +## Type: contacts\_Found + +### Constructors: + + +
+[contacts\_found](../constructors/contacts\_found.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_ImportedContacts.md b/docs/API_docs/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..c5159603 --- /dev/null +++ b/docs/API_docs/types/contacts_ImportedContacts.md @@ -0,0 +1,17 @@ +## Type: contacts\_ImportedContacts + +### Constructors: + + +
+[contacts\_importedContacts](../constructors/contacts\_importedContacts.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_Link.md b/docs/API_docs/types/contacts_Link.md new file mode 100644 index 00000000..4fcb7afc --- /dev/null +++ b/docs/API_docs/types/contacts_Link.md @@ -0,0 +1,17 @@ +## Type: contacts\_Link + +### Constructors: + + +
+[contacts\_link](../constructors/contacts\_link.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_ResolvedPeer.md b/docs/API_docs/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..5e13805f --- /dev/null +++ b/docs/API_docs/types/contacts_ResolvedPeer.md @@ -0,0 +1,17 @@ +## Type: contacts\_ResolvedPeer + +### Constructors: + + +
+[contacts\_resolvedPeer](../constructors/contacts\_resolvedPeer.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/contacts_TopPeers.md b/docs/API_docs/types/contacts_TopPeers.md new file mode 100644 index 00000000..b364768e --- /dev/null +++ b/docs/API_docs/types/contacts_TopPeers.md @@ -0,0 +1,19 @@ +## Type: contacts\_TopPeers + +### Constructors: + + +
+[contacts\_topPeersNotModified](../constructors/contacts\_topPeersNotModified.md) + +[contacts\_topPeers](../constructors/contacts\_topPeers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/double.md b/docs/API_docs/types/double.md new file mode 100644 index 00000000..4692ebaa --- /dev/null +++ b/docs/API_docs/types/double.md @@ -0,0 +1,3 @@ +## Type: double + +A double precision number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/API_docs/types/help_AppChangelog.md b/docs/API_docs/types/help_AppChangelog.md new file mode 100644 index 00000000..fdc4bb46 --- /dev/null +++ b/docs/API_docs/types/help_AppChangelog.md @@ -0,0 +1,19 @@ +## Type: help\_AppChangelog + +### Constructors: + + +
+[help\_appChangelogEmpty](../constructors/help\_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help\_appChangelog.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/help_AppUpdate.md b/docs/API_docs/types/help_AppUpdate.md new file mode 100644 index 00000000..e3de6841 --- /dev/null +++ b/docs/API_docs/types/help_AppUpdate.md @@ -0,0 +1,19 @@ +## Type: help\_AppUpdate + +### Constructors: + + +
+[help\_appUpdate](../constructors/help\_appUpdate.md) + +[help\_noAppUpdate](../constructors/help\_noAppUpdate.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/help_InviteText.md b/docs/API_docs/types/help_InviteText.md new file mode 100644 index 00000000..139a1a05 --- /dev/null +++ b/docs/API_docs/types/help_InviteText.md @@ -0,0 +1,17 @@ +## Type: help\_InviteText + +### Constructors: + + +
+[help\_inviteText](../constructors/help\_inviteText.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/help_Support.md b/docs/API_docs/types/help_Support.md new file mode 100644 index 00000000..c67a52f8 --- /dev/null +++ b/docs/API_docs/types/help_Support.md @@ -0,0 +1,17 @@ +## Type: help\_Support + +### Constructors: + + +
+[help\_support](../constructors/help\_support.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/help_TermsOfService.md b/docs/API_docs/types/help_TermsOfService.md new file mode 100644 index 00000000..a97acb4a --- /dev/null +++ b/docs/API_docs/types/help_TermsOfService.md @@ -0,0 +1,17 @@ +## Type: help\_TermsOfService + +### Constructors: + + +
+[help\_termsOfService](../constructors/help\_termsOfService.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/index.md b/docs/API_docs/types/index.md new file mode 100644 index 00000000..20794843 --- /dev/null +++ b/docs/API_docs/types/index.md @@ -0,0 +1,336 @@ +# Types + +
+[AccountDaysTTL](AccountDaysTTL.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[BotInlineMessage](BotInlineMessage.md) + +[BotInlineResult](BotInlineResult.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[DraftMessage](DraftMessage.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[ExportedMessageLink](ExportedMessageLink.md) + +[FileLocation](FileLocation.md) + +[FoundGif](FoundGif.md) + +[Game](Game.md) + +[GeoPoint](GeoPoint.md) + +[HighScore](HighScore.md) + +[ImportedContact](ImportedContact.md) + +[InlineBotSwitchPM](InlineBotSwitchPM.md) + +[InputAppEvent](InputAppEvent.md) + +[InputBotInlineMessage](InputBotInlineMessage.md) + +[InputBotInlineMessageID](InputBotInlineMessageID.md) + +[InputBotInlineResult](InputBotInlineResult.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGame](InputGame.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputStickeredMedia](InputStickeredMedia.md) + +[InputUser](InputUser.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[MaskCoords](MaskCoords.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageFwdHeader](MessageFwdHeader.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[PeerSettings](PeerSettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[StickerSetCovered](StickerSetCovered.md) + +[TopPeer](TopPeer.md) + +[TopPeerCategory](TopPeerCategory.md) + +[TopPeerCategoryPeers](TopPeerCategoryPeers.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[account_Authorizations](account_Authorizations.md) + +[account_Password](account_Password.md) + +[account_PasswordInputSettings](account_PasswordInputSettings.md) + +[account_PasswordSettings](account_PasswordSettings.md) + +[account_PrivacyRules](account_PrivacyRules.md) + +[auth_Authorization](auth_Authorization.md) + +[auth_CheckedPhone](auth_CheckedPhone.md) + +[auth_CodeType](auth_CodeType.md) + +[auth_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth_PasswordRecovery](auth_PasswordRecovery.md) + +[auth_SentCode](auth_SentCode.md) + +[auth_SentCodeType](auth_SentCodeType.md) + +[channels_ChannelParticipant](channels_ChannelParticipant.md) + +[channels_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts_Blocked](contacts_Blocked.md) + +[contacts_Contacts](contacts_Contacts.md) + +[contacts_Found](contacts_Found.md) + +[contacts_ImportedContacts](contacts_ImportedContacts.md) + +[contacts_Link](contacts_Link.md) + +[contacts_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts_TopPeers](contacts_TopPeers.md) + +[help_AppChangelog](help_AppChangelog.md) + +[help_AppUpdate](help_AppUpdate.md) + +[help_InviteText](help_InviteText.md) + +[help_Support](help_Support.md) + +[help_TermsOfService](help_TermsOfService.md) + +[messages_AffectedHistory](messages_AffectedHistory.md) + +[messages_AffectedMessages](messages_AffectedMessages.md) + +[messages_AllStickers](messages_AllStickers.md) + +[messages_ArchivedStickers](messages_ArchivedStickers.md) + +[messages_BotCallbackAnswer](messages_BotCallbackAnswer.md) + +[messages_BotResults](messages_BotResults.md) + +[messages_ChatFull](messages_ChatFull.md) + +[messages_Chats](messages_Chats.md) + +[messages_DhConfig](messages_DhConfig.md) + +[messages_Dialogs](messages_Dialogs.md) + +[messages_FeaturedStickers](messages_FeaturedStickers.md) + +[messages_FoundGifs](messages_FoundGifs.md) + +[messages_HighScores](messages_HighScores.md) + +[messages_MessageEditData](messages_MessageEditData.md) + +[messages_Messages](messages_Messages.md) + +[messages_PeerDialogs](messages_PeerDialogs.md) + +[messages_RecentStickers](messages_RecentStickers.md) + +[messages_SavedGifs](messages_SavedGifs.md) + +[messages_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages_StickerSet](messages_StickerSet.md) + +[messages_StickerSetInstallResult](messages_StickerSetInstallResult.md) + +[messages_Stickers](messages_Stickers.md) + +[photos_Photo](photos_Photo.md) + +[photos_Photos](photos_Photos.md) + +[storage_FileType](storage_FileType.md) + +[updates_ChannelDifference](updates_ChannelDifference.md) + +[updates_Difference](updates_Difference.md) + +[updates_State](updates_State.md) + +[upload_File](upload_File.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/int.md b/docs/API_docs/types/int.md new file mode 100644 index 00000000..e9ed6cc1 --- /dev/null +++ b/docs/API_docs/types/int.md @@ -0,0 +1,3 @@ +## Type: int + +A 32 bit signed integer ranging from -2147483647 to 2147483647. \ No newline at end of file diff --git a/docs/API_docs/types/long.md b/docs/API_docs/types/long.md new file mode 100644 index 00000000..43c258d0 --- /dev/null +++ b/docs/API_docs/types/long.md @@ -0,0 +1,3 @@ +## Type: long + +A 64 bit signed integer ranging from -9223372036854775807 to 9223372036854775807. \ No newline at end of file diff --git a/docs/API_docs/types/messages_AffectedHistory.md b/docs/API_docs/types/messages_AffectedHistory.md new file mode 100644 index 00000000..d93d418f --- /dev/null +++ b/docs/API_docs/types/messages_AffectedHistory.md @@ -0,0 +1,17 @@ +## Type: messages\_AffectedHistory + +### Constructors: + + +
+[messages\_affectedHistory](../constructors/messages\_affectedHistory.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_AffectedMessages.md b/docs/API_docs/types/messages_AffectedMessages.md new file mode 100644 index 00000000..ef998cdb --- /dev/null +++ b/docs/API_docs/types/messages_AffectedMessages.md @@ -0,0 +1,17 @@ +## Type: messages\_AffectedMessages + +### Constructors: + + +
+[messages\_affectedMessages](../constructors/messages\_affectedMessages.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_AllStickers.md b/docs/API_docs/types/messages_AllStickers.md new file mode 100644 index 00000000..8d8640d2 --- /dev/null +++ b/docs/API_docs/types/messages_AllStickers.md @@ -0,0 +1,19 @@ +## Type: messages\_AllStickers + +### Constructors: + + +
+[messages\_allStickersNotModified](../constructors/messages\_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages\_allStickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_ArchivedStickers.md b/docs/API_docs/types/messages_ArchivedStickers.md new file mode 100644 index 00000000..1cf1565e --- /dev/null +++ b/docs/API_docs/types/messages_ArchivedStickers.md @@ -0,0 +1,17 @@ +## Type: messages\_ArchivedStickers + +### Constructors: + + +
+[messages\_archivedStickers](../constructors/messages\_archivedStickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_BotCallbackAnswer.md b/docs/API_docs/types/messages_BotCallbackAnswer.md new file mode 100644 index 00000000..f581b9cd --- /dev/null +++ b/docs/API_docs/types/messages_BotCallbackAnswer.md @@ -0,0 +1,17 @@ +## Type: messages\_BotCallbackAnswer + +### Constructors: + + +
+[messages\_botCallbackAnswer](../constructors/messages\_botCallbackAnswer.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_BotResults.md b/docs/API_docs/types/messages_BotResults.md new file mode 100644 index 00000000..96498296 --- /dev/null +++ b/docs/API_docs/types/messages_BotResults.md @@ -0,0 +1,17 @@ +## Type: messages\_BotResults + +### Constructors: + + +
+[messages\_botResults](../constructors/messages\_botResults.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_ChatFull.md b/docs/API_docs/types/messages_ChatFull.md new file mode 100644 index 00000000..b1d42a60 --- /dev/null +++ b/docs/API_docs/types/messages_ChatFull.md @@ -0,0 +1,17 @@ +## Type: messages\_ChatFull + +### Constructors: + + +
+[messages\_chatFull](../constructors/messages\_chatFull.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_Chats.md b/docs/API_docs/types/messages_Chats.md new file mode 100644 index 00000000..0ea4131f --- /dev/null +++ b/docs/API_docs/types/messages_Chats.md @@ -0,0 +1,17 @@ +## Type: messages\_Chats + +### Constructors: + + +
+[messages\_chats](../constructors/messages\_chats.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_DhConfig.md b/docs/API_docs/types/messages_DhConfig.md new file mode 100644 index 00000000..358d5e6f --- /dev/null +++ b/docs/API_docs/types/messages_DhConfig.md @@ -0,0 +1,19 @@ +## Type: messages\_DhConfig + +### Constructors: + + +
+[messages\_dhConfigNotModified](../constructors/messages\_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages\_dhConfig.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_Dialogs.md b/docs/API_docs/types/messages_Dialogs.md new file mode 100644 index 00000000..300bcade --- /dev/null +++ b/docs/API_docs/types/messages_Dialogs.md @@ -0,0 +1,19 @@ +## Type: messages\_Dialogs + +### Constructors: + + +
+[messages\_dialogs](../constructors/messages\_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages\_dialogsSlice.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_FeaturedStickers.md b/docs/API_docs/types/messages_FeaturedStickers.md new file mode 100644 index 00000000..c73bde15 --- /dev/null +++ b/docs/API_docs/types/messages_FeaturedStickers.md @@ -0,0 +1,19 @@ +## Type: messages\_FeaturedStickers + +### Constructors: + + +
+[messages\_featuredStickersNotModified](../constructors/messages\_featuredStickersNotModified.md) + +[messages\_featuredStickers](../constructors/messages\_featuredStickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_FoundGifs.md b/docs/API_docs/types/messages_FoundGifs.md new file mode 100644 index 00000000..ea235c56 --- /dev/null +++ b/docs/API_docs/types/messages_FoundGifs.md @@ -0,0 +1,17 @@ +## Type: messages\_FoundGifs + +### Constructors: + + +
+[messages\_foundGifs](../constructors/messages\_foundGifs.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_HighScores.md b/docs/API_docs/types/messages_HighScores.md new file mode 100644 index 00000000..c8f9c96b --- /dev/null +++ b/docs/API_docs/types/messages_HighScores.md @@ -0,0 +1,17 @@ +## Type: messages\_HighScores + +### Constructors: + + +
+[messages\_highScores](../constructors/messages\_highScores.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_MessageEditData.md b/docs/API_docs/types/messages_MessageEditData.md new file mode 100644 index 00000000..c7b39d9a --- /dev/null +++ b/docs/API_docs/types/messages_MessageEditData.md @@ -0,0 +1,17 @@ +## Type: messages\_MessageEditData + +### Constructors: + + +
+[messages\_messageEditData](../constructors/messages\_messageEditData.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_Messages.md b/docs/API_docs/types/messages_Messages.md new file mode 100644 index 00000000..6d187eaa --- /dev/null +++ b/docs/API_docs/types/messages_Messages.md @@ -0,0 +1,21 @@ +## Type: messages\_Messages + +### Constructors: + + +
+[messages\_messages](../constructors/messages\_messages.md) + +[messages\_messagesSlice](../constructors/messages\_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages\_channelMessages.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_PeerDialogs.md b/docs/API_docs/types/messages_PeerDialogs.md new file mode 100644 index 00000000..b8f1b0ac --- /dev/null +++ b/docs/API_docs/types/messages_PeerDialogs.md @@ -0,0 +1,17 @@ +## Type: messages\_PeerDialogs + +### Constructors: + + +
+[messages\_peerDialogs](../constructors/messages\_peerDialogs.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_RecentStickers.md b/docs/API_docs/types/messages_RecentStickers.md new file mode 100644 index 00000000..2922c4bb --- /dev/null +++ b/docs/API_docs/types/messages_RecentStickers.md @@ -0,0 +1,19 @@ +## Type: messages\_RecentStickers + +### Constructors: + + +
+[messages\_recentStickersNotModified](../constructors/messages\_recentStickersNotModified.md) + +[messages\_recentStickers](../constructors/messages\_recentStickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_SavedGifs.md b/docs/API_docs/types/messages_SavedGifs.md new file mode 100644 index 00000000..0ac00df9 --- /dev/null +++ b/docs/API_docs/types/messages_SavedGifs.md @@ -0,0 +1,19 @@ +## Type: messages\_SavedGifs + +### Constructors: + + +
+[messages\_savedGifsNotModified](../constructors/messages\_savedGifsNotModified.md) + +[messages\_savedGifs](../constructors/messages\_savedGifs.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_SentEncryptedMessage.md b/docs/API_docs/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..c5738382 --- /dev/null +++ b/docs/API_docs/types/messages_SentEncryptedMessage.md @@ -0,0 +1,19 @@ +## Type: messages\_SentEncryptedMessage + +### Constructors: + + +
+[messages\_sentEncryptedMessage](../constructors/messages\_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages\_sentEncryptedFile.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_StickerSet.md b/docs/API_docs/types/messages_StickerSet.md new file mode 100644 index 00000000..98561577 --- /dev/null +++ b/docs/API_docs/types/messages_StickerSet.md @@ -0,0 +1,17 @@ +## Type: messages\_StickerSet + +### Constructors: + + +
+[messages\_stickerSet](../constructors/messages\_stickerSet.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_StickerSetInstallResult.md b/docs/API_docs/types/messages_StickerSetInstallResult.md new file mode 100644 index 00000000..6ed55576 --- /dev/null +++ b/docs/API_docs/types/messages_StickerSetInstallResult.md @@ -0,0 +1,19 @@ +## Type: messages\_StickerSetInstallResult + +### Constructors: + + +
+[messages\_stickerSetInstallResultSuccess](../constructors/messages\_stickerSetInstallResultSuccess.md) + +[messages\_stickerSetInstallResultArchive](../constructors/messages\_stickerSetInstallResultArchive.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/messages_Stickers.md b/docs/API_docs/types/messages_Stickers.md new file mode 100644 index 00000000..e117fc76 --- /dev/null +++ b/docs/API_docs/types/messages_Stickers.md @@ -0,0 +1,19 @@ +## Type: messages\_Stickers + +### Constructors: + + +
+[messages\_stickersNotModified](../constructors/messages\_stickersNotModified.md) + +[messages\_stickers](../constructors/messages\_stickers.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/photos_Photo.md b/docs/API_docs/types/photos_Photo.md new file mode 100644 index 00000000..9fa73c27 --- /dev/null +++ b/docs/API_docs/types/photos_Photo.md @@ -0,0 +1,17 @@ +## Type: photos\_Photo + +### Constructors: + + +
+[photos\_photo](../constructors/photos\_photo.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/photos_Photos.md b/docs/API_docs/types/photos_Photos.md new file mode 100644 index 00000000..0657d6b0 --- /dev/null +++ b/docs/API_docs/types/photos_Photos.md @@ -0,0 +1,19 @@ +## Type: photos\_Photos + +### Constructors: + + +
+[photos\_photos](../constructors/photos\_photos.md) + +[photos\_photosSlice](../constructors/photos\_photosSlice.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/storage_FileType.md b/docs/API_docs/types/storage_FileType.md new file mode 100644 index 00000000..83e84eea --- /dev/null +++ b/docs/API_docs/types/storage_FileType.md @@ -0,0 +1,35 @@ +## Type: storage\_FileType + +### 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) + +
\ No newline at end of file diff --git a/docs/API_docs/types/string.md b/docs/API_docs/types/string.md new file mode 100644 index 00000000..0a19b7d7 --- /dev/null +++ b/docs/API_docs/types/string.md @@ -0,0 +1,3 @@ +## Type: string + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs/types/updates_ChannelDifference.md b/docs/API_docs/types/updates_ChannelDifference.md new file mode 100644 index 00000000..f4d8ac45 --- /dev/null +++ b/docs/API_docs/types/updates_ChannelDifference.md @@ -0,0 +1,21 @@ +## Type: updates\_ChannelDifference + +### Constructors: + + +
+[updates\_channelDifferenceEmpty](../constructors/updates\_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates\_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates\_channelDifference.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/updates_Difference.md b/docs/API_docs/types/updates_Difference.md new file mode 100644 index 00000000..fbb5f203 --- /dev/null +++ b/docs/API_docs/types/updates_Difference.md @@ -0,0 +1,21 @@ +## Type: updates\_Difference + +### Constructors: + + +
+[updates\_differenceEmpty](../constructors/updates\_differenceEmpty.md) + +[updates\_difference](../constructors/updates\_difference.md) + +[updates\_differenceSlice](../constructors/updates\_differenceSlice.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/updates_State.md b/docs/API_docs/types/updates_State.md new file mode 100644 index 00000000..862c2848 --- /dev/null +++ b/docs/API_docs/types/updates_State.md @@ -0,0 +1,17 @@ +## Type: updates\_State + +### Constructors: + + +
+[updates\_state](../constructors/updates\_state.md) + +
\ No newline at end of file diff --git a/docs/API_docs/types/upload_File.md b/docs/API_docs/types/upload_File.md new file mode 100644 index 00000000..ab2c5a1a --- /dev/null +++ b/docs/API_docs/types/upload_File.md @@ -0,0 +1,17 @@ +## Type: upload\_File + +### Constructors: + + +
+[upload\_file](../constructors/upload\_file.md) + +
\ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 00000000..9bd76e6e --- /dev/null +++ b/docs/index.md @@ -0,0 +1,263 @@ +# MadelineProto +[![StyleCI](https://styleci.io/repos/61838413/shield)](https://styleci.io/repos/61838413) +[![Build Status](https://travis-ci.org/danog/MadelineProto.svg?branch=master)](https://travis-ci.org/danog/MadelineProto) + +Created by [Daniil Gentili](https://daniil.it), licensed under AGPLv3. + +PHP implementation of MTProto, based on [telepy](https://github.com/griganton/telepy_old). + +This project can run on PHP 7, PHP 5.6 and HHVM. + +Also note that MadelineProto will perform better if a big math extension like gmp o bcmath is installed. + +This project is in beta state. + +The API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). + +## Usage + +### Dependencies + +This project depends on [PHPStruct](https://github.com/danog/PHPStruct), [phpseclib](https://github.com/phpseclib/phpseclib), https://packagist.org/packages/paragonie/constant_time_encoding and https://packagist.org/packages/paragonie/random_compat + +To install dependencies install composer and run: +``` +composer update +``` +In the cloned repo. + + +### Instantiation + +``` +$MadelineProto = new \danog\MadelineProto\API(); +``` + +### Settings + +The constructor accepts an optional parameter, which is the settings array. This array contains some other arrays, which are the settings for a specific MadelineProto function. +Here you can see the default values for the settings\ arrays and explanations for every setting: +``` +$settings = [ + 'authorization' => [ // Authorization settings + 'default_temp_auth_key_expires_in' => 31557600, // validity of temporary keys and the binding of the temporary and permanent keys + 'rsa_key' => '-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAwVACPi9w23mF3tBkdZz+zwrzKOaaQdr01vAbU4E1pvkfj4sqDsm6 +lyDONS789sVoD/xCS9Y0hkkC3gtL1tSfTlgCMOOul9lcixlEKzwKENj1Yz/s7daS +an9tqw3bfUV/nqgbhGX81v/+7RFAEd+RwFnK7a+XYl9sluzHRyVVaTTveB2GazTw +Efzk2DWgkBluml8OREmvfraX3bkHZJTKX4EQSjBbbdJ2ZXIsRrYOXfaA+xayEGB+ +8hdlLmAjbCVfaigxX0CDqWeR1yFL9kwd9P0NsZRPsmoqVwMbMu7mStFai6aIhc3n +Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB +-----END RSA PUBLIC KEY-----', // RSA public key + ], + 'connection' => [ // List of datacenters/subdomains where to connect + 'ssl_subdomains' => [ // Subdomains of web.telegram.org for https protocol + 1 => 'pluto', + 2 => 'venus', + 3 => 'aurora', + 4 => 'vesta', + 5 => 'flora', // musa oh wait no :( + ], + 'test' => [ // Test datacenters + 'ipv4' => [ // ipv4 addresses + 2 => [ // The rest will be fetched using help.getConfig + 'ip_address' => '149.154.167.40', + 'port' => 443, + 'media_only' => false, + 'tcpo_only' => false + ] + ], + 'ipv6' => [ // ipv6 addresses + 2 => [ // The rest will be fetched using help.getConfig + 'ip_address' => '2001:067c:04e8:f002:0000:0000:0000:000e', + 'port' => 443, + 'media_only' => false, + 'tcpo_only' => false + ] + ] + ], + 'main' => [ // Main datacenters + 'ipv4' => [ // ipv4 addresses + 2 => [ // The rest will be fetched using help.getConfig + 'ip_address' => '149.154.167.51', + 'port' => 443, + 'media_only' => false, + 'tcpo_only' => false + ] + ], + 'ipv6' => [ // ipv6 addresses + 2 => [ // The rest will be fetched using help.getConfig + 'ip_address' => '2001:067c:04e8:f002:0000:0000:0000:000a', + 'port' => 443, + 'media_only' => false, + 'tcpo_only' => false + ] + ] + ], + ], + 'connection_settings' => [ // connection settings + 'all' => [ // Connection settings will be applied on datacenter ids matching the key of these settings subarrays, if the key is equal to all like in this case that will match all datacenters that haven't a custom settings subarray... + 'protocol' => 'tcp_full', // can be tcp_full, tcp_abridged, tcp_intermediate, http (unsupported), https (unsupported), udp (unsupported) + 'test_mode' => false, // decides whether to connect to the main telegram servers or to the testing servers (deep telegram) + 'ipv6' => $this->ipv6, // decides whether to use ipv6, ipv6 attribute of API attribute of API class contains autodetected boolean + 'timeout' => 10 // timeout for sockets + ], + ], + 'app_info' => [ // obtained in https://my.telegram.org + 'api_id' => 25628, + 'api_hash' => '1fe17cda7d355166cdaa71f04122873c', + 'device_model' => php_uname('s'), + 'system_version' => php_uname('r'), + 'app_version' => 'Unicorn', // 🌚 + 'lang_code' => 'en', + ], + 'tl_schema' => [ // TL scheme files + 'layer' => 57, // layer version + 'src' => [ + 'mtproto' => __DIR__.'/TL_mtproto_v1.json', // mtproto TL scheme + 'telegram' => __DIR__.'/TL_telegram_v57.json', // telegram TL scheme + ], + ], + 'logger' => [ // Logger settings + 'logger' => 1, // 0 - No logger, 1 - Log to the default logger destination, 2 - Log to file defined in logger_param, 3 - Echo logs + 'logger_param' => '/tmp/MadelineProto.log', + 'logger' => 3, // overwrite previous setting and echo logs + ], + 'max_tries' => [ + 'query' => 5, // How many times should I try to call a method or send an object before throwing an exception + 'authorization' => 5, // How many times should I try to generate an authorization key before throwing an exception + 'response' => 5,// How many times should I try to get a response of a query before throwing an exception + ], + 'msg_array_limit' => [ // How big should be the arrays containing the incoming and outgoing messages? + 'incoming' => 30, + 'outgoing' => 30, + ], +]; +``` + +You can provide part of any subsetting array, that way the remaining arrays will be automagically set to default and undefined values of specified subsetting arrays will be set to the default values. +Example: +``` +$settings = [ + 'authorization' => [ // Authorization settings + 'default_temp_auth_key_expires_in' => 86400, // a day + ] +] +``` +Becomes: +``` +$settings = [ + 'authorization' => [ // Authorization settings + 'default_temp_auth_key_expires_in' => 86400, + 'rsa_key' => '-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAwVACPi9w23mF3tBkdZz+zwrzKOaaQdr01vAbU4E1pvkfj4sqDsm6 +lyDONS789sVoD/xCS9Y0hkkC3gtL1tSfTlgCMOOul9lcixlEKzwKENj1Yz/s7daS +an9tqw3bfUV/nqgbhGX81v/+7RFAEd+RwFnK7a+XYl9sluzHRyVVaTTveB2GazTw +Efzk2DWgkBluml8OREmvfraX3bkHZJTKX4EQSjBbbdJ2ZXIsRrYOXfaA+xayEGB+ +8hdlLmAjbCVfaigxX0CDqWeR1yFL9kwd9P0NsZRPsmoqVwMbMu7mStFai6aIhc3n +Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB +-----END RSA PUBLIC KEY-----', + ] + // The remaining subsetting arrays are the set to default +] +``` + +Note that only settings arrays or values of a settings array will be set to default. + +The settings array can be accessed in the instantiated class like this: +``` +$MadelineProto = new \danog\MadelineProto\API(); +var_dump($MadelineProto->API->settings); +``` + +### Calling mtproto methods and available wrappers + +The API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). +To call an MTProto method simply call it as if it is a method of the API class, substitute namespace sepators (.) with -> if needed: +``` +$MadelineProto = new \danog\MadelineProto\API(); +$checkedPhone = $MadelineProto->auth->checkPhone( // auth.checkPhone becomes auth->checkPhone + [ + 'phone_number' => '3993838383', // Random invalid number, note that there should be no + + ] +); +$ping = $MadelineProto->ping([3]); // parameter names can be omitted as long as the order specified by the TL scheme is respected +$message = "Hey! I'm sending this message with MadelineProto!"; +$username = $MadelineProto->contacts->resolveUsername(['username' => 'pwrtelegramgroup']); +var_dump($username); +$peer = ['_' => 'inputPeerChannel', 'channel_id' => $username['peer']['channel_id'], 'access_hash' => $username['chats'][0]['access_hash']]; +$sentMessage = $MadelineProto->messages->sendMessage(['peer' => $peer, 'message' => $message, 'random_id' => \danog\PHP\Struct::unpack('phone_login($number); // Send code +var_dump($sentCode); +echo 'Enter the code you received: '; +$code = ''; +for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); +} +$authorization = $MadelineProto->complete_phone_login($code); // Complete authorization +var_dump($authorization); + +$authorization = $MadelineProto->bot_login($token); // Note that every time you login as a bot or as a user MadelineProto will logout first, so now MadelineProto is logged in as the bot with token $token, not as the user with number $number +var_dump($authorization); +``` + +See testing.php for more examples. + +### Storing sessions + +An istance of MadelineProto can be safely serialized or unserialized. + +### Exceptions + +MadelineProto can throw three different exceptions: +* \danog\MadelineProto\Exception - Default exception, thrown when a php error occures and in a lot of other cases +* \danog\MadelineProto\RPCErrorException - Thrown when an RPC error occurres (an error received via the mtproto API) +* \danog\MadelineProto\TL\Exception - Thrown on TL serialization/deserialization errors + + +## Contributing + +[Here](https://github.com/danog/MadelineProto/projects/1) you can find this project's roadmap. + +You can use this scheme of the structure of this project to help yourself: +``` +src/danog/MadelineProto/ + MTProtoTools/ + AckHandler - Handles acknowledgement of incoming and outgoing mtproto messages + AuthKeyHandler - Handles generation of the temporary and permanent authorization keys + CallHandler - Handles synchronous calls to mtproto methods or objects, also basic response management (waits until the socket receives a response) + Crypt - Handles ige and aes encryption + MessageHandler - Handles sending and receiving of mtproto messages (packs TL serialized data with message id, auth key id and encrypts it with Crypt if needed, adds them to the arrays of incoming and outgoing messages) + MsgIdHandler - Handles message ids (checks if they are valid, adds them to the arrays of incoming and outgoing messages) + ResponseHandler - Handles the content of responses received, service messages, rpc results, errors, and stores them into the response section of the outgoing messages array) + SaltHandler - Handles server salts + SeqNoHandler - Handles sequence numbers (checks validity) + TL/ + Exception - Handles exceptions in the TL namespace + TL - Handles TL serialization and deserialization + TLConstructor - Stores TL constructors + TLMethod - Stores TL methods + TLParams - Parses params + API - Wrapper class that instantiates the MTProto class, sets the error handler, provides a wrapper for calling mtproto methods directly as class submethods, and provides some simplified wrappers for logging in to telegram + APIFactory - Provides a wrapper for calling namespaced mtproto methods directly as class submethods + Connection - Handles tcp/udp/http connections and wrapping payloads generated by MTProtoTools/MessageHandler into the right message according to the protocol, stores authorization keys, session id and sequence number + DataCenter - Handles mtproto datacenters (is a wrapper for Connection classes) + DebugTools - Various debugging tools + Exception - Handles exceptions and PHP errors + RPCErrorException - Handles RPC errors + MTProto - Extends MTProtoTools, handles initial connection, generation of authorization keys, instantiation of classes, writing of client info + MTProtoTools - Extends all of the classes in MTProtoTools/ + Logger - Static logging class + prime.py and getpq.py - prime module (python) for p and q generation + PrimeModule.php - prime module (php) for p and q generation by wrapping the python module, using wolfram alpha or a built in PHP engine + RSA - Handles RSA public keys and signatures + Tools - Various tools (positive modulus, string2bin, python-like range) +``` + +Check out the [Contribution guide](https://github.com/danog/MadelineProto/blob/master/CONTRIBUTING.md) before contributing. + diff --git a/enc.tar.xz.enc b/enc.tar.xz.enc index 973d779b890acc977c4ad42e3ceb6e9cdab4e969..9ce6d889d22fc1302dbbb618aced32a34b0db05a 100644 GIT binary patch literal 32848 zcmV(nK=Qv9x{%P2^6j^Q7U*PhJ=BM`KbdI9aJ}Q5iaaFBw;cKn@P4sOYv&|AzNCfk}Q4x&XA~deB_vpuA0B8ZkAXCQ1 zv<**l_*H!(n%!TO1}O1j(GPUWCPSoOaKwCQ;lNi8OZEC_-$iejvX~xQh?L8ppwmO` z-s-zV%oG%-Dl-T#cJ$X67`zFnO(N6{3KpLj-tgh?AB>os^g{?#kcz)nDLhjsjEm0} z(%88(Xe(M$nk{2y_e~^g^G_6O_^U7|dSTdtG5E8i4D!ziZypUa6l&Y#tz~?*16iL= zax))laDIipE3bD=vdcAQic)i!YbSKTb)^nxj3S-kDnkvpVP=c7P%{_jTo#->%vImb zuaT*mtX`5~y=b6M-bbJ|zapwo+J1KIPkb)NqgV5glD2_s=4%OXtOKFY(FX|^~;)HQ})&{c;(=>+AGS7J$ zRxwru|AK!lG0v&kC7l||ylmyb0=~?>_b zF)Dt}UFUsYUFv`FU(n2JQg$&zQUM{=~QOpA@d_*!89!670cVt%*^5O(<1+`#~t_UT=ms<5&F`dtb+JPnaS24N}3M#!(#J!#uQweF774r9L;Z`4d@$!Y3(eo zn>iz<#YKcDzb4d>I?R9#9jVYWpdS(C=+8$8cs^jZq{0JYWae|Uj$E`pY(rCGse6fw zv=KpSPg}FI@oS0b&aCb0L+=X_daB4Z7mHgnpYNI7M|qLIJXW8KlE(Up)DX3`$FwKa zBAp9OOQTJO8O*%5H7XLy>ans~^puZ^r$8_3`+(_&>{iR)JEdx6_~Zo7 zyDzo0bXblOXS`VoN5JLGK!}Q)P0=~I%N6@2OZl!IYl_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rTFg{3~QBPHp5y?NHO{+nGL4Q#aRso&vw*FjTRRzA%FO+shP(BD-+;+XnM1Z z-{r6HC7KKuJ5mmUP(}RQZAJU4-PJ1tFBo6Usockets[$this->curdc]->{$name} = &$value; } + public function __isset($name) + { + return isset($this->sockets[$this->curdc]->{$name}); + } + public function __call($name, $arguments) { return $this->sockets[$this->curdc]->{$name}(...$arguments); diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index b07735bd..ca9e75ca 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -15,8 +15,19 @@ namespace danog\MadelineProto; /** * Manages all of the mtproto stuff. */ -class MTProto extends MTProtoTools +class MTProto extends PrimeModule { + use \danog\MadelineProto\MTProtoTools\AckHandler; + use \danog\MadelineProto\MTProtoTools\AuthKeyHandler; + use \danog\MadelineProto\MTProtoTools\CallHandler; + use \danog\MadelineProto\MTProtoTools\Crypt; + use \danog\MadelineProto\MTProtoTools\MessageHandler; + use \danog\MadelineProto\MTProtoTools\MsgIdHandler; + use \danog\MadelineProto\MTProtoTools\ResponseHandler; + use \danog\MadelineProto\MTProtoTools\SaltHandler; + use \danog\MadelineProto\MTProtoTools\SeqNoHandler; + + public $settings = []; public $authorized = false; public $waiting_code = false; @@ -238,6 +249,7 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB $this->init_authorization(); $this->config = $this->write_client_info('help.getConfig'); $this->parse_config(); + $this->get_nearest_dc($allow_nearest_dc_switch); } if ( @@ -269,6 +281,7 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB \danog\MadelineProto\Logger::log('Generating temporary authorization key...'); $this->datacenter->temp_auth_key = $this->create_auth_key($this->settings['authorization']['default_temp_auth_key_expires_in']); $this->bind_temp_auth_key($this->settings['authorization']['default_temp_auth_key_expires_in']); + } } diff --git a/src/danog/MadelineProto/MTProtoTools.php b/src/danog/MadelineProto/MTProtoTools.php deleted file mode 100644 index 73dd0060..00000000 --- a/src/danog/MadelineProto/MTProtoTools.php +++ /dev/null @@ -1,20 +0,0 @@ -. -*/ - -namespace danog\MadelineProto; - -/** - * Manages encryption and message frames. - */ -class MTProtoTools extends \danog\MadelineProto\MTProtoTools\SeqNoHandler -{ -} diff --git a/src/danog/MadelineProto/MTProtoTools/AckHandler.php b/src/danog/MadelineProto/MTProtoTools/AckHandler.php index 19b6dbd6..25d431ed 100644 --- a/src/danog/MadelineProto/MTProtoTools/AckHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/AckHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages acknowledgement of messages. */ -class AckHandler extends \danog\MadelineProto\PrimeModule +trait AckHandler { public function ack_outgoing_message_id($message_id) { diff --git a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php index 8c16e0f4..d4c12a0c 100644 --- a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php @@ -18,7 +18,7 @@ namespace danog\MadelineProto\MTProtoTools; * https://core.telegram.org/mtproto/auth_key * https://core.telegram.org/mtproto/samples-auth_key */ -class AuthKeyHandler extends AckHandler +trait AuthKeyHandler { public function create_auth_key($expires_in = -1) { diff --git a/src/danog/MadelineProto/MTProtoTools/CallHandler.php b/src/danog/MadelineProto/MTProtoTools/CallHandler.php index 86964c4d..168b2e43 100644 --- a/src/danog/MadelineProto/MTProtoTools/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/CallHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages method and object calls. */ -class CallHandler extends AuthKeyHandler +trait CallHandler { public function method_call($method, $args = [], $message_id = null) { diff --git a/src/danog/MadelineProto/MTProtoTools/Crypt.php b/src/danog/MadelineProto/MTProtoTools/Crypt.php index 9f6b7c21..15c73a19 100644 --- a/src/danog/MadelineProto/MTProtoTools/Crypt.php +++ b/src/danog/MadelineProto/MTProtoTools/Crypt.php @@ -12,7 +12,7 @@ If not, see . namespace danog\MadelineProto\MTProtoTools; -class Crypt extends CallHandler +trait Crypt { public function aes_calculate($msg_key, $auth_key, $direction = 'to server') { diff --git a/src/danog/MadelineProto/MTProtoTools/MessageHandler.php b/src/danog/MadelineProto/MTProtoTools/MessageHandler.php index 4d38dd44..3ffc923f 100644 --- a/src/danog/MadelineProto/MTProtoTools/MessageHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/MessageHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages packing and unpacking of messages, and the list of sent and received messages. */ -class MessageHandler extends Crypt +trait MessageHandler { /** * Forming the message frame and sending message to server @@ -57,11 +57,15 @@ class MessageHandler extends Crypt if (fstat($payload)['size'] == 4) { $error = \danog\PHP\Struct::unpack('datacenter->temp_auth_key); - unset($this->datacenter->auth_key); - $this->datacenter->authorized = false; - $this->datacenter->authorization = null; - throw new \danog\MadelineProto\RPCErrorException('Please login again', $error); + if ($this->datacenter->temp_auth_key != null) { + \danog\MadelineProto\Logger::log('WARNING: Resetting auth key...'); + $this->datacenter->temp_auth_key = null; + $this->init_authorization(); + $this->config = $this->write_client_info('help.getConfig'); + $this->parse_config(); + throw new \danog\MadelineProto\Exception('I had to recreate the temporary authorization key'); + } + } throw new \danog\MadelineProto\RPCErrorException($error, $error); } diff --git a/src/danog/MadelineProto/MTProtoTools/MsgIdHandler.php b/src/danog/MadelineProto/MTProtoTools/MsgIdHandler.php index 366f55e0..ea7baef8 100644 --- a/src/danog/MadelineProto/MTProtoTools/MsgIdHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/MsgIdHandler.php @@ -15,16 +15,18 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages message ids. */ -class MsgIdHandler extends MessageHandler +trait MsgIdHandler { public function check_message_id($new_message_id, $outgoing, $container = false) { if (((int) ((time() + $this->datacenter->time_delta - 300) << 32)) > $new_message_id) { throw new \danog\MadelineProto\Exception('Given message id ('.$new_message_id.') is too old.'); } + /* if (((int) ((time() + $this->datacenter->time_delta + 30) << 32)) < $new_message_id) { throw new \danog\MadelineProto\Exception('Given message id ('.$new_message_id.') is too new.'); } + */ if ($outgoing) { if ($new_message_id % 4 != 0) { throw new \danog\MadelineProto\Exception('Given message id ('.$new_message_id.') is not divisible by 4.'); diff --git a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php index c43364e0..9cbcec0e 100644 --- a/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/ResponseHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages responses. */ -class ResponseHandler extends MsgIdHandler +trait ResponseHandler { public function handle_messages() { diff --git a/src/danog/MadelineProto/MTProtoTools/SaltHandler.php b/src/danog/MadelineProto/MTProtoTools/SaltHandler.php index c7abde64..18ae1b03 100644 --- a/src/danog/MadelineProto/MTProtoTools/SaltHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/SaltHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages message ids. */ -class SaltHandler extends ResponseHandler +trait SaltHandler { public function add_salts($salts) { diff --git a/src/danog/MadelineProto/MTProtoTools/SeqNoHandler.php b/src/danog/MadelineProto/MTProtoTools/SeqNoHandler.php index b730347b..9fed0b72 100644 --- a/src/danog/MadelineProto/MTProtoTools/SeqNoHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/SeqNoHandler.php @@ -15,7 +15,7 @@ namespace danog\MadelineProto\MTProtoTools; /** * Manages sequence number. */ -class SeqNoHandler extends SaltHandler +trait SeqNoHandler { public function generate_seq_no($content_related = true) { diff --git a/src/danog/MadelineProto/PrimeModule.php b/src/danog/MadelineProto/PrimeModule.php index c931874a..077b09f2 100644 --- a/src/danog/MadelineProto/PrimeModule.php +++ b/src/danog/MadelineProto/PrimeModule.php @@ -79,7 +79,7 @@ class PrimeModule extends Tools public function PrimeFactors($pq) { $pqstr = (string) $pq; -/* + \danog\MadelineProto\Logger::log('Trying to use the python factorization module'); if (function_exists('shell_exec')) { try { @@ -119,7 +119,7 @@ class PrimeModule extends Tools if (count($res) == 2) { return $res; } -*/ + \danog\MadelineProto\Logger::log('Trying to use the native factorization module'); $res = $this->find_small_multiplier_lopatin((int) $pqstr); $res = [$res, $pqstr / $res]; diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index 52ff61aa..e9bff636 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -14,12 +14,12 @@ namespace danog\MadelineProto\TL; class TL extends \danog\MadelineProto\Tools { - public function __construct($filename) + public function __construct($files) { \danog\MadelineProto\Logger::log('Loading TL schemes...'); $this->constructors = new \danog\MadelineProto\TL\TLConstructor(); $this->methods = new \danog\MadelineProto\TL\TLMethod(); - foreach ($filename as $type => $file) { + foreach ($files as $type => $file) { $type = $type === 'mtproto'; $TL_dict = json_decode(file_get_contents($file), true); diff --git a/src/danog/MadelineProto/TL/TLParams.php b/src/danog/MadelineProto/TL/TLParams.php index 97c1bf52..69a05500 100644 --- a/src/danog/MadelineProto/TL/TLParams.php +++ b/src/danog/MadelineProto/TL/TLParams.php @@ -20,7 +20,7 @@ class TLParams $param['flag'] = false; if (preg_match('/^flags\.\d*\?/', $param['type'])) { $param['flag'] = true; - $flag = explode('?', explode('.', $param['type'])[1]); + $flag = explode('?', explode('flags.', $param['type'])[1]); $param['pow'] = pow(2, $flag[0]); $param['type'] = $flag[1]; }