From 47243915ce7a80e997c41885e6fa9ebeaffd92ac Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 19 Jun 2017 17:56:47 +0100 Subject: [PATCH] docufix --- docs/API_docs/methods/account_changePhone.md | 2 +- docs/API_docs/methods/account_checkUsername.md | 2 +- docs/API_docs/methods/account_confirmPhone.md | 2 +- docs/API_docs/methods/account_deleteAccount.md | 2 +- docs/API_docs/methods/account_getAccountTTL.md | 2 +- docs/API_docs/methods/account_getAuthorizations.md | 2 +- docs/API_docs/methods/account_getNotifySettings.md | 2 +- docs/API_docs/methods/account_getPassword.md | 2 +- docs/API_docs/methods/account_getPasswordSettings.md | 2 +- docs/API_docs/methods/account_getPrivacy.md | 2 +- docs/API_docs/methods/account_getTmpPassword.md | 2 +- docs/API_docs/methods/account_getWallPapers.md | 2 +- docs/API_docs/methods/account_registerDevice.md | 2 +- docs/API_docs/methods/account_reportPeer.md | 2 +- docs/API_docs/methods/account_resetAuthorization.md | 2 +- docs/API_docs/methods/account_resetNotifySettings.md | 2 +- docs/API_docs/methods/account_sendChangePhoneCode.md | 2 +- docs/API_docs/methods/account_sendConfirmPhoneCode.md | 2 +- docs/API_docs/methods/account_setAccountTTL.md | 2 +- docs/API_docs/methods/account_setPrivacy.md | 2 +- docs/API_docs/methods/account_unregisterDevice.md | 2 +- docs/API_docs/methods/account_updateDeviceLocked.md | 2 +- docs/API_docs/methods/account_updateNotifySettings.md | 2 +- docs/API_docs/methods/account_updatePasswordSettings.md | 2 +- docs/API_docs/methods/account_updateProfile.md | 2 +- docs/API_docs/methods/account_updateStatus.md | 2 +- docs/API_docs/methods/account_updateUsername.md | 2 +- docs/API_docs/methods/auth_bindTempAuthKey.md | 2 +- docs/API_docs/methods/auth_cancelCode.md | 2 +- docs/API_docs/methods/auth_checkPassword.md | 2 +- docs/API_docs/methods/auth_checkPhone.md | 2 +- docs/API_docs/methods/auth_dropTempAuthKeys.md | 2 +- docs/API_docs/methods/auth_exportAuthorization.md | 2 +- docs/API_docs/methods/auth_importAuthorization.md | 2 +- docs/API_docs/methods/auth_importBotAuthorization.md | 2 +- docs/API_docs/methods/auth_logOut.md | 2 +- docs/API_docs/methods/auth_recoverPassword.md | 2 +- docs/API_docs/methods/auth_requestPasswordRecovery.md | 2 +- docs/API_docs/methods/auth_resendCode.md | 2 +- docs/API_docs/methods/auth_resetAuthorizations.md | 2 +- docs/API_docs/methods/auth_sendCode.md | 2 +- docs/API_docs/methods/auth_sendInvites.md | 2 +- docs/API_docs/methods/auth_signIn.md | 2 +- docs/API_docs/methods/auth_signUp.md | 2 +- docs/API_docs/methods/bots_answerWebhookJSONQuery.md | 2 +- docs/API_docs/methods/bots_sendCustomRequest.md | 2 +- docs/API_docs/methods/channels_checkUsername.md | 2 +- docs/API_docs/methods/channels_createChannel.md | 2 +- docs/API_docs/methods/channels_deleteChannel.md | 2 +- docs/API_docs/methods/channels_deleteMessages.md | 2 +- docs/API_docs/methods/channels_deleteUserHistory.md | 2 +- docs/API_docs/methods/channels_editAbout.md | 2 +- docs/API_docs/methods/channels_editAdmin.md | 2 +- docs/API_docs/methods/channels_editPhoto.md | 2 +- docs/API_docs/methods/channels_editTitle.md | 2 +- docs/API_docs/methods/channels_exportInvite.md | 2 +- docs/API_docs/methods/channels_exportMessageLink.md | 2 +- docs/API_docs/methods/channels_getAdminedPublicChannels.md | 2 +- docs/API_docs/methods/channels_getChannels.md | 2 +- docs/API_docs/methods/channels_getFullChannel.md | 2 +- docs/API_docs/methods/channels_getMessages.md | 2 +- docs/API_docs/methods/channels_getParticipant.md | 2 +- docs/API_docs/methods/channels_getParticipants.md | 2 +- docs/API_docs/methods/channels_inviteToChannel.md | 2 +- docs/API_docs/methods/channels_joinChannel.md | 2 +- docs/API_docs/methods/channels_kickFromChannel.md | 2 +- docs/API_docs/methods/channels_leaveChannel.md | 2 +- docs/API_docs/methods/channels_readHistory.md | 2 +- docs/API_docs/methods/channels_reportSpam.md | 2 +- docs/API_docs/methods/channels_toggleInvites.md | 2 +- docs/API_docs/methods/channels_toggleSignatures.md | 2 +- docs/API_docs/methods/channels_updatePinnedMessage.md | 2 +- docs/API_docs/methods/channels_updateUsername.md | 2 +- docs/API_docs/methods/contacts_block.md | 2 +- docs/API_docs/methods/contacts_deleteContact.md | 2 +- docs/API_docs/methods/contacts_deleteContacts.md | 2 +- docs/API_docs/methods/contacts_exportCard.md | 2 +- docs/API_docs/methods/contacts_getBlocked.md | 2 +- docs/API_docs/methods/contacts_getContacts.md | 2 +- docs/API_docs/methods/contacts_getStatuses.md | 2 +- docs/API_docs/methods/contacts_getTopPeers.md | 2 +- docs/API_docs/methods/contacts_importCard.md | 2 +- docs/API_docs/methods/contacts_importContacts.md | 2 +- docs/API_docs/methods/contacts_resetTopPeerRating.md | 2 +- docs/API_docs/methods/contacts_resolveUsername.md | 2 +- docs/API_docs/methods/contacts_search.md | 2 +- docs/API_docs/methods/contacts_unblock.md | 2 +- docs/API_docs/methods/contest_saveDeveloperInfo.md | 2 +- docs/API_docs/methods/destroy_auth_key.md | 2 +- docs/API_docs/methods/destroy_session.md | 2 +- docs/API_docs/methods/get_future_salts.md | 2 +- docs/API_docs/methods/help_getAppChangelog.md | 2 +- docs/API_docs/methods/help_getAppUpdate.md | 2 +- docs/API_docs/methods/help_getCdnConfig.md | 2 +- docs/API_docs/methods/help_getConfig.md | 2 +- docs/API_docs/methods/help_getInviteText.md | 2 +- docs/API_docs/methods/help_getNearestDc.md | 2 +- docs/API_docs/methods/help_getSupport.md | 2 +- docs/API_docs/methods/help_getTermsOfService.md | 2 +- docs/API_docs/methods/help_saveAppLog.md | 2 +- docs/API_docs/methods/help_setBotUpdatesStatus.md | 2 +- docs/API_docs/methods/initConnection.md | 2 +- docs/API_docs/methods/invokeAfterMsg.md | 2 +- docs/API_docs/methods/invokeAfterMsgs.md | 2 +- docs/API_docs/methods/invokeWithLayer.md | 2 +- docs/API_docs/methods/invokeWithoutUpdates.md | 2 +- docs/API_docs/methods/messages_acceptEncryption.md | 2 +- docs/API_docs/methods/messages_addChatUser.md | 2 +- docs/API_docs/methods/messages_checkChatInvite.md | 2 +- docs/API_docs/methods/messages_clearRecentStickers.md | 2 +- docs/API_docs/methods/messages_createChat.md | 2 +- docs/API_docs/methods/messages_deleteChatUser.md | 2 +- docs/API_docs/methods/messages_deleteHistory.md | 2 +- docs/API_docs/methods/messages_deleteMessages.md | 2 +- docs/API_docs/methods/messages_discardEncryption.md | 2 +- docs/API_docs/methods/messages_editChatAdmin.md | 2 +- docs/API_docs/methods/messages_editChatPhoto.md | 2 +- docs/API_docs/methods/messages_editChatTitle.md | 2 +- docs/API_docs/methods/messages_editInlineBotMessage.md | 2 +- docs/API_docs/methods/messages_editMessage.md | 2 +- docs/API_docs/methods/messages_exportChatInvite.md | 2 +- docs/API_docs/methods/messages_forwardMessage.md | 2 +- docs/API_docs/methods/messages_forwardMessages.md | 2 +- docs/API_docs/methods/messages_getAllChats.md | 2 +- docs/API_docs/methods/messages_getAllDrafts.md | 2 +- docs/API_docs/methods/messages_getAllStickers.md | 2 +- docs/API_docs/methods/messages_getArchivedStickers.md | 2 +- docs/API_docs/methods/messages_getAttachedStickers.md | 2 +- docs/API_docs/methods/messages_getBotCallbackAnswer.md | 2 +- docs/API_docs/methods/messages_getChats.md | 2 +- docs/API_docs/methods/messages_getCommonChats.md | 2 +- docs/API_docs/methods/messages_getDhConfig.md | 2 +- docs/API_docs/methods/messages_getDialogs.md | 2 +- docs/API_docs/methods/messages_getDocumentByHash.md | 2 +- docs/API_docs/methods/messages_getFeaturedStickers.md | 2 +- docs/API_docs/methods/messages_getFullChat.md | 2 +- docs/API_docs/methods/messages_getGameHighScores.md | 2 +- docs/API_docs/methods/messages_getHistory.md | 2 +- docs/API_docs/methods/messages_getInlineBotResults.md | 2 +- docs/API_docs/methods/messages_getInlineGameHighScores.md | 2 +- docs/API_docs/methods/messages_getMaskStickers.md | 2 +- docs/API_docs/methods/messages_getMessageEditData.md | 2 +- docs/API_docs/methods/messages_getMessages.md | 2 +- docs/API_docs/methods/messages_getMessagesViews.md | 2 +- docs/API_docs/methods/messages_getPeerDialogs.md | 2 +- docs/API_docs/methods/messages_getPeerSettings.md | 2 +- docs/API_docs/methods/messages_getPinnedDialogs.md | 2 +- docs/API_docs/methods/messages_getRecentStickers.md | 2 +- docs/API_docs/methods/messages_getSavedGifs.md | 2 +- docs/API_docs/methods/messages_getStickerSet.md | 2 +- docs/API_docs/methods/messages_getWebPage.md | 2 +- docs/API_docs/methods/messages_getWebPagePreview.md | 2 +- docs/API_docs/methods/messages_hideReportSpam.md | 2 +- docs/API_docs/methods/messages_importChatInvite.md | 2 +- docs/API_docs/methods/messages_installStickerSet.md | 2 +- docs/API_docs/methods/messages_migrateChat.md | 2 +- docs/API_docs/methods/messages_readEncryptedHistory.md | 2 +- docs/API_docs/methods/messages_readFeaturedStickers.md | 2 +- docs/API_docs/methods/messages_readHistory.md | 2 +- docs/API_docs/methods/messages_readMessageContents.md | 2 +- docs/API_docs/methods/messages_receivedMessages.md | 2 +- docs/API_docs/methods/messages_receivedQueue.md | 2 +- docs/API_docs/methods/messages_reorderPinnedDialogs.md | 2 +- docs/API_docs/methods/messages_reorderStickerSets.md | 2 +- docs/API_docs/methods/messages_reportEncryptedSpam.md | 2 +- docs/API_docs/methods/messages_reportSpam.md | 2 +- docs/API_docs/methods/messages_requestEncryption.md | 2 +- docs/API_docs/methods/messages_saveDraft.md | 2 +- docs/API_docs/methods/messages_saveGif.md | 2 +- docs/API_docs/methods/messages_saveRecentSticker.md | 2 +- docs/API_docs/methods/messages_search.md | 2 +- docs/API_docs/methods/messages_searchGifs.md | 2 +- docs/API_docs/methods/messages_searchGlobal.md | 2 +- docs/API_docs/methods/messages_sendEncrypted.md | 2 +- docs/API_docs/methods/messages_sendEncryptedFile.md | 2 +- docs/API_docs/methods/messages_sendEncryptedService.md | 2 +- docs/API_docs/methods/messages_sendInlineBotResult.md | 2 +- docs/API_docs/methods/messages_sendMedia.md | 2 +- docs/API_docs/methods/messages_sendMessage.md | 2 +- docs/API_docs/methods/messages_setBotCallbackAnswer.md | 2 +- docs/API_docs/methods/messages_setBotPrecheckoutResults.md | 2 +- docs/API_docs/methods/messages_setBotShippingResults.md | 2 +- docs/API_docs/methods/messages_setEncryptedTyping.md | 2 +- docs/API_docs/methods/messages_setGameScore.md | 2 +- docs/API_docs/methods/messages_setInlineBotResults.md | 2 +- docs/API_docs/methods/messages_setInlineGameScore.md | 2 +- docs/API_docs/methods/messages_setTyping.md | 2 +- docs/API_docs/methods/messages_startBot.md | 2 +- docs/API_docs/methods/messages_toggleChatAdmins.md | 2 +- docs/API_docs/methods/messages_toggleDialogPin.md | 2 +- docs/API_docs/methods/messages_uninstallStickerSet.md | 2 +- docs/API_docs/methods/payments_clearSavedInfo.md | 2 +- docs/API_docs/methods/payments_getPaymentForm.md | 2 +- docs/API_docs/methods/payments_getPaymentReceipt.md | 2 +- docs/API_docs/methods/payments_getSavedInfo.md | 2 +- docs/API_docs/methods/payments_sendPaymentForm.md | 2 +- docs/API_docs/methods/payments_validateRequestedInfo.md | 2 +- docs/API_docs/methods/phone_acceptCall.md | 2 +- docs/API_docs/methods/phone_confirmCall.md | 2 +- docs/API_docs/methods/phone_discardCall.md | 2 +- docs/API_docs/methods/phone_getCallConfig.md | 2 +- docs/API_docs/methods/phone_receivedCall.md | 2 +- docs/API_docs/methods/phone_requestCall.md | 2 +- docs/API_docs/methods/phone_saveCallDebug.md | 2 +- docs/API_docs/methods/phone_setCallRating.md | 2 +- docs/API_docs/methods/photos_deletePhotos.md | 2 +- docs/API_docs/methods/photos_getUserPhotos.md | 2 +- docs/API_docs/methods/photos_updateProfilePhoto.md | 2 +- docs/API_docs/methods/photos_uploadProfilePhoto.md | 2 +- docs/API_docs/methods/ping.md | 2 +- docs/API_docs/methods/ping_delay_disconnect.md | 2 +- docs/API_docs/methods/req_DH_params.md | 2 +- docs/API_docs/methods/req_pq.md | 2 +- docs/API_docs/methods/rpc_drop_answer.md | 2 +- docs/API_docs/methods/set_client_DH_params.md | 2 +- docs/API_docs/methods/updates_getChannelDifference.md | 2 +- docs/API_docs/methods/updates_getDifference.md | 2 +- docs/API_docs/methods/updates_getState.md | 2 +- docs/API_docs/methods/upload_getCdnFile.md | 2 +- docs/API_docs/methods/upload_getFile.md | 2 +- docs/API_docs/methods/upload_getWebFile.md | 2 +- docs/API_docs/methods/upload_reuploadCdnFile.md | 2 +- docs/API_docs/methods/upload_saveBigFilePart.md | 2 +- docs/API_docs/methods/upload_saveFilePart.md | 2 +- docs/API_docs/methods/users_getFullUser.md | 2 +- docs/API_docs/methods/users_getUsers.md | 2 +- docs/MTProto_docs/methods/destroy_session.md | 2 +- docs/MTProto_docs/methods/get_future_salts.md | 2 +- docs/MTProto_docs/methods/http_wait.md | 2 +- docs/MTProto_docs/methods/ping.md | 2 +- docs/MTProto_docs/methods/ping_delay_disconnect.md | 2 +- docs/MTProto_docs/methods/req_DH_params.md | 2 +- docs/MTProto_docs/methods/req_pq.md | 2 +- docs/MTProto_docs/methods/rpc_drop_answer.md | 2 +- docs/MTProto_docs/methods/set_client_DH_params.md | 2 +- docs/TD_docs/methods/addChatMember.md | 2 +- docs/TD_docs/methods/addChatMembers.md | 2 +- docs/TD_docs/methods/addRecentSticker.md | 2 +- docs/TD_docs/methods/addRecentlyFoundChat.md | 2 +- docs/TD_docs/methods/addSavedAnimation.md | 2 +- docs/TD_docs/methods/answerCallbackQuery.md | 2 +- docs/TD_docs/methods/answerInlineQuery.md | 2 +- docs/TD_docs/methods/blockUser.md | 2 +- docs/TD_docs/methods/cancelDownloadFile.md | 2 +- docs/TD_docs/methods/changeAbout.md | 2 +- docs/TD_docs/methods/changeAccountTtl.md | 2 +- docs/TD_docs/methods/changeChannelAbout.md | 2 +- docs/TD_docs/methods/changeChannelUsername.md | 2 +- docs/TD_docs/methods/changeChatDraftMessage.md | 2 +- docs/TD_docs/methods/changeChatMemberStatus.md | 2 +- docs/TD_docs/methods/changeChatPhoto.md | 2 +- docs/TD_docs/methods/changeChatReportSpamState.md | 2 +- docs/TD_docs/methods/changeChatTitle.md | 2 +- docs/TD_docs/methods/changeName.md | 2 +- docs/TD_docs/methods/changePhoneNumber.md | 2 +- docs/TD_docs/methods/changeUsername.md | 2 +- docs/TD_docs/methods/checkAuthBotToken.md | 2 +- docs/TD_docs/methods/checkAuthCode.md | 2 +- docs/TD_docs/methods/checkAuthPassword.md | 2 +- docs/TD_docs/methods/checkChangePhoneNumberCode.md | 2 +- docs/TD_docs/methods/checkChatInviteLink.md | 2 +- docs/TD_docs/methods/clearRecentStickers.md | 2 +- docs/TD_docs/methods/closeChat.md | 2 +- docs/TD_docs/methods/closeSecretChat.md | 2 +- docs/TD_docs/methods/createChannelChat.md | 2 +- docs/TD_docs/methods/createGroupChat.md | 2 +- docs/TD_docs/methods/createNewChannelChat.md | 2 +- docs/TD_docs/methods/createNewGroupChat.md | 2 +- docs/TD_docs/methods/createNewSecretChat.md | 2 +- docs/TD_docs/methods/createPrivateChat.md | 2 +- docs/TD_docs/methods/createSecretChat.md | 2 +- docs/TD_docs/methods/deleteAccount.md | 2 +- docs/TD_docs/methods/deleteChannel.md | 2 +- docs/TD_docs/methods/deleteChatHistory.md | 2 +- docs/TD_docs/methods/deleteChatReplyMarkup.md | 2 +- docs/TD_docs/methods/deleteContacts.md | 2 +- docs/TD_docs/methods/deleteMessages.md | 2 +- docs/TD_docs/methods/deleteMessagesFromUser.md | 2 +- docs/TD_docs/methods/deleteProfilePhoto.md | 2 +- docs/TD_docs/methods/deleteRecentSticker.md | 2 +- docs/TD_docs/methods/deleteRecentlyFoundChat.md | 2 +- docs/TD_docs/methods/deleteRecentlyFoundChats.md | 2 +- docs/TD_docs/methods/deleteSavedAnimation.md | 2 +- docs/TD_docs/methods/downloadFile.md | 2 +- docs/TD_docs/methods/editInlineMessageCaption.md | 2 +- docs/TD_docs/methods/editInlineMessageReplyMarkup.md | 2 +- docs/TD_docs/methods/editInlineMessageText.md | 2 +- docs/TD_docs/methods/editMessageCaption.md | 2 +- docs/TD_docs/methods/editMessageReplyMarkup.md | 2 +- docs/TD_docs/methods/editMessageText.md | 2 +- docs/TD_docs/methods/exportChatInviteLink.md | 2 +- docs/TD_docs/methods/finishFileGeneration.md | 2 +- docs/TD_docs/methods/forwardMessages.md | 2 +- docs/TD_docs/methods/getAccountTtl.md | 2 +- docs/TD_docs/methods/getActiveSessions.md | 2 +- docs/TD_docs/methods/getArchivedStickerSets.md | 2 +- docs/TD_docs/methods/getAttachedStickerSets.md | 2 +- docs/TD_docs/methods/getAuthState.md | 2 +- docs/TD_docs/methods/getBlockedUsers.md | 2 +- docs/TD_docs/methods/getCallbackQueryAnswer.md | 2 +- docs/TD_docs/methods/getChannel.md | 2 +- docs/TD_docs/methods/getChannelFull.md | 2 +- docs/TD_docs/methods/getChannelMembers.md | 2 +- docs/TD_docs/methods/getChat.md | 2 +- docs/TD_docs/methods/getChatHistory.md | 2 +- docs/TD_docs/methods/getChatMember.md | 2 +- docs/TD_docs/methods/getChatReportSpamState.md | 2 +- docs/TD_docs/methods/getChats.md | 2 +- docs/TD_docs/methods/getCommonChats.md | 2 +- docs/TD_docs/methods/getCreatedPublicChannels.md | 2 +- docs/TD_docs/methods/getDeviceTokens.md | 2 +- docs/TD_docs/methods/getFile.md | 2 +- docs/TD_docs/methods/getFilePersistent.md | 2 +- docs/TD_docs/methods/getGameHighScores.md | 2 +- docs/TD_docs/methods/getGroup.md | 2 +- docs/TD_docs/methods/getGroupFull.md | 2 +- docs/TD_docs/methods/getInlineGameHighScores.md | 2 +- docs/TD_docs/methods/getInlineQueryResults.md | 2 +- docs/TD_docs/methods/getMe.md | 2 +- docs/TD_docs/methods/getMessage.md | 2 +- docs/TD_docs/methods/getMessages.md | 2 +- docs/TD_docs/methods/getNotificationSettings.md | 2 +- docs/TD_docs/methods/getOption.md | 2 +- docs/TD_docs/methods/getPasswordState.md | 2 +- docs/TD_docs/methods/getPrivacy.md | 2 +- docs/TD_docs/methods/getRecentInlineBots.md | 2 +- docs/TD_docs/methods/getRecentStickers.md | 2 +- docs/TD_docs/methods/getRecoveryEmail.md | 2 +- docs/TD_docs/methods/getSavedAnimations.md | 2 +- docs/TD_docs/methods/getSecretChat.md | 2 +- docs/TD_docs/methods/getStickerEmojis.md | 2 +- docs/TD_docs/methods/getStickerSet.md | 2 +- docs/TD_docs/methods/getStickerSets.md | 2 +- docs/TD_docs/methods/getStickers.md | 2 +- docs/TD_docs/methods/getSupportUser.md | 2 +- docs/TD_docs/methods/getTrendingStickerSets.md | 2 +- docs/TD_docs/methods/getUser.md | 2 +- docs/TD_docs/methods/getUserFull.md | 2 +- docs/TD_docs/methods/getUserProfilePhotos.md | 2 +- docs/TD_docs/methods/getWallpapers.md | 2 +- docs/TD_docs/methods/getWebPagePreview.md | 2 +- docs/TD_docs/methods/importChatInviteLink.md | 2 +- docs/TD_docs/methods/importContacts.md | 2 +- docs/TD_docs/methods/migrateGroupChatToChannelChat.md | 2 +- docs/TD_docs/methods/openChat.md | 2 +- docs/TD_docs/methods/openMessageContent.md | 2 +- docs/TD_docs/methods/pinChannelMessage.md | 2 +- docs/TD_docs/methods/recoverAuthPassword.md | 2 +- docs/TD_docs/methods/recoverPassword.md | 2 +- docs/TD_docs/methods/registerDevice.md | 2 +- docs/TD_docs/methods/reorderStickerSets.md | 2 +- docs/TD_docs/methods/reportChannelSpam.md | 2 +- docs/TD_docs/methods/requestAuthPasswordRecovery.md | 2 +- docs/TD_docs/methods/requestPasswordRecovery.md | 2 +- docs/TD_docs/methods/resendAuthCode.md | 2 +- docs/TD_docs/methods/resendChangePhoneNumberCode.md | 2 +- docs/TD_docs/methods/resetAllNotificationSettings.md | 2 +- docs/TD_docs/methods/resetAuth.md | 2 +- docs/TD_docs/methods/searchChatMessages.md | 2 +- docs/TD_docs/methods/searchChats.md | 2 +- docs/TD_docs/methods/searchContacts.md | 2 +- docs/TD_docs/methods/searchMessages.md | 2 +- docs/TD_docs/methods/searchPublicChat.md | 2 +- docs/TD_docs/methods/searchPublicChats.md | 2 +- docs/TD_docs/methods/searchStickerSet.md | 2 +- docs/TD_docs/methods/sendBotStartMessage.md | 2 +- docs/TD_docs/methods/sendChatAction.md | 2 +- docs/TD_docs/methods/sendChatScreenshotTakenNotification.md | 2 +- docs/TD_docs/methods/sendChatSetTtlMessage.md | 2 +- docs/TD_docs/methods/sendInlineQueryResultMessage.md | 2 +- docs/TD_docs/methods/sendMessage.md | 2 +- docs/TD_docs/methods/setAlarm.md | 2 +- docs/TD_docs/methods/setAuthPhoneNumber.md | 2 +- docs/TD_docs/methods/setBotUpdatesStatus.md | 2 +- docs/TD_docs/methods/setFileGenerationProgress.md | 2 +- docs/TD_docs/methods/setGameScore.md | 2 +- docs/TD_docs/methods/setInlineGameScore.md | 2 +- docs/TD_docs/methods/setNotificationSettings.md | 2 +- docs/TD_docs/methods/setOption.md | 2 +- docs/TD_docs/methods/setPassword.md | 2 +- docs/TD_docs/methods/setPrivacy.md | 2 +- docs/TD_docs/methods/setProfilePhoto.md | 2 +- docs/TD_docs/methods/setRecoveryEmail.md | 2 +- docs/TD_docs/methods/terminateAllOtherSessions.md | 2 +- docs/TD_docs/methods/terminateSession.md | 2 +- docs/TD_docs/methods/test_callBytes.md | 2 +- docs/TD_docs/methods/test_callEmpty.md | 2 +- docs/TD_docs/methods/test_callString.md | 2 +- docs/TD_docs/methods/test_callVectorInt.md | 2 +- docs/TD_docs/methods/test_callVectorIntObject.md | 2 +- docs/TD_docs/methods/test_callVectorString.md | 2 +- docs/TD_docs/methods/test_callVectorStringObject.md | 2 +- docs/TD_docs/methods/test_forceGetDifference.md | 2 +- docs/TD_docs/methods/test_squareInt.md | 2 +- docs/TD_docs/methods/test_testNet.md | 2 +- docs/TD_docs/methods/toggleChannelInvites.md | 2 +- docs/TD_docs/methods/toggleChannelSignMessages.md | 2 +- docs/TD_docs/methods/toggleGroupEditors.md | 2 +- docs/TD_docs/methods/unblockUser.md | 2 +- docs/TD_docs/methods/unpinChannelMessage.md | 2 +- docs/TD_docs/methods/updateStickerSet.md | 2 +- docs/TD_docs/methods/viewMessages.md | 2 +- docs/TD_docs/methods/viewTrendingStickerSets.md | 2 +- old_docs/API_docs_v18/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v18/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v18/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v18/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v18/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v18/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v18/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v18/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v18/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v18/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v18/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v18/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v18/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v18/methods/auth_logOut.md | 2 +- old_docs/API_docs_v18/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v18/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v18/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v18/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v18/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v18/methods/auth_signIn.md | 2 +- old_docs/API_docs_v18/methods/auth_signUp.md | 2 +- old_docs/API_docs_v18/methods/contacts_block.md | 2 +- old_docs/API_docs_v18/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v18/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v18/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v18/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v18/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v18/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v18/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v18/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v18/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v18/methods/contacts_search.md | 2 +- old_docs/API_docs_v18/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v18/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v18/methods/help_getConfig.md | 2 +- old_docs/API_docs_v18/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v18/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v18/methods/help_getSupport.md | 2 +- old_docs/API_docs_v18/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v18/methods/initConnection.md | 2 +- old_docs/API_docs_v18/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v18/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v18/methods/invokeWithLayer18.md | 2 +- old_docs/API_docs_v18/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v18/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v18/methods/messages_createChat.md | 2 +- old_docs/API_docs_v18/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v18/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v18/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v18/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v18/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v18/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v18/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v18/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v18/methods/messages_getChats.md | 2 +- old_docs/API_docs_v18/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v18/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v18/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v18/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v18/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v18/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v18/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v18/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v18/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v18/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v18/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v18/methods/messages_search.md | 2 +- old_docs/API_docs_v18/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v18/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v18/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v18/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v18/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v18/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v18/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v18/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v18/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v18/methods/updates_getState.md | 2 +- old_docs/API_docs_v18/methods/upload_getFile.md | 2 +- old_docs/API_docs_v18/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v18/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v18/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v18/methods/users_getUsers.md | 2 +- old_docs/API_docs_v23/methods/account_changePhone.md | 2 +- old_docs/API_docs_v23/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v23/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v23/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v23/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v23/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v23/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v23/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v23/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v23/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v23/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v23/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v23/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v23/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v23/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v23/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v23/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v23/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v23/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v23/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v23/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v23/methods/auth_logOut.md | 2 +- old_docs/API_docs_v23/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v23/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v23/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v23/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v23/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v23/methods/auth_signIn.md | 2 +- old_docs/API_docs_v23/methods/auth_signUp.md | 2 +- old_docs/API_docs_v23/methods/contacts_block.md | 2 +- old_docs/API_docs_v23/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v23/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v23/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v23/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v23/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v23/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v23/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v23/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v23/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v23/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v23/methods/contacts_search.md | 2 +- old_docs/API_docs_v23/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v23/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v23/methods/help_getConfig.md | 2 +- old_docs/API_docs_v23/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v23/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v23/methods/help_getSupport.md | 2 +- old_docs/API_docs_v23/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v23/methods/initConnection.md | 2 +- old_docs/API_docs_v23/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v23/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v23/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v23/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v23/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v23/methods/messages_createChat.md | 2 +- old_docs/API_docs_v23/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v23/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v23/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v23/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v23/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v23/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v23/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v23/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v23/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v23/methods/messages_getChats.md | 2 +- old_docs/API_docs_v23/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v23/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v23/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v23/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v23/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v23/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v23/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v23/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v23/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v23/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v23/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v23/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v23/methods/messages_search.md | 2 +- old_docs/API_docs_v23/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v23/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v23/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v23/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v23/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v23/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v23/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v23/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v23/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v23/methods/updates_getState.md | 2 +- old_docs/API_docs_v23/methods/upload_getFile.md | 2 +- old_docs/API_docs_v23/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v23/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v23/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v23/methods/users_getUsers.md | 2 +- old_docs/API_docs_v25/methods/account_changePhone.md | 2 +- old_docs/API_docs_v25/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v25/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v25/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v25/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v25/methods/account_getPassword.md | 2 +- old_docs/API_docs_v25/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v25/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v25/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v25/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v25/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v25/methods/account_setPassword.md | 2 +- old_docs/API_docs_v25/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v25/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v25/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v25/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v25/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v25/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v25/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v25/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v25/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v25/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v25/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v25/methods/auth_logOut.md | 2 +- old_docs/API_docs_v25/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v25/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v25/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v25/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v25/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v25/methods/auth_signIn.md | 2 +- old_docs/API_docs_v25/methods/auth_signUp.md | 2 +- old_docs/API_docs_v25/methods/contacts_block.md | 2 +- old_docs/API_docs_v25/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v25/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v25/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v25/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v25/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v25/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v25/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v25/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v25/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v25/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v25/methods/contacts_search.md | 2 +- old_docs/API_docs_v25/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v25/methods/geochats_checkin.md | 2 +- old_docs/API_docs_v25/methods/geochats_createGeoChat.md | 2 +- old_docs/API_docs_v25/methods/geochats_editChatPhoto.md | 2 +- old_docs/API_docs_v25/methods/geochats_editChatTitle.md | 2 +- old_docs/API_docs_v25/methods/geochats_getFullChat.md | 2 +- old_docs/API_docs_v25/methods/geochats_getHistory.md | 2 +- old_docs/API_docs_v25/methods/geochats_getLocated.md | 2 +- old_docs/API_docs_v25/methods/geochats_getRecents.md | 2 +- old_docs/API_docs_v25/methods/geochats_search.md | 2 +- old_docs/API_docs_v25/methods/geochats_sendMedia.md | 2 +- old_docs/API_docs_v25/methods/geochats_sendMessage.md | 2 +- old_docs/API_docs_v25/methods/geochats_setTyping.md | 2 +- old_docs/API_docs_v25/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v25/methods/help_getConfig.md | 2 +- old_docs/API_docs_v25/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v25/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v25/methods/help_getSupport.md | 2 +- old_docs/API_docs_v25/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v25/methods/initConnection.md | 2 +- old_docs/API_docs_v25/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v25/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v25/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v25/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v25/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v25/methods/messages_createChat.md | 2 +- old_docs/API_docs_v25/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v25/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v25/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v25/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v25/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v25/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v25/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v25/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v25/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v25/methods/messages_getChats.md | 2 +- old_docs/API_docs_v25/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v25/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v25/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v25/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v25/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v25/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v25/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v25/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v25/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v25/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v25/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v25/methods/messages_search.md | 2 +- old_docs/API_docs_v25/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v25/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v25/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v25/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v25/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v25/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v25/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v25/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v25/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v25/methods/updates_getState.md | 2 +- old_docs/API_docs_v25/methods/upload_getFile.md | 2 +- old_docs/API_docs_v25/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v25/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v25/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v25/methods/users_getUsers.md | 2 +- old_docs/API_docs_v27/methods/account_changePhone.md | 2 +- old_docs/API_docs_v27/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v27/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v27/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v27/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v27/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v27/methods/account_getPassword.md | 2 +- old_docs/API_docs_v27/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v27/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v27/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v27/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v27/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v27/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v27/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v27/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v27/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v27/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v27/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v27/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v27/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v27/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v27/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v27/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v27/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v27/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v27/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v27/methods/auth_logOut.md | 2 +- old_docs/API_docs_v27/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v27/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v27/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v27/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v27/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v27/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v27/methods/auth_signIn.md | 2 +- old_docs/API_docs_v27/methods/auth_signUp.md | 2 +- old_docs/API_docs_v27/methods/contacts_block.md | 2 +- old_docs/API_docs_v27/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v27/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v27/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v27/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v27/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v27/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v27/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v27/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v27/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v27/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v27/methods/contacts_search.md | 2 +- old_docs/API_docs_v27/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v27/methods/geochats_checkin.md | 2 +- old_docs/API_docs_v27/methods/geochats_createGeoChat.md | 2 +- old_docs/API_docs_v27/methods/geochats_editChatPhoto.md | 2 +- old_docs/API_docs_v27/methods/geochats_editChatTitle.md | 2 +- old_docs/API_docs_v27/methods/geochats_getFullChat.md | 2 +- old_docs/API_docs_v27/methods/geochats_getHistory.md | 2 +- old_docs/API_docs_v27/methods/geochats_getLocated.md | 2 +- old_docs/API_docs_v27/methods/geochats_getRecents.md | 2 +- old_docs/API_docs_v27/methods/geochats_search.md | 2 +- old_docs/API_docs_v27/methods/geochats_sendMedia.md | 2 +- old_docs/API_docs_v27/methods/geochats_sendMessage.md | 2 +- old_docs/API_docs_v27/methods/geochats_setTyping.md | 2 +- old_docs/API_docs_v27/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v27/methods/help_getConfig.md | 2 +- old_docs/API_docs_v27/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v27/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v27/methods/help_getSupport.md | 2 +- old_docs/API_docs_v27/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v27/methods/initConnection.md | 2 +- old_docs/API_docs_v27/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v27/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v27/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v27/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v27/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v27/methods/messages_createChat.md | 2 +- old_docs/API_docs_v27/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v27/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v27/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v27/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v27/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v27/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v27/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v27/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v27/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v27/methods/messages_getChats.md | 2 +- old_docs/API_docs_v27/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v27/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v27/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v27/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v27/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v27/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v27/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v27/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v27/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v27/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v27/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v27/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v27/methods/messages_search.md | 2 +- old_docs/API_docs_v27/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v27/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v27/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v27/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v27/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v27/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v27/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v27/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v27/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v27/methods/updates_getState.md | 2 +- old_docs/API_docs_v27/methods/upload_getFile.md | 2 +- old_docs/API_docs_v27/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v27/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v27/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v27/methods/users_getUsers.md | 2 +- old_docs/API_docs_v33/methods/account_changePhone.md | 2 +- old_docs/API_docs_v33/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v33/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v33/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v33/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v33/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v33/methods/account_getPassword.md | 2 +- old_docs/API_docs_v33/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v33/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v33/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v33/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v33/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v33/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v33/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v33/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v33/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v33/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v33/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v33/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v33/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v33/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v33/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v33/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v33/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v33/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v33/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v33/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v33/methods/auth_logOut.md | 2 +- old_docs/API_docs_v33/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v33/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v33/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v33/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v33/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v33/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v33/methods/auth_signIn.md | 2 +- old_docs/API_docs_v33/methods/auth_signUp.md | 2 +- old_docs/API_docs_v33/methods/contacts_block.md | 2 +- old_docs/API_docs_v33/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v33/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v33/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v33/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v33/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v33/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v33/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v33/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v33/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v33/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v33/methods/contacts_search.md | 2 +- old_docs/API_docs_v33/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v33/methods/geochats_checkin.md | 2 +- old_docs/API_docs_v33/methods/geochats_createGeoChat.md | 2 +- old_docs/API_docs_v33/methods/geochats_editChatPhoto.md | 2 +- old_docs/API_docs_v33/methods/geochats_editChatTitle.md | 2 +- old_docs/API_docs_v33/methods/geochats_getFullChat.md | 2 +- old_docs/API_docs_v33/methods/geochats_getHistory.md | 2 +- old_docs/API_docs_v33/methods/geochats_getLocated.md | 2 +- old_docs/API_docs_v33/methods/geochats_getRecents.md | 2 +- old_docs/API_docs_v33/methods/geochats_search.md | 2 +- old_docs/API_docs_v33/methods/geochats_sendMedia.md | 2 +- old_docs/API_docs_v33/methods/geochats_sendMessage.md | 2 +- old_docs/API_docs_v33/methods/geochats_setTyping.md | 2 +- old_docs/API_docs_v33/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v33/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v33/methods/help_getConfig.md | 2 +- old_docs/API_docs_v33/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v33/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v33/methods/help_getSupport.md | 2 +- old_docs/API_docs_v33/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v33/methods/initConnection.md | 2 +- old_docs/API_docs_v33/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v33/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v33/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v33/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v33/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v33/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v33/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v33/methods/messages_createChat.md | 2 +- old_docs/API_docs_v33/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v33/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v33/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v33/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v33/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v33/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v33/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v33/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v33/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v33/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v33/methods/messages_getChats.md | 2 +- old_docs/API_docs_v33/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v33/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v33/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v33/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v33/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v33/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v33/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v33/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v33/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v33/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v33/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v33/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v33/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v33/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v33/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v33/methods/messages_search.md | 2 +- old_docs/API_docs_v33/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v33/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v33/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v33/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v33/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v33/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v33/methods/messages_startBot.md | 2 +- old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v33/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v33/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v33/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v33/methods/updates_getState.md | 2 +- old_docs/API_docs_v33/methods/upload_getFile.md | 2 +- old_docs/API_docs_v33/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v33/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v33/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v33/methods/users_getUsers.md | 2 +- old_docs/API_docs_v38/methods/account_changePhone.md | 2 +- old_docs/API_docs_v38/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v38/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v38/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v38/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v38/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v38/methods/account_getPassword.md | 2 +- old_docs/API_docs_v38/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v38/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v38/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v38/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v38/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v38/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v38/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v38/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v38/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v38/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v38/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v38/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v38/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v38/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v38/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v38/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v38/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v38/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v38/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v38/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v38/methods/auth_logOut.md | 2 +- old_docs/API_docs_v38/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v38/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v38/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v38/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v38/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v38/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v38/methods/auth_signIn.md | 2 +- old_docs/API_docs_v38/methods/auth_signUp.md | 2 +- old_docs/API_docs_v38/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v38/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v38/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v38/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v38/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v38/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v38/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v38/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v38/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v38/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v38/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v38/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v38/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v38/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v38/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v38/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v38/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v38/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v38/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v38/methods/contacts_block.md | 2 +- old_docs/API_docs_v38/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v38/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v38/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v38/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v38/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v38/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v38/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v38/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v38/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v38/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v38/methods/contacts_search.md | 2 +- old_docs/API_docs_v38/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v38/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v38/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v38/methods/help_getConfig.md | 2 +- old_docs/API_docs_v38/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v38/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v38/methods/help_getSupport.md | 2 +- old_docs/API_docs_v38/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v38/methods/initConnection.md | 2 +- old_docs/API_docs_v38/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v38/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v38/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v38/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v38/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v38/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v38/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v38/methods/messages_createChat.md | 2 +- old_docs/API_docs_v38/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v38/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v38/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v38/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v38/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v38/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v38/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v38/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v38/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v38/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v38/methods/messages_getChats.md | 2 +- old_docs/API_docs_v38/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v38/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v38/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v38/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v38/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v38/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v38/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v38/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v38/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v38/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v38/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v38/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v38/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v38/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v38/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v38/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v38/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v38/methods/messages_search.md | 2 +- old_docs/API_docs_v38/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v38/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v38/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v38/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v38/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v38/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v38/methods/messages_startBot.md | 2 +- old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v38/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v38/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v38/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v38/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v38/methods/updates_getState.md | 2 +- old_docs/API_docs_v38/methods/upload_getFile.md | 2 +- old_docs/API_docs_v38/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v38/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v38/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v38/methods/users_getUsers.md | 2 +- old_docs/API_docs_v40/methods/account_changePhone.md | 2 +- old_docs/API_docs_v40/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v40/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v40/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v40/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v40/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v40/methods/account_getPassword.md | 2 +- old_docs/API_docs_v40/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v40/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v40/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v40/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v40/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v40/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v40/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v40/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v40/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v40/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v40/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v40/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v40/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v40/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v40/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v40/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v40/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v40/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v40/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v40/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v40/methods/auth_logOut.md | 2 +- old_docs/API_docs_v40/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v40/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v40/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v40/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v40/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v40/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v40/methods/auth_signIn.md | 2 +- old_docs/API_docs_v40/methods/auth_signUp.md | 2 +- old_docs/API_docs_v40/methods/contacts_block.md | 2 +- old_docs/API_docs_v40/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v40/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v40/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v40/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v40/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v40/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v40/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v40/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v40/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v40/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v40/methods/contacts_search.md | 2 +- old_docs/API_docs_v40/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v40/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v40/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v40/methods/help_getConfig.md | 2 +- old_docs/API_docs_v40/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v40/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v40/methods/help_getSupport.md | 2 +- old_docs/API_docs_v40/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v40/methods/initConnection.md | 2 +- old_docs/API_docs_v40/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v40/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v40/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v40/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v40/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v40/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v40/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v40/methods/messages_createChannel.md | 2 +- old_docs/API_docs_v40/methods/messages_createChat.md | 2 +- old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md | 2 +- old_docs/API_docs_v40/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v40/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v40/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v40/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v40/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v40/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v40/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v40/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v40/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v40/methods/messages_getChannelDialogs.md | 2 +- old_docs/API_docs_v40/methods/messages_getChats.md | 2 +- old_docs/API_docs_v40/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v40/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v40/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v40/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_getImportantHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v40/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v40/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v40/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v40/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v40/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v40/methods/messages_readChannelHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v40/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v40/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v40/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v40/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v40/methods/messages_search.md | 2 +- old_docs/API_docs_v40/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v40/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v40/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v40/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v40/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v40/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v40/methods/messages_startBot.md | 2 +- old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v40/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v40/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v40/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v40/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v40/methods/updates_getState.md | 2 +- old_docs/API_docs_v40/methods/upload_getFile.md | 2 +- old_docs/API_docs_v40/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v40/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v40/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v40/methods/users_getUsers.md | 2 +- old_docs/API_docs_v41/methods/account_changePhone.md | 2 +- old_docs/API_docs_v41/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v41/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v41/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v41/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v41/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v41/methods/account_getPassword.md | 2 +- old_docs/API_docs_v41/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v41/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v41/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v41/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v41/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v41/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v41/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v41/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v41/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v41/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v41/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v41/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v41/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v41/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v41/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v41/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v41/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v41/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v41/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v41/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v41/methods/auth_logOut.md | 2 +- old_docs/API_docs_v41/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v41/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v41/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v41/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v41/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v41/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v41/methods/auth_signIn.md | 2 +- old_docs/API_docs_v41/methods/auth_signUp.md | 2 +- old_docs/API_docs_v41/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v41/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v41/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v41/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v41/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v41/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v41/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v41/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v41/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v41/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v41/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v41/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v41/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v41/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v41/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v41/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v41/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v41/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v41/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v41/methods/contacts_block.md | 2 +- old_docs/API_docs_v41/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v41/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v41/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v41/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v41/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v41/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v41/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v41/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v41/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v41/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v41/methods/contacts_search.md | 2 +- old_docs/API_docs_v41/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v41/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v41/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v41/methods/help_getConfig.md | 2 +- old_docs/API_docs_v41/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v41/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v41/methods/help_getSupport.md | 2 +- old_docs/API_docs_v41/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v41/methods/initConnection.md | 2 +- old_docs/API_docs_v41/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v41/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v41/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v41/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v41/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v41/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v41/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v41/methods/messages_createChat.md | 2 +- old_docs/API_docs_v41/methods/messages_deactivateChat.md | 2 +- old_docs/API_docs_v41/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v41/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v41/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v41/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v41/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v41/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v41/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v41/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v41/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v41/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v41/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v41/methods/messages_getChats.md | 2 +- old_docs/API_docs_v41/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v41/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v41/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v41/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v41/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v41/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v41/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v41/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v41/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v41/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v41/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v41/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v41/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v41/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v41/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v41/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v41/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v41/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v41/methods/messages_search.md | 2 +- old_docs/API_docs_v41/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v41/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v41/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v41/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v41/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v41/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v41/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v41/methods/messages_startBot.md | 2 +- old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v41/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v41/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v41/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v41/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v41/methods/updates_getState.md | 2 +- old_docs/API_docs_v41/methods/upload_getFile.md | 2 +- old_docs/API_docs_v41/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v41/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v41/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v41/methods/users_getUsers.md | 2 +- old_docs/API_docs_v42/methods/account_changePhone.md | 2 +- old_docs/API_docs_v42/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v42/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v42/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v42/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v42/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v42/methods/account_getPassword.md | 2 +- old_docs/API_docs_v42/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v42/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v42/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v42/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v42/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v42/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v42/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v42/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v42/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v42/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v42/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v42/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v42/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v42/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v42/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v42/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v42/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v42/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v42/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v42/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v42/methods/auth_logOut.md | 2 +- old_docs/API_docs_v42/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v42/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v42/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v42/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v42/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v42/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v42/methods/auth_signIn.md | 2 +- old_docs/API_docs_v42/methods/auth_signUp.md | 2 +- old_docs/API_docs_v42/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v42/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v42/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v42/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v42/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v42/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v42/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v42/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v42/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v42/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v42/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v42/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v42/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v42/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v42/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v42/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v42/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v42/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v42/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v42/methods/contacts_block.md | 2 +- old_docs/API_docs_v42/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v42/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v42/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v42/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v42/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v42/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v42/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v42/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v42/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v42/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v42/methods/contacts_search.md | 2 +- old_docs/API_docs_v42/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v42/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v42/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v42/methods/help_getConfig.md | 2 +- old_docs/API_docs_v42/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v42/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v42/methods/help_getSupport.md | 2 +- old_docs/API_docs_v42/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v42/methods/initConnection.md | 2 +- old_docs/API_docs_v42/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v42/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v42/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v42/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v42/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v42/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v42/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v42/methods/messages_createChat.md | 2 +- old_docs/API_docs_v42/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v42/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v42/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v42/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v42/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v42/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v42/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v42/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v42/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v42/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v42/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v42/methods/messages_getChats.md | 2 +- old_docs/API_docs_v42/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v42/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v42/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v42/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v42/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v42/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v42/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v42/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v42/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v42/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v42/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v42/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v42/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v42/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v42/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v42/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v42/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v42/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v42/methods/messages_search.md | 2 +- old_docs/API_docs_v42/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v42/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v42/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v42/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v42/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v42/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v42/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v42/methods/messages_startBot.md | 2 +- old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v42/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v42/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v42/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v42/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v42/methods/updates_getState.md | 2 +- old_docs/API_docs_v42/methods/upload_getFile.md | 2 +- old_docs/API_docs_v42/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v42/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v42/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v42/methods/users_getUsers.md | 2 +- old_docs/API_docs_v44/methods/account_changePhone.md | 2 +- old_docs/API_docs_v44/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v44/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v44/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v44/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v44/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v44/methods/account_getPassword.md | 2 +- old_docs/API_docs_v44/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v44/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v44/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v44/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v44/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v44/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v44/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v44/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v44/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v44/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v44/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v44/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v44/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v44/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v44/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v44/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v44/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v44/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v44/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v44/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v44/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v44/methods/auth_logOut.md | 2 +- old_docs/API_docs_v44/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v44/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v44/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v44/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v44/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v44/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v44/methods/auth_signIn.md | 2 +- old_docs/API_docs_v44/methods/auth_signUp.md | 2 +- old_docs/API_docs_v44/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v44/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v44/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v44/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v44/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v44/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v44/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v44/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v44/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v44/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v44/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v44/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v44/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v44/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v44/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v44/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v44/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v44/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v44/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v44/methods/contacts_block.md | 2 +- old_docs/API_docs_v44/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v44/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v44/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v44/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v44/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v44/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v44/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v44/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v44/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v44/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v44/methods/contacts_search.md | 2 +- old_docs/API_docs_v44/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v44/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v44/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v44/methods/help_getConfig.md | 2 +- old_docs/API_docs_v44/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v44/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v44/methods/help_getSupport.md | 2 +- old_docs/API_docs_v44/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v44/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v44/methods/initConnection.md | 2 +- old_docs/API_docs_v44/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v44/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v44/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v44/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v44/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v44/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v44/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v44/methods/messages_createChat.md | 2 +- old_docs/API_docs_v44/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v44/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v44/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v44/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v44/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v44/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v44/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v44/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v44/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v44/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v44/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v44/methods/messages_getChats.md | 2 +- old_docs/API_docs_v44/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v44/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v44/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v44/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v44/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v44/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v44/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v44/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v44/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v44/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v44/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v44/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v44/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v44/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v44/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v44/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v44/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v44/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v44/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v44/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v44/methods/messages_search.md | 2 +- old_docs/API_docs_v44/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v44/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v44/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v44/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v44/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v44/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v44/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v44/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v44/methods/messages_startBot.md | 2 +- old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v44/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v44/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v44/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v44/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v44/methods/updates_getState.md | 2 +- old_docs/API_docs_v44/methods/upload_getFile.md | 2 +- old_docs/API_docs_v44/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v44/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v44/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v44/methods/users_getUsers.md | 2 +- old_docs/API_docs_v45/methods/account_changePhone.md | 2 +- old_docs/API_docs_v45/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v45/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v45/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v45/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v45/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v45/methods/account_getPassword.md | 2 +- old_docs/API_docs_v45/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v45/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v45/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v45/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v45/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v45/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v45/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v45/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v45/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v45/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v45/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v45/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v45/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v45/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v45/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v45/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v45/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v45/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v45/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v45/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v45/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v45/methods/auth_logOut.md | 2 +- old_docs/API_docs_v45/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v45/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v45/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v45/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v45/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v45/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v45/methods/auth_signIn.md | 2 +- old_docs/API_docs_v45/methods/auth_signUp.md | 2 +- old_docs/API_docs_v45/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v45/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v45/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v45/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v45/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v45/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v45/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v45/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v45/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v45/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v45/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v45/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v45/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v45/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v45/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v45/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v45/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v45/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v45/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v45/methods/contacts_block.md | 2 +- old_docs/API_docs_v45/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v45/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v45/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v45/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v45/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v45/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v45/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v45/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v45/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v45/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v45/methods/contacts_search.md | 2 +- old_docs/API_docs_v45/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v45/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v45/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v45/methods/help_getConfig.md | 2 +- old_docs/API_docs_v45/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v45/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v45/methods/help_getSupport.md | 2 +- old_docs/API_docs_v45/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v45/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v45/methods/initConnection.md | 2 +- old_docs/API_docs_v45/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v45/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v45/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v45/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v45/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v45/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v45/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v45/methods/messages_createChat.md | 2 +- old_docs/API_docs_v45/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v45/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v45/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v45/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v45/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v45/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v45/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v45/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v45/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v45/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v45/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v45/methods/messages_getChats.md | 2 +- old_docs/API_docs_v45/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v45/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v45/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v45/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v45/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v45/methods/messages_getInlineBotResults.md | 2 +- old_docs/API_docs_v45/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v45/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v45/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v45/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v45/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v45/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v45/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v45/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v45/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v45/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v45/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v45/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v45/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v45/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v45/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v45/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v45/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v45/methods/messages_search.md | 2 +- old_docs/API_docs_v45/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v45/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v45/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v45/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v45/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v45/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v45/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v45/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v45/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v45/methods/messages_startBot.md | 2 +- old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v45/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v45/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v45/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v45/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v45/methods/updates_getState.md | 2 +- old_docs/API_docs_v45/methods/upload_getFile.md | 2 +- old_docs/API_docs_v45/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v45/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v45/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v45/methods/users_getUsers.md | 2 +- old_docs/API_docs_v46/methods/account_changePhone.md | 2 +- old_docs/API_docs_v46/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v46/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v46/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v46/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v46/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v46/methods/account_getPassword.md | 2 +- old_docs/API_docs_v46/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v46/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v46/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v46/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v46/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v46/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v46/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v46/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v46/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v46/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v46/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v46/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v46/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v46/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v46/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v46/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v46/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v46/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v46/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v46/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v46/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v46/methods/auth_logOut.md | 2 +- old_docs/API_docs_v46/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v46/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v46/methods/auth_sendCall.md | 2 +- old_docs/API_docs_v46/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v46/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v46/methods/auth_sendSms.md | 2 +- old_docs/API_docs_v46/methods/auth_signIn.md | 2 +- old_docs/API_docs_v46/methods/auth_signUp.md | 2 +- old_docs/API_docs_v46/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v46/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v46/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v46/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v46/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v46/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v46/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v46/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v46/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v46/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v46/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v46/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v46/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v46/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v46/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v46/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v46/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v46/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v46/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v46/methods/contacts_block.md | 2 +- old_docs/API_docs_v46/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v46/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v46/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v46/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v46/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v46/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v46/methods/contacts_getSuggested.md | 2 +- old_docs/API_docs_v46/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v46/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v46/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v46/methods/contacts_search.md | 2 +- old_docs/API_docs_v46/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v46/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v46/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v46/methods/help_getConfig.md | 2 +- old_docs/API_docs_v46/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v46/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v46/methods/help_getSupport.md | 2 +- old_docs/API_docs_v46/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v46/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v46/methods/initConnection.md | 2 +- old_docs/API_docs_v46/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v46/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v46/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v46/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v46/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v46/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v46/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v46/methods/messages_createChat.md | 2 +- old_docs/API_docs_v46/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v46/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v46/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v46/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v46/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v46/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v46/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v46/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v46/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v46/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v46/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v46/methods/messages_getChats.md | 2 +- old_docs/API_docs_v46/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v46/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v46/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v46/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v46/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v46/methods/messages_getInlineBotResults.md | 2 +- old_docs/API_docs_v46/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v46/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v46/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v46/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v46/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v46/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v46/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v46/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v46/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v46/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v46/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v46/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v46/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v46/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v46/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v46/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v46/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v46/methods/messages_search.md | 2 +- old_docs/API_docs_v46/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v46/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v46/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v46/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v46/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v46/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v46/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v46/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v46/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v46/methods/messages_startBot.md | 2 +- old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v46/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v46/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v46/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v46/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v46/methods/updates_getState.md | 2 +- old_docs/API_docs_v46/methods/upload_getFile.md | 2 +- old_docs/API_docs_v46/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v46/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v46/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v46/methods/users_getUsers.md | 2 +- old_docs/API_docs_v51/methods/account_changePhone.md | 2 +- old_docs/API_docs_v51/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v51/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v51/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v51/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v51/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v51/methods/account_getPassword.md | 2 +- old_docs/API_docs_v51/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v51/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v51/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v51/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v51/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v51/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v51/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v51/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v51/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v51/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v51/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v51/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v51/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v51/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v51/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v51/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v51/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v51/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v51/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v51/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v51/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v51/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v51/methods/auth_logOut.md | 2 +- old_docs/API_docs_v51/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v51/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v51/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v51/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v51/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v51/methods/auth_signIn.md | 2 +- old_docs/API_docs_v51/methods/auth_signUp.md | 2 +- old_docs/API_docs_v51/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v51/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v51/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v51/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v51/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v51/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v51/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v51/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v51/methods/channels_exportMessageLink.md | 2 +- old_docs/API_docs_v51/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v51/methods/channels_getDialogs.md | 2 +- old_docs/API_docs_v51/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_getImportantHistory.md | 2 +- old_docs/API_docs_v51/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v51/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v51/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v51/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v51/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v51/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v51/methods/channels_toggleComments.md | 2 +- old_docs/API_docs_v51/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v51/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v51/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v51/methods/contacts_block.md | 2 +- old_docs/API_docs_v51/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v51/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v51/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v51/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v51/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v51/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v51/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v51/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v51/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v51/methods/contacts_search.md | 2 +- old_docs/API_docs_v51/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v51/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v51/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v51/methods/help_getConfig.md | 2 +- old_docs/API_docs_v51/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v51/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v51/methods/help_getSupport.md | 2 +- old_docs/API_docs_v51/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v51/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v51/methods/initConnection.md | 2 +- old_docs/API_docs_v51/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v51/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v51/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v51/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v51/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v51/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v51/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v51/methods/messages_createChat.md | 2 +- old_docs/API_docs_v51/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v51/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v51/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v51/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v51/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v51/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v51/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v51/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v51/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v51/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v51/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v51/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v51/methods/messages_getChats.md | 2 +- old_docs/API_docs_v51/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v51/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v51/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v51/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v51/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v51/methods/messages_getInlineBotResults.md | 2 +- old_docs/API_docs_v51/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v51/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v51/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v51/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v51/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v51/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v51/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v51/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v51/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v51/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v51/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v51/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v51/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v51/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v51/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v51/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v51/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v51/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v51/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v51/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v51/methods/messages_search.md | 2 +- old_docs/API_docs_v51/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v51/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v51/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v51/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v51/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v51/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v51/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md | 2 +- old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v51/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v51/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v51/methods/messages_startBot.md | 2 +- old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v51/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v51/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v51/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v51/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v51/methods/updates_getState.md | 2 +- old_docs/API_docs_v51/methods/upload_getFile.md | 2 +- old_docs/API_docs_v51/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v51/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v51/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v51/methods/users_getUsers.md | 2 +- old_docs/API_docs_v53/methods/account_changePhone.md | 2 +- old_docs/API_docs_v53/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v53/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v53/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v53/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v53/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v53/methods/account_getPassword.md | 2 +- old_docs/API_docs_v53/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v53/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v53/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v53/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v53/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v53/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v53/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v53/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v53/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v53/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v53/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v53/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v53/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v53/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v53/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v53/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v53/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v53/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v53/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v53/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v53/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v53/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v53/methods/auth_logOut.md | 2 +- old_docs/API_docs_v53/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v53/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v53/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v53/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v53/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v53/methods/auth_signIn.md | 2 +- old_docs/API_docs_v53/methods/auth_signUp.md | 2 +- old_docs/API_docs_v53/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v53/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v53/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v53/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v53/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v53/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v53/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v53/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v53/methods/channels_exportMessageLink.md | 2 +- old_docs/API_docs_v53/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v53/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v53/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v53/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v53/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v53/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v53/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v53/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v53/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v53/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v53/methods/contacts_block.md | 2 +- old_docs/API_docs_v53/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v53/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v53/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v53/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v53/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v53/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v53/methods/contacts_getTopPeers.md | 2 +- old_docs/API_docs_v53/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v53/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md | 2 +- old_docs/API_docs_v53/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v53/methods/contacts_search.md | 2 +- old_docs/API_docs_v53/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v53/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v53/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v53/methods/help_getConfig.md | 2 +- old_docs/API_docs_v53/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v53/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v53/methods/help_getSupport.md | 2 +- old_docs/API_docs_v53/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v53/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v53/methods/initConnection.md | 2 +- old_docs/API_docs_v53/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v53/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v53/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v53/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v53/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v53/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v53/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v53/methods/messages_createChat.md | 2 +- old_docs/API_docs_v53/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v53/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v53/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v53/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v53/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v53/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v53/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v53/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v53/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v53/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v53/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v53/methods/messages_getAllDrafts.md | 2 +- old_docs/API_docs_v53/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v53/methods/messages_getChats.md | 2 +- old_docs/API_docs_v53/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v53/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v53/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v53/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v53/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v53/methods/messages_getInlineBotResults.md | 2 +- old_docs/API_docs_v53/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v53/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v53/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v53/methods/messages_getPeerDialogs.md | 2 +- old_docs/API_docs_v53/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v53/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v53/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v53/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v53/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v53/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v53/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v53/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v53/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v53/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v53/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v53/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v53/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v53/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v53/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v53/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v53/methods/messages_saveDraft.md | 2 +- old_docs/API_docs_v53/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v53/methods/messages_search.md | 2 +- old_docs/API_docs_v53/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v53/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v53/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v53/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v53/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v53/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v53/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md | 2 +- old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v53/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v53/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v53/methods/messages_startBot.md | 2 +- old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v53/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v53/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v53/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v53/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v53/methods/updates_getState.md | 2 +- old_docs/API_docs_v53/methods/upload_getFile.md | 2 +- old_docs/API_docs_v53/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v53/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v53/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v53/methods/users_getUsers.md | 2 +- old_docs/API_docs_v55/methods/account_changePhone.md | 2 +- old_docs/API_docs_v55/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v55/methods/account_confirmPhone.md | 2 +- old_docs/API_docs_v55/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v55/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v55/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v55/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v55/methods/account_getPassword.md | 2 +- old_docs/API_docs_v55/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v55/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v55/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v55/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v55/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v55/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v55/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md | 2 +- old_docs/API_docs_v55/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v55/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v55/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v55/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v55/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v55/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v55/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v55/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v55/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v55/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v55/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v55/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v55/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v55/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v55/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v55/methods/auth_logOut.md | 2 +- old_docs/API_docs_v55/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v55/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v55/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v55/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v55/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v55/methods/auth_signIn.md | 2 +- old_docs/API_docs_v55/methods/auth_signUp.md | 2 +- old_docs/API_docs_v55/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v55/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v55/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v55/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v55/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v55/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v55/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v55/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v55/methods/channels_exportMessageLink.md | 2 +- old_docs/API_docs_v55/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v55/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v55/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v55/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v55/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v55/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v55/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v55/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v55/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v55/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v55/methods/contacts_block.md | 2 +- old_docs/API_docs_v55/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v55/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v55/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v55/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v55/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v55/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v55/methods/contacts_getTopPeers.md | 2 +- old_docs/API_docs_v55/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v55/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md | 2 +- old_docs/API_docs_v55/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v55/methods/contacts_search.md | 2 +- old_docs/API_docs_v55/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v55/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v55/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v55/methods/help_getConfig.md | 2 +- old_docs/API_docs_v55/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v55/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v55/methods/help_getSupport.md | 2 +- old_docs/API_docs_v55/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v55/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v55/methods/initConnection.md | 2 +- old_docs/API_docs_v55/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v55/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v55/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v55/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v55/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v55/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v55/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v55/methods/messages_clearRecentStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_createChat.md | 2 +- old_docs/API_docs_v55/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v55/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v55/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v55/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v55/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v55/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v55/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v55/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v55/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v55/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v55/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v55/methods/messages_getAllDrafts.md | 2 +- old_docs/API_docs_v55/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getArchivedStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v55/methods/messages_getChats.md | 2 +- old_docs/API_docs_v55/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v55/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v55/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v55/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v55/methods/messages_getInlineBotResults.md | 2 +- old_docs/API_docs_v55/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v55/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v55/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v55/methods/messages_getPeerDialogs.md | 2 +- old_docs/API_docs_v55/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v55/methods/messages_getRecentStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v55/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v55/methods/messages_getStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getUnusedStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v55/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v55/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v55/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v55/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md | 2 +- old_docs/API_docs_v55/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v55/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v55/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v55/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v55/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v55/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v55/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v55/methods/messages_saveDraft.md | 2 +- old_docs/API_docs_v55/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v55/methods/messages_saveRecentSticker.md | 2 +- old_docs/API_docs_v55/methods/messages_search.md | 2 +- old_docs/API_docs_v55/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v55/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v55/methods/messages_sendBroadcast.md | 2 +- old_docs/API_docs_v55/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v55/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v55/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v55/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md | 2 +- old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v55/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v55/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v55/methods/messages_startBot.md | 2 +- old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v55/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v55/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v55/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v55/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v55/methods/updates_getState.md | 2 +- old_docs/API_docs_v55/methods/upload_getFile.md | 2 +- old_docs/API_docs_v55/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v55/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v55/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v55/methods/users_getUsers.md | 2 +- old_docs/API_docs_v57/methods/account_changePhone.md | 2 +- old_docs/API_docs_v57/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v57/methods/account_confirmPhone.md | 2 +- old_docs/API_docs_v57/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v57/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v57/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v57/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v57/methods/account_getPassword.md | 2 +- old_docs/API_docs_v57/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v57/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v57/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v57/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v57/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v57/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v57/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md | 2 +- old_docs/API_docs_v57/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v57/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v57/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v57/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v57/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v57/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v57/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v57/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v57/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v57/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v57/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v57/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md | 2 +- old_docs/API_docs_v57/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v57/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v57/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v57/methods/auth_logOut.md | 2 +- old_docs/API_docs_v57/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v57/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v57/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v57/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v57/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v57/methods/auth_signIn.md | 2 +- old_docs/API_docs_v57/methods/auth_signUp.md | 2 +- old_docs/API_docs_v57/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v57/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v57/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v57/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v57/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v57/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v57/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v57/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v57/methods/channels_exportMessageLink.md | 2 +- .../API_docs_v57/methods/channels_getAdminedPublicChannels.md | 2 +- old_docs/API_docs_v57/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v57/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v57/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v57/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v57/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v57/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v57/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v57/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v57/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v57/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v57/methods/contacts_block.md | 2 +- old_docs/API_docs_v57/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v57/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v57/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v57/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v57/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v57/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v57/methods/contacts_getTopPeers.md | 2 +- old_docs/API_docs_v57/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v57/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md | 2 +- old_docs/API_docs_v57/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v57/methods/contacts_search.md | 2 +- old_docs/API_docs_v57/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v57/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v57/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v57/methods/help_getConfig.md | 2 +- old_docs/API_docs_v57/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v57/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v57/methods/help_getSupport.md | 2 +- old_docs/API_docs_v57/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v57/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v57/methods/initConnection.md | 2 +- old_docs/API_docs_v57/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v57/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v57/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v57/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v57/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v57/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v57/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v57/methods/messages_clearRecentStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_createChat.md | 2 +- old_docs/API_docs_v57/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v57/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v57/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v57/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v57/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v57/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v57/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v57/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v57/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v57/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v57/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v57/methods/messages_getAllDrafts.md | 2 +- old_docs/API_docs_v57/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getArchivedStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getAttachedStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v57/methods/messages_getChats.md | 2 +- old_docs/API_docs_v57/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v57/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v57/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v57/methods/messages_getGameHighScores.md | 2 +- old_docs/API_docs_v57/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v57/methods/messages_getInlineBotResults.md | 2 +- .../API_docs_v57/methods/messages_getInlineGameHighScores.md | 2 +- old_docs/API_docs_v57/methods/messages_getMaskStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v57/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v57/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v57/methods/messages_getPeerDialogs.md | 2 +- old_docs/API_docs_v57/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v57/methods/messages_getRecentStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v57/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v57/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v57/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v57/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v57/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v57/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md | 2 +- old_docs/API_docs_v57/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v57/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v57/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v57/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v57/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v57/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v57/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v57/methods/messages_saveDraft.md | 2 +- old_docs/API_docs_v57/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v57/methods/messages_saveRecentSticker.md | 2 +- old_docs/API_docs_v57/methods/messages_search.md | 2 +- old_docs/API_docs_v57/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v57/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v57/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v57/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v57/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v57/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md | 2 +- old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v57/methods/messages_setGameScore.md | 2 +- old_docs/API_docs_v57/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v57/methods/messages_setInlineGameScore.md | 2 +- old_docs/API_docs_v57/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v57/methods/messages_startBot.md | 2 +- old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v57/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v57/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v57/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v57/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v57/methods/updates_getState.md | 2 +- old_docs/API_docs_v57/methods/upload_getFile.md | 2 +- old_docs/API_docs_v57/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v57/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v57/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v57/methods/users_getUsers.md | 2 +- old_docs/API_docs_v62/methods/account_changePhone.md | 2 +- old_docs/API_docs_v62/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v62/methods/account_confirmPhone.md | 2 +- old_docs/API_docs_v62/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v62/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v62/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v62/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v62/methods/account_getPassword.md | 2 +- old_docs/API_docs_v62/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v62/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v62/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v62/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v62/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v62/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v62/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md | 2 +- old_docs/API_docs_v62/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v62/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v62/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v62/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v62/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v62/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v62/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v62/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v62/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v62/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v62/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v62/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md | 2 +- old_docs/API_docs_v62/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v62/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v62/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v62/methods/auth_logOut.md | 2 +- old_docs/API_docs_v62/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v62/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v62/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v62/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v62/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v62/methods/auth_signIn.md | 2 +- old_docs/API_docs_v62/methods/auth_signUp.md | 2 +- old_docs/API_docs_v62/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v62/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v62/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v62/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v62/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v62/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v62/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v62/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v62/methods/channels_exportMessageLink.md | 2 +- .../API_docs_v62/methods/channels_getAdminedPublicChannels.md | 2 +- old_docs/API_docs_v62/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v62/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v62/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v62/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v62/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v62/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v62/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v62/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v62/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v62/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v62/methods/contacts_block.md | 2 +- old_docs/API_docs_v62/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v62/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v62/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v62/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v62/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v62/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v62/methods/contacts_getTopPeers.md | 2 +- old_docs/API_docs_v62/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v62/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md | 2 +- old_docs/API_docs_v62/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v62/methods/contacts_search.md | 2 +- old_docs/API_docs_v62/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v62/methods/destroy_auth_key.md | 2 +- old_docs/API_docs_v62/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v62/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v62/methods/help_getConfig.md | 2 +- old_docs/API_docs_v62/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v62/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v62/methods/help_getSupport.md | 2 +- old_docs/API_docs_v62/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v62/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md | 2 +- old_docs/API_docs_v62/methods/initConnection.md | 2 +- old_docs/API_docs_v62/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v62/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v62/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v62/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v62/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v62/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v62/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v62/methods/messages_clearRecentStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_createChat.md | 2 +- old_docs/API_docs_v62/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v62/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v62/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v62/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v62/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v62/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v62/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v62/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v62/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v62/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v62/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v62/methods/messages_getAllChats.md | 2 +- old_docs/API_docs_v62/methods/messages_getAllDrafts.md | 2 +- old_docs/API_docs_v62/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getArchivedStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getAttachedStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v62/methods/messages_getChats.md | 2 +- old_docs/API_docs_v62/methods/messages_getCommonChats.md | 2 +- old_docs/API_docs_v62/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v62/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v62/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v62/methods/messages_getGameHighScores.md | 2 +- old_docs/API_docs_v62/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v62/methods/messages_getInlineBotResults.md | 2 +- .../API_docs_v62/methods/messages_getInlineGameHighScores.md | 2 +- old_docs/API_docs_v62/methods/messages_getMaskStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v62/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v62/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v62/methods/messages_getPeerDialogs.md | 2 +- old_docs/API_docs_v62/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md | 2 +- old_docs/API_docs_v62/methods/messages_getRecentStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v62/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v62/methods/messages_getWebPage.md | 2 +- old_docs/API_docs_v62/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v62/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v62/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v62/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v62/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md | 2 +- old_docs/API_docs_v62/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v62/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v62/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v62/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md | 2 +- old_docs/API_docs_v62/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md | 2 +- old_docs/API_docs_v62/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v62/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v62/methods/messages_saveDraft.md | 2 +- old_docs/API_docs_v62/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v62/methods/messages_saveRecentSticker.md | 2 +- old_docs/API_docs_v62/methods/messages_search.md | 2 +- old_docs/API_docs_v62/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v62/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v62/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v62/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v62/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v62/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md | 2 +- old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v62/methods/messages_setGameScore.md | 2 +- old_docs/API_docs_v62/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v62/methods/messages_setInlineGameScore.md | 2 +- old_docs/API_docs_v62/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v62/methods/messages_startBot.md | 2 +- old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v62/methods/messages_toggleDialogPin.md | 2 +- old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v62/methods/phone_acceptCall.md | 2 +- old_docs/API_docs_v62/methods/phone_discardCall.md | 2 +- old_docs/API_docs_v62/methods/phone_receivedCall.md | 2 +- old_docs/API_docs_v62/methods/phone_requestCall.md | 2 +- old_docs/API_docs_v62/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v62/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v62/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v62/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v62/methods/updates_getState.md | 2 +- old_docs/API_docs_v62/methods/upload_getFile.md | 2 +- old_docs/API_docs_v62/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v62/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v62/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v62/methods/users_getUsers.md | 2 +- old_docs/API_docs_v65/methods/account_changePhone.md | 2 +- old_docs/API_docs_v65/methods/account_checkUsername.md | 2 +- old_docs/API_docs_v65/methods/account_confirmPhone.md | 2 +- old_docs/API_docs_v65/methods/account_deleteAccount.md | 2 +- old_docs/API_docs_v65/methods/account_getAccountTTL.md | 2 +- old_docs/API_docs_v65/methods/account_getAuthorizations.md | 2 +- old_docs/API_docs_v65/methods/account_getNotifySettings.md | 2 +- old_docs/API_docs_v65/methods/account_getPassword.md | 2 +- old_docs/API_docs_v65/methods/account_getPasswordSettings.md | 2 +- old_docs/API_docs_v65/methods/account_getPrivacy.md | 2 +- old_docs/API_docs_v65/methods/account_getTmpPassword.md | 2 +- old_docs/API_docs_v65/methods/account_getWallPapers.md | 2 +- old_docs/API_docs_v65/methods/account_registerDevice.md | 2 +- old_docs/API_docs_v65/methods/account_reportPeer.md | 2 +- old_docs/API_docs_v65/methods/account_resetAuthorization.md | 2 +- old_docs/API_docs_v65/methods/account_resetNotifySettings.md | 2 +- old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md | 2 +- old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md | 2 +- old_docs/API_docs_v65/methods/account_setAccountTTL.md | 2 +- old_docs/API_docs_v65/methods/account_setPrivacy.md | 2 +- old_docs/API_docs_v65/methods/account_unregisterDevice.md | 2 +- old_docs/API_docs_v65/methods/account_updateDeviceLocked.md | 2 +- old_docs/API_docs_v65/methods/account_updateNotifySettings.md | 2 +- old_docs/API_docs_v65/methods/account_updatePasswordSettings.md | 2 +- old_docs/API_docs_v65/methods/account_updateProfile.md | 2 +- old_docs/API_docs_v65/methods/account_updateStatus.md | 2 +- old_docs/API_docs_v65/methods/account_updateUsername.md | 2 +- old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md | 2 +- old_docs/API_docs_v65/methods/auth_cancelCode.md | 2 +- old_docs/API_docs_v65/methods/auth_checkPassword.md | 2 +- old_docs/API_docs_v65/methods/auth_checkPhone.md | 2 +- old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md | 2 +- old_docs/API_docs_v65/methods/auth_exportAuthorization.md | 2 +- old_docs/API_docs_v65/methods/auth_importAuthorization.md | 2 +- old_docs/API_docs_v65/methods/auth_importBotAuthorization.md | 2 +- old_docs/API_docs_v65/methods/auth_logOut.md | 2 +- old_docs/API_docs_v65/methods/auth_recoverPassword.md | 2 +- old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md | 2 +- old_docs/API_docs_v65/methods/auth_resendCode.md | 2 +- old_docs/API_docs_v65/methods/auth_resetAuthorizations.md | 2 +- old_docs/API_docs_v65/methods/auth_sendCode.md | 2 +- old_docs/API_docs_v65/methods/auth_sendInvites.md | 2 +- old_docs/API_docs_v65/methods/auth_signIn.md | 2 +- old_docs/API_docs_v65/methods/auth_signUp.md | 2 +- old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md | 2 +- old_docs/API_docs_v65/methods/bots_sendCustomRequest.md | 2 +- old_docs/API_docs_v65/methods/channels_checkUsername.md | 2 +- old_docs/API_docs_v65/methods/channels_createChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_deleteChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_deleteMessages.md | 2 +- old_docs/API_docs_v65/methods/channels_deleteUserHistory.md | 2 +- old_docs/API_docs_v65/methods/channels_editAbout.md | 2 +- old_docs/API_docs_v65/methods/channels_editAdmin.md | 2 +- old_docs/API_docs_v65/methods/channels_editPhoto.md | 2 +- old_docs/API_docs_v65/methods/channels_editTitle.md | 2 +- old_docs/API_docs_v65/methods/channels_exportInvite.md | 2 +- old_docs/API_docs_v65/methods/channels_exportMessageLink.md | 2 +- .../API_docs_v65/methods/channels_getAdminedPublicChannels.md | 2 +- old_docs/API_docs_v65/methods/channels_getChannels.md | 2 +- old_docs/API_docs_v65/methods/channels_getFullChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_getMessages.md | 2 +- old_docs/API_docs_v65/methods/channels_getParticipant.md | 2 +- old_docs/API_docs_v65/methods/channels_getParticipants.md | 2 +- old_docs/API_docs_v65/methods/channels_inviteToChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_joinChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_kickFromChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_leaveChannel.md | 2 +- old_docs/API_docs_v65/methods/channels_readHistory.md | 2 +- old_docs/API_docs_v65/methods/channels_reportSpam.md | 2 +- old_docs/API_docs_v65/methods/channels_toggleInvites.md | 2 +- old_docs/API_docs_v65/methods/channels_toggleSignatures.md | 2 +- old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md | 2 +- old_docs/API_docs_v65/methods/channels_updateUsername.md | 2 +- old_docs/API_docs_v65/methods/contacts_block.md | 2 +- old_docs/API_docs_v65/methods/contacts_deleteContact.md | 2 +- old_docs/API_docs_v65/methods/contacts_deleteContacts.md | 2 +- old_docs/API_docs_v65/methods/contacts_exportCard.md | 2 +- old_docs/API_docs_v65/methods/contacts_getBlocked.md | 2 +- old_docs/API_docs_v65/methods/contacts_getContacts.md | 2 +- old_docs/API_docs_v65/methods/contacts_getStatuses.md | 2 +- old_docs/API_docs_v65/methods/contacts_getTopPeers.md | 2 +- old_docs/API_docs_v65/methods/contacts_importCard.md | 2 +- old_docs/API_docs_v65/methods/contacts_importContacts.md | 2 +- old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md | 2 +- old_docs/API_docs_v65/methods/contacts_resolveUsername.md | 2 +- old_docs/API_docs_v65/methods/contacts_search.md | 2 +- old_docs/API_docs_v65/methods/contacts_unblock.md | 2 +- old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md | 2 +- old_docs/API_docs_v65/methods/destroy_auth_key.md | 2 +- old_docs/API_docs_v65/methods/destroy_session.md | 2 +- old_docs/API_docs_v65/methods/get_future_salts.md | 2 +- old_docs/API_docs_v65/methods/help_getAppChangelog.md | 2 +- old_docs/API_docs_v65/methods/help_getAppUpdate.md | 2 +- old_docs/API_docs_v65/methods/help_getConfig.md | 2 +- old_docs/API_docs_v65/methods/help_getInviteText.md | 2 +- old_docs/API_docs_v65/methods/help_getNearestDc.md | 2 +- old_docs/API_docs_v65/methods/help_getSupport.md | 2 +- old_docs/API_docs_v65/methods/help_getTermsOfService.md | 2 +- old_docs/API_docs_v65/methods/help_saveAppLog.md | 2 +- old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md | 2 +- old_docs/API_docs_v65/methods/initConnection.md | 2 +- old_docs/API_docs_v65/methods/invokeAfterMsg.md | 2 +- old_docs/API_docs_v65/methods/invokeAfterMsgs.md | 2 +- old_docs/API_docs_v65/methods/invokeWithLayer.md | 2 +- old_docs/API_docs_v65/methods/invokeWithoutUpdates.md | 2 +- old_docs/API_docs_v65/methods/messages_acceptEncryption.md | 2 +- old_docs/API_docs_v65/methods/messages_addChatUser.md | 2 +- old_docs/API_docs_v65/methods/messages_checkChatInvite.md | 2 +- old_docs/API_docs_v65/methods/messages_clearRecentStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_createChat.md | 2 +- old_docs/API_docs_v65/methods/messages_deleteChatUser.md | 2 +- old_docs/API_docs_v65/methods/messages_deleteHistory.md | 2 +- old_docs/API_docs_v65/methods/messages_deleteMessages.md | 2 +- old_docs/API_docs_v65/methods/messages_discardEncryption.md | 2 +- old_docs/API_docs_v65/methods/messages_editChatAdmin.md | 2 +- old_docs/API_docs_v65/methods/messages_editChatPhoto.md | 2 +- old_docs/API_docs_v65/methods/messages_editChatTitle.md | 2 +- old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md | 2 +- old_docs/API_docs_v65/methods/messages_editMessage.md | 2 +- old_docs/API_docs_v65/methods/messages_exportChatInvite.md | 2 +- old_docs/API_docs_v65/methods/messages_forwardMessage.md | 2 +- old_docs/API_docs_v65/methods/messages_forwardMessages.md | 2 +- old_docs/API_docs_v65/methods/messages_getAllChats.md | 2 +- old_docs/API_docs_v65/methods/messages_getAllDrafts.md | 2 +- old_docs/API_docs_v65/methods/messages_getAllStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getArchivedStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getAttachedStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md | 2 +- old_docs/API_docs_v65/methods/messages_getChats.md | 2 +- old_docs/API_docs_v65/methods/messages_getCommonChats.md | 2 +- old_docs/API_docs_v65/methods/messages_getDhConfig.md | 2 +- old_docs/API_docs_v65/methods/messages_getDialogs.md | 2 +- old_docs/API_docs_v65/methods/messages_getDocumentByHash.md | 2 +- old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getFullChat.md | 2 +- old_docs/API_docs_v65/methods/messages_getGameHighScores.md | 2 +- old_docs/API_docs_v65/methods/messages_getHistory.md | 2 +- old_docs/API_docs_v65/methods/messages_getInlineBotResults.md | 2 +- .../API_docs_v65/methods/messages_getInlineGameHighScores.md | 2 +- old_docs/API_docs_v65/methods/messages_getMaskStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getMessageEditData.md | 2 +- old_docs/API_docs_v65/methods/messages_getMessages.md | 2 +- old_docs/API_docs_v65/methods/messages_getMessagesViews.md | 2 +- old_docs/API_docs_v65/methods/messages_getPeerDialogs.md | 2 +- old_docs/API_docs_v65/methods/messages_getPeerSettings.md | 2 +- old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md | 2 +- old_docs/API_docs_v65/methods/messages_getRecentStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_getSavedGifs.md | 2 +- old_docs/API_docs_v65/methods/messages_getStickerSet.md | 2 +- old_docs/API_docs_v65/methods/messages_getWebPage.md | 2 +- old_docs/API_docs_v65/methods/messages_getWebPagePreview.md | 2 +- old_docs/API_docs_v65/methods/messages_hideReportSpam.md | 2 +- old_docs/API_docs_v65/methods/messages_importChatInvite.md | 2 +- old_docs/API_docs_v65/methods/messages_installStickerSet.md | 2 +- old_docs/API_docs_v65/methods/messages_migrateChat.md | 2 +- old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md | 2 +- old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md | 2 +- old_docs/API_docs_v65/methods/messages_readHistory.md | 2 +- old_docs/API_docs_v65/methods/messages_readMessageContents.md | 2 +- old_docs/API_docs_v65/methods/messages_receivedMessages.md | 2 +- old_docs/API_docs_v65/methods/messages_receivedQueue.md | 2 +- old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md | 2 +- old_docs/API_docs_v65/methods/messages_reorderStickerSets.md | 2 +- old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md | 2 +- old_docs/API_docs_v65/methods/messages_reportSpam.md | 2 +- old_docs/API_docs_v65/methods/messages_requestEncryption.md | 2 +- old_docs/API_docs_v65/methods/messages_saveDraft.md | 2 +- old_docs/API_docs_v65/methods/messages_saveGif.md | 2 +- old_docs/API_docs_v65/methods/messages_saveRecentSticker.md | 2 +- old_docs/API_docs_v65/methods/messages_search.md | 2 +- old_docs/API_docs_v65/methods/messages_searchGifs.md | 2 +- old_docs/API_docs_v65/methods/messages_searchGlobal.md | 2 +- old_docs/API_docs_v65/methods/messages_sendEncrypted.md | 2 +- old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md | 2 +- old_docs/API_docs_v65/methods/messages_sendEncryptedService.md | 2 +- old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md | 2 +- old_docs/API_docs_v65/methods/messages_sendMedia.md | 2 +- old_docs/API_docs_v65/methods/messages_sendMessage.md | 2 +- old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md | 2 +- .../API_docs_v65/methods/messages_setBotPrecheckoutResults.md | 2 +- old_docs/API_docs_v65/methods/messages_setBotShippingResults.md | 2 +- old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md | 2 +- old_docs/API_docs_v65/methods/messages_setGameScore.md | 2 +- old_docs/API_docs_v65/methods/messages_setInlineBotResults.md | 2 +- old_docs/API_docs_v65/methods/messages_setInlineGameScore.md | 2 +- old_docs/API_docs_v65/methods/messages_setTyping.md | 2 +- old_docs/API_docs_v65/methods/messages_startBot.md | 2 +- old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md | 2 +- old_docs/API_docs_v65/methods/messages_toggleDialogPin.md | 2 +- old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md | 2 +- old_docs/API_docs_v65/methods/payments_clearSavedInfo.md | 2 +- old_docs/API_docs_v65/methods/payments_getPaymentForm.md | 2 +- old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md | 2 +- old_docs/API_docs_v65/methods/payments_getSavedInfo.md | 2 +- old_docs/API_docs_v65/methods/payments_sendPaymentForm.md | 2 +- old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md | 2 +- old_docs/API_docs_v65/methods/phone_acceptCall.md | 2 +- old_docs/API_docs_v65/methods/phone_confirmCall.md | 2 +- old_docs/API_docs_v65/methods/phone_discardCall.md | 2 +- old_docs/API_docs_v65/methods/phone_getCallConfig.md | 2 +- old_docs/API_docs_v65/methods/phone_receivedCall.md | 2 +- old_docs/API_docs_v65/methods/phone_requestCall.md | 2 +- old_docs/API_docs_v65/methods/phone_saveCallDebug.md | 2 +- old_docs/API_docs_v65/methods/phone_setCallRating.md | 2 +- old_docs/API_docs_v65/methods/photos_deletePhotos.md | 2 +- old_docs/API_docs_v65/methods/photos_getUserPhotos.md | 2 +- old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md | 2 +- old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md | 2 +- old_docs/API_docs_v65/methods/ping.md | 2 +- old_docs/API_docs_v65/methods/ping_delay_disconnect.md | 2 +- old_docs/API_docs_v65/methods/req_DH_params.md | 2 +- old_docs/API_docs_v65/methods/req_pq.md | 2 +- old_docs/API_docs_v65/methods/rpc_drop_answer.md | 2 +- old_docs/API_docs_v65/methods/set_client_DH_params.md | 2 +- old_docs/API_docs_v65/methods/updates_getChannelDifference.md | 2 +- old_docs/API_docs_v65/methods/updates_getDifference.md | 2 +- old_docs/API_docs_v65/methods/updates_getState.md | 2 +- old_docs/API_docs_v65/methods/upload_getFile.md | 2 +- old_docs/API_docs_v65/methods/upload_getWebFile.md | 2 +- old_docs/API_docs_v65/methods/upload_saveBigFilePart.md | 2 +- old_docs/API_docs_v65/methods/upload_saveFilePart.md | 2 +- old_docs/API_docs_v65/methods/users_getFullUser.md | 2 +- old_docs/API_docs_v65/methods/users_getUsers.md | 2 +- src/danog/MadelineProto/DocsBuilder.php | 2 +- 3118 files changed, 3118 insertions(+), 3118 deletions(-) diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index 99af6c2c..0b8437dd 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -22,7 +22,7 @@ description: account.confirmPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index e8396e8b..c63dea5c 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -22,7 +22,7 @@ description: account.getTmpPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index c1b7cacd..8d28787e 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -23,7 +23,7 @@ description: account.sendConfirmPhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_bindTempAuthKey.md b/docs/API_docs/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/docs/API_docs/methods/auth_bindTempAuthKey.md +++ b/docs/API_docs/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_checkPassword.md b/docs/API_docs/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/docs/API_docs/methods/auth_checkPassword.md +++ b/docs/API_docs/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_checkPhone.md b/docs/API_docs/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/docs/API_docs/methods/auth_checkPhone.md +++ b/docs/API_docs/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 9c43b925..91d04065 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -21,7 +21,7 @@ description: auth.dropTempAuthKeys parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_exportAuthorization.md b/docs/API_docs/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/docs/API_docs/methods/auth_exportAuthorization.md +++ b/docs/API_docs/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_importAuthorization.md b/docs/API_docs/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/docs/API_docs/methods/auth_importAuthorization.md +++ b/docs/API_docs/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_importBotAuthorization.md b/docs/API_docs/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/docs/API_docs/methods/auth_importBotAuthorization.md +++ b/docs/API_docs/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_logOut.md b/docs/API_docs/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/docs/API_docs/methods/auth_logOut.md +++ b/docs/API_docs/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_sendCode.md b/docs/API_docs/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/docs/API_docs/methods/auth_sendCode.md +++ b/docs/API_docs/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_sendInvites.md b/docs/API_docs/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/docs/API_docs/methods/auth_sendInvites.md +++ b/docs/API_docs/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_signIn.md b/docs/API_docs/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/docs/API_docs/methods/auth_signIn.md +++ b/docs/API_docs/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/auth_signUp.md b/docs/API_docs/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/docs/API_docs/methods/auth_signUp.md +++ b/docs/API_docs/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index 65c85355..539e060d 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -22,7 +22,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index 4c759d91..ea74fcfd 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -22,7 +22,7 @@ description: bots.sendCustomRequest parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_exportInvite.md b/docs/API_docs/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index 5293e859..31ed5556 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -16,7 +16,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getFullChannel.md b/docs/API_docs/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/docs/API_docs/methods/channels_getFullChannel.md +++ b/docs/API_docs/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_kickFromChannel.md b/docs/API_docs/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/docs/API_docs/methods/channels_kickFromChannel.md +++ b/docs/API_docs/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_importCard.md b/docs/API_docs/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_resolveUsername.md b/docs/API_docs/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/docs/API_docs/methods/contacts_resolveUsername.md +++ b/docs/API_docs/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/contest_saveDeveloperInfo.md b/docs/API_docs/methods/contest_saveDeveloperInfo.md index 04e2b4e3..4dac3459 100644 --- a/docs/API_docs/methods/contest_saveDeveloperInfo.md +++ b/docs/API_docs/methods/contest_saveDeveloperInfo.md @@ -25,7 +25,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/destroy_auth_key.md b/docs/API_docs/methods/destroy_auth_key.md index 83e1393d..5f025647 100644 --- a/docs/API_docs/methods/destroy_auth_key.md +++ b/docs/API_docs/methods/destroy_auth_key.md @@ -16,7 +16,7 @@ description: destroy_auth_key parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/destroy_session.md b/docs/API_docs/methods/destroy_session.md index 12927fea..86dcd5fe 100644 --- a/docs/API_docs/methods/destroy_session.md +++ b/docs/API_docs/methods/destroy_session.md @@ -21,7 +21,7 @@ description: destroy_session parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/get_future_salts.md b/docs/API_docs/methods/get_future_salts.md index 83d4d495..5c35ffa0 100644 --- a/docs/API_docs/methods/get_future_salts.md +++ b/docs/API_docs/methods/get_future_salts.md @@ -21,7 +21,7 @@ description: get_future_salts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index d6f37df7..1a2e43f6 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index bae7a178..e2b17855 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -16,7 +16,7 @@ description: help.getCdnConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_getTermsOfService.md b/docs/API_docs/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/docs/API_docs/methods/help_getTermsOfService.md +++ b/docs/API_docs/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index f90469e2..e1f91e58 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -22,7 +22,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_acceptEncryption.md b/docs/API_docs/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/docs/API_docs/methods/messages_acceptEncryption.md +++ b/docs/API_docs/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 100e49da..f9a112f6 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -21,7 +21,7 @@ description: messages.clearRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index 2a5f61f6..4f25ff98 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -22,7 +22,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_discardEncryption.md b/docs/API_docs/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/docs/API_docs/methods/messages_discardEncryption.md +++ b/docs/API_docs/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_forwardMessage.md b/docs/API_docs/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/docs/API_docs/methods/messages_forwardMessage.md +++ b/docs/API_docs/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index c93b7c19..8a83a735 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getAllChats.md b/docs/API_docs/methods/messages_getAllChats.md index 480205eb..b204aed1 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -21,7 +21,7 @@ description: messages.getAllChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index 5ebdc27c..2ee3502c 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -23,7 +23,7 @@ description: messages.getArchivedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index 5556f6fb..b15b1801 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -21,7 +21,7 @@ description: messages.getAttachedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index ee46a5b9..90f6b875 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index 6065b894..dbc917fc 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -23,7 +23,7 @@ description: messages.getCommonChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index bb9f947e..f5901eb6 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index e991e78b..5c51f4be 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.getFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getFullChat.md b/docs/API_docs/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/docs/API_docs/methods/messages_getFullChat.md +++ b/docs/API_docs/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index 097f1fec..8e3f69d8 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -23,7 +23,7 @@ description: messages.getGameHighScores parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index 370ff8fd..6811fba8 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -22,7 +22,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index d2e93651..7aedd066 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -21,7 +21,7 @@ description: messages.getMaskStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index 4dcb6530..09499e6c 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -16,7 +16,7 @@ description: messages.getPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index b522717c..98b76d5e 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -22,7 +22,7 @@ description: messages.getRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index dfcf8cd0..10a92123 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -22,7 +22,7 @@ description: messages.getWebPage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 48b77a20..ad734572 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 1dbbbe4f..0526f0b5 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.readFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_receivedQueue.md b/docs/API_docs/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/docs/API_docs/methods/messages_receivedQueue.md +++ b/docs/API_docs/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 797c5d17..0eb7c736 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -22,7 +22,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index 698bc50a..4cfc68ef 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -22,7 +22,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index 6334ba63..a6b6023b 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -21,7 +21,7 @@ description: messages.reportEncryptedSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_requestEncryption.md b/docs/API_docs/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/docs/API_docs/methods/messages_requestEncryption.md +++ b/docs/API_docs/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index b1e76785..1acc5473 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -23,7 +23,7 @@ description: messages.saveRecentSticker parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 1b0c8cd2..38a65f69 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -25,7 +25,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md index f75dcd63..26d44b73 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -23,7 +23,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setBotShippingResults.md b/docs/API_docs/methods/messages_setBotShippingResults.md index 1622d213..b0115468 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -23,7 +23,7 @@ description: messages.setBotShippingResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 5d5231ea..d6e7a77a 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -26,7 +26,7 @@ description: messages.setGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index 02082156..d3a8846c 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -25,7 +25,7 @@ description: messages.setInlineGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_toggleChatAdmins.md b/docs/API_docs/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index 3b5eafc8..6e1230cd 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -22,7 +22,7 @@ description: messages.toggleDialogPin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index 1835a6d1..e250bb2e 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -22,7 +22,7 @@ description: payments.clearSavedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index fdfe9e47..b61c8ede 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -21,7 +21,7 @@ description: payments.getPaymentForm parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index a85a2301..8e08e7a2 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -21,7 +21,7 @@ description: payments.getPaymentReceipt parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index 946b3ebe..d697b221 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -16,7 +16,7 @@ description: payments.getSavedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index bb320757..573c2462 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -24,7 +24,7 @@ description: payments.sendPaymentForm parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/payments_validateRequestedInfo.md b/docs/API_docs/methods/payments_validateRequestedInfo.md index e9b9073f..f10f7fed 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -23,7 +23,7 @@ description: payments.validateRequestedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_acceptCall.md b/docs/API_docs/methods/phone_acceptCall.md index a60949bf..4b7386d5 100644 --- a/docs/API_docs/methods/phone_acceptCall.md +++ b/docs/API_docs/methods/phone_acceptCall.md @@ -23,7 +23,7 @@ description: phone.acceptCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_confirmCall.md b/docs/API_docs/methods/phone_confirmCall.md index d827ff56..3b189e69 100644 --- a/docs/API_docs/methods/phone_confirmCall.md +++ b/docs/API_docs/methods/phone_confirmCall.md @@ -24,7 +24,7 @@ description: phone.confirmCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_discardCall.md b/docs/API_docs/methods/phone_discardCall.md index 25468457..00b0d78e 100644 --- a/docs/API_docs/methods/phone_discardCall.md +++ b/docs/API_docs/methods/phone_discardCall.md @@ -24,7 +24,7 @@ description: phone.discardCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index 6eec6c6e..bdd54623 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -16,7 +16,7 @@ description: phone.getCallConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index 793907ea..748e215d 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -21,7 +21,7 @@ description: phone.receivedCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_requestCall.md b/docs/API_docs/methods/phone_requestCall.md index bc5a4ca5..633af965 100644 --- a/docs/API_docs/methods/phone_requestCall.md +++ b/docs/API_docs/methods/phone_requestCall.md @@ -23,7 +23,7 @@ description: phone.requestCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index 260e2729..cc495068 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -22,7 +22,7 @@ description: phone.saveCallDebug parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index 053b3ffb..c00d5158 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -23,7 +23,7 @@ description: phone.setCallRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index 13443ab7..46cb4c32 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index 76f4514a..d8c1f9ec 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/ping.md b/docs/API_docs/methods/ping.md index 5d8c9e40..125f16e5 100644 --- a/docs/API_docs/methods/ping.md +++ b/docs/API_docs/methods/ping.md @@ -21,7 +21,7 @@ description: ping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/ping_delay_disconnect.md b/docs/API_docs/methods/ping_delay_disconnect.md index 5506d409..eab86cc5 100644 --- a/docs/API_docs/methods/ping_delay_disconnect.md +++ b/docs/API_docs/methods/ping_delay_disconnect.md @@ -22,7 +22,7 @@ description: ping_delay_disconnect parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/req_DH_params.md b/docs/API_docs/methods/req_DH_params.md index 14549f8c..93ad6d82 100644 --- a/docs/API_docs/methods/req_DH_params.md +++ b/docs/API_docs/methods/req_DH_params.md @@ -26,7 +26,7 @@ description: req_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/req_pq.md b/docs/API_docs/methods/req_pq.md index 5ca8eeb4..59fff9cc 100644 --- a/docs/API_docs/methods/req_pq.md +++ b/docs/API_docs/methods/req_pq.md @@ -21,7 +21,7 @@ description: req_pq parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/rpc_drop_answer.md b/docs/API_docs/methods/rpc_drop_answer.md index 15c23e3d..94c8a32a 100644 --- a/docs/API_docs/methods/rpc_drop_answer.md +++ b/docs/API_docs/methods/rpc_drop_answer.md @@ -21,7 +21,7 @@ description: rpc_drop_answer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/set_client_DH_params.md b/docs/API_docs/methods/set_client_DH_params.md index a7447e99..795229e2 100644 --- a/docs/API_docs/methods/set_client_DH_params.md +++ b/docs/API_docs/methods/set_client_DH_params.md @@ -23,7 +23,7 @@ description: set_client_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/updates_getChannelDifference.md b/docs/API_docs/methods/updates_getChannelDifference.md index 20a16be2..b343b62f 100644 --- a/docs/API_docs/methods/updates_getChannelDifference.md +++ b/docs/API_docs/methods/updates_getChannelDifference.md @@ -25,7 +25,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/updates_getDifference.md b/docs/API_docs/methods/updates_getDifference.md index ae27a7b9..a0aadc04 100644 --- a/docs/API_docs/methods/updates_getDifference.md +++ b/docs/API_docs/methods/updates_getDifference.md @@ -24,7 +24,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/updates_getState.md b/docs/API_docs/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/docs/API_docs/methods/updates_getState.md +++ b/docs/API_docs/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_getCdnFile.md b/docs/API_docs/methods/upload_getCdnFile.md index c57b5115..c9def2d5 100644 --- a/docs/API_docs/methods/upload_getCdnFile.md +++ b/docs/API_docs/methods/upload_getCdnFile.md @@ -23,7 +23,7 @@ description: upload.getCdnFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_getFile.md b/docs/API_docs/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/docs/API_docs/methods/upload_getFile.md +++ b/docs/API_docs/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index 72b62698..496c36f3 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -23,7 +23,7 @@ description: upload.getWebFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_reuploadCdnFile.md b/docs/API_docs/methods/upload_reuploadCdnFile.md index a82452b8..08016537 100644 --- a/docs/API_docs/methods/upload_reuploadCdnFile.md +++ b/docs/API_docs/methods/upload_reuploadCdnFile.md @@ -22,7 +22,7 @@ description: upload.reuploadCdnFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_saveBigFilePart.md b/docs/API_docs/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/docs/API_docs/methods/upload_saveBigFilePart.md +++ b/docs/API_docs/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/upload_saveFilePart.md b/docs/API_docs/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/docs/API_docs/methods/upload_saveFilePart.md +++ b/docs/API_docs/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/users_getFullUser.md b/docs/API_docs/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/docs/API_docs/methods/users_getFullUser.md +++ b/docs/API_docs/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index 12927fea..86dcd5fe 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -21,7 +21,7 @@ description: destroy_session parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index 83d4d495..5c35ffa0 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -21,7 +21,7 @@ description: get_future_salts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index fe97f3a9..30e6a7e5 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -23,7 +23,7 @@ description: http_wait parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/ping.md b/docs/MTProto_docs/methods/ping.md index 5d8c9e40..125f16e5 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -21,7 +21,7 @@ description: ping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index 5506d409..eab86cc5 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -22,7 +22,7 @@ description: ping_delay_disconnect parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/req_DH_params.md b/docs/MTProto_docs/methods/req_DH_params.md index 8c0d5cd3..21472ef1 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -26,7 +26,7 @@ description: req_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/req_pq.md b/docs/MTProto_docs/methods/req_pq.md index 5ca8eeb4..59fff9cc 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -21,7 +21,7 @@ description: req_pq parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index 15c23e3d..94c8a32a 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -21,7 +21,7 @@ description: rpc_drop_answer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/MTProto_docs/methods/set_client_DH_params.md b/docs/MTProto_docs/methods/set_client_DH_params.md index 1af13ca3..c291e82d 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -23,7 +23,7 @@ description: set_client_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/addChatMember.md b/docs/TD_docs/methods/addChatMember.md index 0a7d307e..62dd1b84 100644 --- a/docs/TD_docs/methods/addChatMember.md +++ b/docs/TD_docs/methods/addChatMember.md @@ -28,7 +28,7 @@ Adds new member to chat. Members can't be added to private or secret chats. Memb ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/addChatMembers.md b/docs/TD_docs/methods/addChatMembers.md index a8dcde2c..74454386 100644 --- a/docs/TD_docs/methods/addChatMembers.md +++ b/docs/TD_docs/methods/addChatMembers.md @@ -27,7 +27,7 @@ Adds many new members to the chat. Currently, available only for channels. Can't ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/addRecentSticker.md b/docs/TD_docs/methods/addRecentSticker.md index 8d094ca2..7a5fcc46 100644 --- a/docs/TD_docs/methods/addRecentSticker.md +++ b/docs/TD_docs/methods/addRecentSticker.md @@ -27,7 +27,7 @@ Manually adds new sticker to the list of recently used stickers. New sticker is ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/addRecentlyFoundChat.md b/docs/TD_docs/methods/addRecentlyFoundChat.md index e74838ec..67bf984f 100644 --- a/docs/TD_docs/methods/addRecentlyFoundChat.md +++ b/docs/TD_docs/methods/addRecentlyFoundChat.md @@ -26,7 +26,7 @@ Adds chat to the list of recently found chats. The chat is added to the beginnin ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/addSavedAnimation.md b/docs/TD_docs/methods/addSavedAnimation.md index 4ec78ddb..a4e53db7 100644 --- a/docs/TD_docs/methods/addSavedAnimation.md +++ b/docs/TD_docs/methods/addSavedAnimation.md @@ -26,7 +26,7 @@ Manually adds new animation to the list of saved animations. New animation is ad ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/answerCallbackQuery.md b/docs/TD_docs/methods/answerCallbackQuery.md index 3dcaf313..66483fc8 100644 --- a/docs/TD_docs/methods/answerCallbackQuery.md +++ b/docs/TD_docs/methods/answerCallbackQuery.md @@ -30,7 +30,7 @@ Bots only. Sets result of the callback query ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/answerInlineQuery.md b/docs/TD_docs/methods/answerInlineQuery.md index 3ab7eb46..2a1e1ad1 100644 --- a/docs/TD_docs/methods/answerInlineQuery.md +++ b/docs/TD_docs/methods/answerInlineQuery.md @@ -32,7 +32,7 @@ Bots only. Sets result of the inline query ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/blockUser.md b/docs/TD_docs/methods/blockUser.md index a092ac83..3a6ab8d6 100644 --- a/docs/TD_docs/methods/blockUser.md +++ b/docs/TD_docs/methods/blockUser.md @@ -26,7 +26,7 @@ Adds user to black list ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/cancelDownloadFile.md b/docs/TD_docs/methods/cancelDownloadFile.md index 92b39191..c12b12f7 100644 --- a/docs/TD_docs/methods/cancelDownloadFile.md +++ b/docs/TD_docs/methods/cancelDownloadFile.md @@ -26,7 +26,7 @@ Stops file downloading. If file already downloaded do nothing. ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeAbout.md b/docs/TD_docs/methods/changeAbout.md index bd27ad15..40e29487 100644 --- a/docs/TD_docs/methods/changeAbout.md +++ b/docs/TD_docs/methods/changeAbout.md @@ -26,7 +26,7 @@ Changes about information of logged in user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeAccountTtl.md b/docs/TD_docs/methods/changeAccountTtl.md index 915af76b..81d01df2 100644 --- a/docs/TD_docs/methods/changeAccountTtl.md +++ b/docs/TD_docs/methods/changeAccountTtl.md @@ -26,7 +26,7 @@ Changes period of inactivity, after which the account of currently logged in use ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChannelAbout.md b/docs/TD_docs/methods/changeChannelAbout.md index 63fc7fcc..3fa6f536 100644 --- a/docs/TD_docs/methods/changeChannelAbout.md +++ b/docs/TD_docs/methods/changeChannelAbout.md @@ -27,7 +27,7 @@ Changes information about the channel. Needs creator privileges in the broadcast ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChannelUsername.md b/docs/TD_docs/methods/changeChannelUsername.md index ed4e34f7..a3cffe73 100644 --- a/docs/TD_docs/methods/changeChannelUsername.md +++ b/docs/TD_docs/methods/changeChannelUsername.md @@ -27,7 +27,7 @@ Changes username of the channel. Needs creator privileges in the channel ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChatDraftMessage.md b/docs/TD_docs/methods/changeChatDraftMessage.md index 9d73eaa8..b0a11394 100644 --- a/docs/TD_docs/methods/changeChatDraftMessage.md +++ b/docs/TD_docs/methods/changeChatDraftMessage.md @@ -27,7 +27,7 @@ Changes chat draft message ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChatMemberStatus.md b/docs/TD_docs/methods/changeChatMemberStatus.md index b0b39662..babf40a1 100644 --- a/docs/TD_docs/methods/changeChatMemberStatus.md +++ b/docs/TD_docs/methods/changeChatMemberStatus.md @@ -28,7 +28,7 @@ Changes status of the chat member, need appropriate privileges. In channel chats ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChatPhoto.md b/docs/TD_docs/methods/changeChatPhoto.md index cf6dc177..ae783bda 100644 --- a/docs/TD_docs/methods/changeChatPhoto.md +++ b/docs/TD_docs/methods/changeChatPhoto.md @@ -27,7 +27,7 @@ Changes chat photo. Photo can't be changed for private chats. Photo will not cha ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChatReportSpamState.md b/docs/TD_docs/methods/changeChatReportSpamState.md index f5fe21cd..4264893a 100644 --- a/docs/TD_docs/methods/changeChatReportSpamState.md +++ b/docs/TD_docs/methods/changeChatReportSpamState.md @@ -27,7 +27,7 @@ Reports chat as a spam chat or as not a spam chat. Can be used only if ChatRepor ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeChatTitle.md b/docs/TD_docs/methods/changeChatTitle.md index 5b7a4495..6c96153f 100644 --- a/docs/TD_docs/methods/changeChatTitle.md +++ b/docs/TD_docs/methods/changeChatTitle.md @@ -27,7 +27,7 @@ Changes chat title. Title can't be changed for private chats. Title will not cha ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeName.md b/docs/TD_docs/methods/changeName.md index 31119f46..f5536079 100644 --- a/docs/TD_docs/methods/changeName.md +++ b/docs/TD_docs/methods/changeName.md @@ -27,7 +27,7 @@ Changes first and last names of logged in user. If something changes, updateUser ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changePhoneNumber.md b/docs/TD_docs/methods/changePhoneNumber.md index b46629ff..c38199a4 100644 --- a/docs/TD_docs/methods/changePhoneNumber.md +++ b/docs/TD_docs/methods/changePhoneNumber.md @@ -28,7 +28,7 @@ Changes user's phone number and sends authentication code to the new user's phon ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/changeUsername.md b/docs/TD_docs/methods/changeUsername.md index ed158b0b..18b68d3c 100644 --- a/docs/TD_docs/methods/changeUsername.md +++ b/docs/TD_docs/methods/changeUsername.md @@ -26,7 +26,7 @@ Changes username of logged in user. If something changes, updateUser will be sen ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/checkAuthBotToken.md b/docs/TD_docs/methods/checkAuthBotToken.md index 33ca5919..895a7f3f 100644 --- a/docs/TD_docs/methods/checkAuthBotToken.md +++ b/docs/TD_docs/methods/checkAuthBotToken.md @@ -26,7 +26,7 @@ Check bot's authentication token to log in as a bot. Works only when authGetStat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/checkAuthCode.md b/docs/TD_docs/methods/checkAuthCode.md index 3b159356..c36e6212 100644 --- a/docs/TD_docs/methods/checkAuthCode.md +++ b/docs/TD_docs/methods/checkAuthCode.md @@ -28,7 +28,7 @@ Checks authentication code. Works only when authGetState returns authStateWaitCo ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/checkAuthPassword.md b/docs/TD_docs/methods/checkAuthPassword.md index 1731d6a3..7e39fdbe 100644 --- a/docs/TD_docs/methods/checkAuthPassword.md +++ b/docs/TD_docs/methods/checkAuthPassword.md @@ -26,7 +26,7 @@ Checks password for correctness. Works only when authGetState returns authStateW ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/checkChangePhoneNumberCode.md b/docs/TD_docs/methods/checkChangePhoneNumberCode.md index 2acb6cb3..f87413fe 100644 --- a/docs/TD_docs/methods/checkChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/checkChangePhoneNumberCode.md @@ -26,7 +26,7 @@ Checks authentication code sent to change user's phone number. Returns authState ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/checkChatInviteLink.md b/docs/TD_docs/methods/checkChatInviteLink.md index 0ce2a9b0..e99cb3f5 100644 --- a/docs/TD_docs/methods/checkChatInviteLink.md +++ b/docs/TD_docs/methods/checkChatInviteLink.md @@ -26,7 +26,7 @@ Checks chat invite link for validness and returns information about the correspo ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/clearRecentStickers.md b/docs/TD_docs/methods/clearRecentStickers.md index 6ef2a7d4..1364a851 100644 --- a/docs/TD_docs/methods/clearRecentStickers.md +++ b/docs/TD_docs/methods/clearRecentStickers.md @@ -26,7 +26,7 @@ Clears list of recently used stickers ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/closeChat.md b/docs/TD_docs/methods/closeChat.md index 5c047363..15fd7e94 100644 --- a/docs/TD_docs/methods/closeChat.md +++ b/docs/TD_docs/methods/closeChat.md @@ -26,7 +26,7 @@ Chat is closed by the user. Many useful activities depends on chat being opened ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/closeSecretChat.md b/docs/TD_docs/methods/closeSecretChat.md index d179a872..eb535fbe 100644 --- a/docs/TD_docs/methods/closeSecretChat.md +++ b/docs/TD_docs/methods/closeSecretChat.md @@ -26,7 +26,7 @@ Closes secret chat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createChannelChat.md b/docs/TD_docs/methods/createChannelChat.md index bdd58bb5..3a36bb51 100644 --- a/docs/TD_docs/methods/createChannelChat.md +++ b/docs/TD_docs/methods/createChannelChat.md @@ -26,7 +26,7 @@ Returns existing chat corresponding to the known channel ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createGroupChat.md b/docs/TD_docs/methods/createGroupChat.md index 0346ac1c..0d0c0d28 100644 --- a/docs/TD_docs/methods/createGroupChat.md +++ b/docs/TD_docs/methods/createGroupChat.md @@ -26,7 +26,7 @@ Returns existing chat corresponding to the known group ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createNewChannelChat.md b/docs/TD_docs/methods/createNewChannelChat.md index 9ac6894d..78072a51 100644 --- a/docs/TD_docs/methods/createNewChannelChat.md +++ b/docs/TD_docs/methods/createNewChannelChat.md @@ -28,7 +28,7 @@ Creates new channel chat and send corresponding messageChannelChatCreate, return ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createNewGroupChat.md b/docs/TD_docs/methods/createNewGroupChat.md index ad3984f5..30ae3d90 100644 --- a/docs/TD_docs/methods/createNewGroupChat.md +++ b/docs/TD_docs/methods/createNewGroupChat.md @@ -27,7 +27,7 @@ Creates new group chat and send corresponding messageGroupChatCreate, returns cr ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createNewSecretChat.md b/docs/TD_docs/methods/createNewSecretChat.md index 787680d7..67cc2b15 100644 --- a/docs/TD_docs/methods/createNewSecretChat.md +++ b/docs/TD_docs/methods/createNewSecretChat.md @@ -26,7 +26,7 @@ Creates new secret chat, returns created chat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createPrivateChat.md b/docs/TD_docs/methods/createPrivateChat.md index dfa39921..9bc7f723 100644 --- a/docs/TD_docs/methods/createPrivateChat.md +++ b/docs/TD_docs/methods/createPrivateChat.md @@ -26,7 +26,7 @@ Returns existing chat corresponding to the given user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/createSecretChat.md b/docs/TD_docs/methods/createSecretChat.md index 660fc6ed..5fd5eccc 100644 --- a/docs/TD_docs/methods/createSecretChat.md +++ b/docs/TD_docs/methods/createSecretChat.md @@ -26,7 +26,7 @@ Returns existing chat corresponding to the known secret chat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteAccount.md b/docs/TD_docs/methods/deleteAccount.md index 1fb4fabe..6c21e81d 100644 --- a/docs/TD_docs/methods/deleteAccount.md +++ b/docs/TD_docs/methods/deleteAccount.md @@ -26,7 +26,7 @@ Deletes the account of currently logged in user, deleting from the server all in ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteChannel.md b/docs/TD_docs/methods/deleteChannel.md index aabcf304..81e0d485 100644 --- a/docs/TD_docs/methods/deleteChannel.md +++ b/docs/TD_docs/methods/deleteChannel.md @@ -26,7 +26,7 @@ Deletes channel along with all messages in corresponding chat. Releases channel ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteChatHistory.md b/docs/TD_docs/methods/deleteChatHistory.md index eb593769..71c89238 100644 --- a/docs/TD_docs/methods/deleteChatHistory.md +++ b/docs/TD_docs/methods/deleteChatHistory.md @@ -27,7 +27,7 @@ Deletes all messages in the chat. Can't be used for channel chats ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteChatReplyMarkup.md b/docs/TD_docs/methods/deleteChatReplyMarkup.md index 37b49915..85307e5a 100644 --- a/docs/TD_docs/methods/deleteChatReplyMarkup.md +++ b/docs/TD_docs/methods/deleteChatReplyMarkup.md @@ -27,7 +27,7 @@ Deletes default reply markup from chat. This method needs to be called after one ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteContacts.md b/docs/TD_docs/methods/deleteContacts.md index afb37f42..9067bfa4 100644 --- a/docs/TD_docs/methods/deleteContacts.md +++ b/docs/TD_docs/methods/deleteContacts.md @@ -26,7 +26,7 @@ Deletes users from contacts list ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteMessages.md b/docs/TD_docs/methods/deleteMessages.md index 0b29c7fa..66744e38 100644 --- a/docs/TD_docs/methods/deleteMessages.md +++ b/docs/TD_docs/methods/deleteMessages.md @@ -27,7 +27,7 @@ Deletes messages. UpdateDeleteMessages will not be sent for messages deleted thr ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteMessagesFromUser.md b/docs/TD_docs/methods/deleteMessagesFromUser.md index c7beaead..9d428ebc 100644 --- a/docs/TD_docs/methods/deleteMessagesFromUser.md +++ b/docs/TD_docs/methods/deleteMessagesFromUser.md @@ -27,7 +27,7 @@ Deletes all messages in the chat sent by the specified user. Works only in super ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteProfilePhoto.md b/docs/TD_docs/methods/deleteProfilePhoto.md index ba50ec5c..49492c7f 100644 --- a/docs/TD_docs/methods/deleteProfilePhoto.md +++ b/docs/TD_docs/methods/deleteProfilePhoto.md @@ -26,7 +26,7 @@ Deletes profile photo. If something changes, updateUser will be sent ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteRecentSticker.md b/docs/TD_docs/methods/deleteRecentSticker.md index e1525846..59f70a32 100644 --- a/docs/TD_docs/methods/deleteRecentSticker.md +++ b/docs/TD_docs/methods/deleteRecentSticker.md @@ -27,7 +27,7 @@ Removes a sticker from the list of recently used stickers ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChat.md b/docs/TD_docs/methods/deleteRecentlyFoundChat.md index 92a34407..f962118a 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChat.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChat.md @@ -26,7 +26,7 @@ Deletes chat from the list of recently found chats ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChats.md b/docs/TD_docs/methods/deleteRecentlyFoundChats.md index c12417e0..32ada104 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChats.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChats.md @@ -25,7 +25,7 @@ Clears list of recently found chats ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/deleteSavedAnimation.md b/docs/TD_docs/methods/deleteSavedAnimation.md index 575480a5..0ebfa7b3 100644 --- a/docs/TD_docs/methods/deleteSavedAnimation.md +++ b/docs/TD_docs/methods/deleteSavedAnimation.md @@ -26,7 +26,7 @@ Removes animation from the list of saved animations ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/downloadFile.md b/docs/TD_docs/methods/downloadFile.md index b029ce0b..8ab64787 100644 --- a/docs/TD_docs/methods/downloadFile.md +++ b/docs/TD_docs/methods/downloadFile.md @@ -26,7 +26,7 @@ Asynchronously downloads file from cloud. Updates updateFileProgress will notify ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editInlineMessageCaption.md b/docs/TD_docs/methods/editInlineMessageCaption.md index d8dc2e0f..72b060bf 100644 --- a/docs/TD_docs/methods/editInlineMessageCaption.md +++ b/docs/TD_docs/methods/editInlineMessageCaption.md @@ -28,7 +28,7 @@ Bots only. Edits caption of an inline message content sent via bot ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md index ebb5c6bd..f61e9e12 100644 --- a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md @@ -27,7 +27,7 @@ Bots only. Edits reply markup of an inline message sent via bot ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editInlineMessageText.md b/docs/TD_docs/methods/editInlineMessageText.md index e7adf3ad..918d70a0 100644 --- a/docs/TD_docs/methods/editInlineMessageText.md +++ b/docs/TD_docs/methods/editInlineMessageText.md @@ -28,7 +28,7 @@ Bots only. Edits text of an inline text or game message sent via bot ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editMessageCaption.md b/docs/TD_docs/methods/editMessageCaption.md index e665b1e1..38c2eba6 100644 --- a/docs/TD_docs/methods/editMessageCaption.md +++ b/docs/TD_docs/methods/editMessageCaption.md @@ -29,7 +29,7 @@ Edits message content caption. Non-bots can edit message in a limited period of ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editMessageReplyMarkup.md b/docs/TD_docs/methods/editMessageReplyMarkup.md index 5be2c4d2..b8436e1e 100644 --- a/docs/TD_docs/methods/editMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editMessageReplyMarkup.md @@ -28,7 +28,7 @@ Bots only. Edits message reply markup. Returns edited message after edit is comp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/editMessageText.md b/docs/TD_docs/methods/editMessageText.md index 48fd48a7..12731fe4 100644 --- a/docs/TD_docs/methods/editMessageText.md +++ b/docs/TD_docs/methods/editMessageText.md @@ -29,7 +29,7 @@ Edits text of text or game message. Non-bots can edit message in a limited perio ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/exportChatInviteLink.md b/docs/TD_docs/methods/exportChatInviteLink.md index 06a23164..f8f4bc09 100644 --- a/docs/TD_docs/methods/exportChatInviteLink.md +++ b/docs/TD_docs/methods/exportChatInviteLink.md @@ -26,7 +26,7 @@ Generates new chat invite link, previously generated link is revoked. Available ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/finishFileGeneration.md b/docs/TD_docs/methods/finishFileGeneration.md index 8a7b8f98..4f480cf9 100644 --- a/docs/TD_docs/methods/finishFileGeneration.md +++ b/docs/TD_docs/methods/finishFileGeneration.md @@ -26,7 +26,7 @@ Finishes file generation ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/forwardMessages.md b/docs/TD_docs/methods/forwardMessages.md index e2cf4d99..f744dfba 100644 --- a/docs/TD_docs/methods/forwardMessages.md +++ b/docs/TD_docs/methods/forwardMessages.md @@ -30,7 +30,7 @@ Forwards previously sent messages. Returns forwarded messages in the same order ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getAccountTtl.md b/docs/TD_docs/methods/getAccountTtl.md index f5f5369b..1456b853 100644 --- a/docs/TD_docs/methods/getAccountTtl.md +++ b/docs/TD_docs/methods/getAccountTtl.md @@ -25,7 +25,7 @@ Returns period of inactivity, after which the account of currently logged in use ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getActiveSessions.md b/docs/TD_docs/methods/getActiveSessions.md index 80dce021..87bbb6af 100644 --- a/docs/TD_docs/methods/getActiveSessions.md +++ b/docs/TD_docs/methods/getActiveSessions.md @@ -25,7 +25,7 @@ Returns all active sessions of logged in user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getArchivedStickerSets.md b/docs/TD_docs/methods/getArchivedStickerSets.md index 817f093c..026309d6 100644 --- a/docs/TD_docs/methods/getArchivedStickerSets.md +++ b/docs/TD_docs/methods/getArchivedStickerSets.md @@ -28,7 +28,7 @@ Returns list of archived sticker sets ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getAttachedStickerSets.md b/docs/TD_docs/methods/getAttachedStickerSets.md index 08de3f15..8e6e19f3 100644 --- a/docs/TD_docs/methods/getAttachedStickerSets.md +++ b/docs/TD_docs/methods/getAttachedStickerSets.md @@ -26,7 +26,7 @@ Returns list of sticker sets attached to a file, currently only photos and video ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getAuthState.md b/docs/TD_docs/methods/getAuthState.md index 8517f9eb..594cffd3 100644 --- a/docs/TD_docs/methods/getAuthState.md +++ b/docs/TD_docs/methods/getAuthState.md @@ -25,7 +25,7 @@ Returns current authorization state, offline request ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getBlockedUsers.md b/docs/TD_docs/methods/getBlockedUsers.md index 5871f090..25b65b6d 100644 --- a/docs/TD_docs/methods/getBlockedUsers.md +++ b/docs/TD_docs/methods/getBlockedUsers.md @@ -27,7 +27,7 @@ Returns users blocked by the current user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getCallbackQueryAnswer.md b/docs/TD_docs/methods/getCallbackQueryAnswer.md index 502797f9..666bf45a 100644 --- a/docs/TD_docs/methods/getCallbackQueryAnswer.md +++ b/docs/TD_docs/methods/getCallbackQueryAnswer.md @@ -28,7 +28,7 @@ Sends callback query to a bot and returns answer to it. Unavailable for bots ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChannel.md b/docs/TD_docs/methods/getChannel.md index 4fa85289..5888aee2 100644 --- a/docs/TD_docs/methods/getChannel.md +++ b/docs/TD_docs/methods/getChannel.md @@ -26,7 +26,7 @@ Returns information about a channel by its identifier, offline request if curren ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChannelFull.md b/docs/TD_docs/methods/getChannelFull.md index 2575efbc..dbfd2412 100644 --- a/docs/TD_docs/methods/getChannelFull.md +++ b/docs/TD_docs/methods/getChannelFull.md @@ -26,7 +26,7 @@ Returns full information about a channel by its identifier, cached for at most 1 ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChannelMembers.md b/docs/TD_docs/methods/getChannelMembers.md index 4b85cd8f..c357de93 100644 --- a/docs/TD_docs/methods/getChannelMembers.md +++ b/docs/TD_docs/methods/getChannelMembers.md @@ -29,7 +29,7 @@ Returns information about channel members or kicked from channel users. Can be u ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChat.md b/docs/TD_docs/methods/getChat.md index d102969c..4e947157 100644 --- a/docs/TD_docs/methods/getChat.md +++ b/docs/TD_docs/methods/getChat.md @@ -26,7 +26,7 @@ Returns information about a chat by its identifier, offline request if current u ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChatHistory.md b/docs/TD_docs/methods/getChatHistory.md index d1551c6f..467048a7 100644 --- a/docs/TD_docs/methods/getChatHistory.md +++ b/docs/TD_docs/methods/getChatHistory.md @@ -29,7 +29,7 @@ Returns messages in a chat. Automatically calls openChat. Returns result in reve ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChatMember.md b/docs/TD_docs/methods/getChatMember.md index 832df941..0b5e32d0 100644 --- a/docs/TD_docs/methods/getChatMember.md +++ b/docs/TD_docs/methods/getChatMember.md @@ -27,7 +27,7 @@ Returns information about one participant of the chat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChatReportSpamState.md b/docs/TD_docs/methods/getChatReportSpamState.md index a20bf8b4..ac415d9d 100644 --- a/docs/TD_docs/methods/getChatReportSpamState.md +++ b/docs/TD_docs/methods/getChatReportSpamState.md @@ -26,7 +26,7 @@ Returns current chat report spam state ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getChats.md b/docs/TD_docs/methods/getChats.md index 52f47708..1f937281 100644 --- a/docs/TD_docs/methods/getChats.md +++ b/docs/TD_docs/methods/getChats.md @@ -28,7 +28,7 @@ Returns list of chats in the right order, chats are sorted by (order, chat_id) i ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getCommonChats.md b/docs/TD_docs/methods/getCommonChats.md index 3688fc30..7630cefa 100644 --- a/docs/TD_docs/methods/getCommonChats.md +++ b/docs/TD_docs/methods/getCommonChats.md @@ -28,7 +28,7 @@ Returns list of common chats with an other given user. Chats are sorted by their ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getCreatedPublicChannels.md b/docs/TD_docs/methods/getCreatedPublicChannels.md index e0d9b368..4ede049a 100644 --- a/docs/TD_docs/methods/getCreatedPublicChannels.md +++ b/docs/TD_docs/methods/getCreatedPublicChannels.md @@ -25,7 +25,7 @@ Returns list of created public channels ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getDeviceTokens.md b/docs/TD_docs/methods/getDeviceTokens.md index 0a664dc0..24fbea2f 100644 --- a/docs/TD_docs/methods/getDeviceTokens.md +++ b/docs/TD_docs/methods/getDeviceTokens.md @@ -25,7 +25,7 @@ Returns list of used device tokens ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getFile.md b/docs/TD_docs/methods/getFile.md index bcbe8395..a1b139e0 100644 --- a/docs/TD_docs/methods/getFile.md +++ b/docs/TD_docs/methods/getFile.md @@ -26,7 +26,7 @@ Returns information about a file, offline request ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getFilePersistent.md b/docs/TD_docs/methods/getFilePersistent.md index ddcb7d99..912d79d6 100644 --- a/docs/TD_docs/methods/getFilePersistent.md +++ b/docs/TD_docs/methods/getFilePersistent.md @@ -26,7 +26,7 @@ Returns information about a file by its persistent id, offline request ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getGameHighScores.md b/docs/TD_docs/methods/getGameHighScores.md index 03b94905..c5b7a300 100644 --- a/docs/TD_docs/methods/getGameHighScores.md +++ b/docs/TD_docs/methods/getGameHighScores.md @@ -28,7 +28,7 @@ Bots only. Returns game high scores and some part of the score table around of t ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getGroup.md b/docs/TD_docs/methods/getGroup.md index 8d34bec5..19b192da 100644 --- a/docs/TD_docs/methods/getGroup.md +++ b/docs/TD_docs/methods/getGroup.md @@ -26,7 +26,7 @@ Returns information about a group by its identifier, offline request if current ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getGroupFull.md b/docs/TD_docs/methods/getGroupFull.md index 2cc2a8dd..84a84443 100644 --- a/docs/TD_docs/methods/getGroupFull.md +++ b/docs/TD_docs/methods/getGroupFull.md @@ -26,7 +26,7 @@ Returns full information about a group by its identifier ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getInlineGameHighScores.md b/docs/TD_docs/methods/getInlineGameHighScores.md index bed8a546..760d256f 100644 --- a/docs/TD_docs/methods/getInlineGameHighScores.md +++ b/docs/TD_docs/methods/getInlineGameHighScores.md @@ -27,7 +27,7 @@ Bots only. Returns game high scores and some part of the score table around of t ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getInlineQueryResults.md b/docs/TD_docs/methods/getInlineQueryResults.md index 2898b89a..e6775be2 100644 --- a/docs/TD_docs/methods/getInlineQueryResults.md +++ b/docs/TD_docs/methods/getInlineQueryResults.md @@ -30,7 +30,7 @@ Sends inline query to a bot and returns its results. Unavailable for bots ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getMe.md b/docs/TD_docs/methods/getMe.md index 447610b8..d03da9db 100644 --- a/docs/TD_docs/methods/getMe.md +++ b/docs/TD_docs/methods/getMe.md @@ -25,7 +25,7 @@ Returns current logged in user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getMessage.md b/docs/TD_docs/methods/getMessage.md index e96cb496..a957d463 100644 --- a/docs/TD_docs/methods/getMessage.md +++ b/docs/TD_docs/methods/getMessage.md @@ -27,7 +27,7 @@ Returns information about a message ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getMessages.md b/docs/TD_docs/methods/getMessages.md index cb0c5870..8264d34f 100644 --- a/docs/TD_docs/methods/getMessages.md +++ b/docs/TD_docs/methods/getMessages.md @@ -27,7 +27,7 @@ Returns information about messages. If message is not found, returns null on the ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getNotificationSettings.md b/docs/TD_docs/methods/getNotificationSettings.md index 0c307be5..64175061 100644 --- a/docs/TD_docs/methods/getNotificationSettings.md +++ b/docs/TD_docs/methods/getNotificationSettings.md @@ -26,7 +26,7 @@ Returns notification settings for a given scope ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getOption.md b/docs/TD_docs/methods/getOption.md index 88be2298..0344f679 100644 --- a/docs/TD_docs/methods/getOption.md +++ b/docs/TD_docs/methods/getOption.md @@ -26,7 +26,7 @@ Returns value of an option by its name. See list of available options on https: ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getPasswordState.md b/docs/TD_docs/methods/getPasswordState.md index 78903e9a..128c950e 100644 --- a/docs/TD_docs/methods/getPasswordState.md +++ b/docs/TD_docs/methods/getPasswordState.md @@ -25,7 +25,7 @@ Returns current state of two-step verification ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getPrivacy.md b/docs/TD_docs/methods/getPrivacy.md index b93a4d6b..92e3a578 100644 --- a/docs/TD_docs/methods/getPrivacy.md +++ b/docs/TD_docs/methods/getPrivacy.md @@ -26,7 +26,7 @@ Returns current privacy settings ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getRecentInlineBots.md b/docs/TD_docs/methods/getRecentInlineBots.md index e7731ae0..0a70b638 100644 --- a/docs/TD_docs/methods/getRecentInlineBots.md +++ b/docs/TD_docs/methods/getRecentInlineBots.md @@ -25,7 +25,7 @@ Returns up to 20 recently used inline bots in the order of the last usage ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getRecentStickers.md b/docs/TD_docs/methods/getRecentStickers.md index c2009b2f..82affb7d 100644 --- a/docs/TD_docs/methods/getRecentStickers.md +++ b/docs/TD_docs/methods/getRecentStickers.md @@ -26,7 +26,7 @@ Returns list of recently used stickers ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getRecoveryEmail.md b/docs/TD_docs/methods/getRecoveryEmail.md index 4b8cccc8..7f48cbd9 100644 --- a/docs/TD_docs/methods/getRecoveryEmail.md +++ b/docs/TD_docs/methods/getRecoveryEmail.md @@ -26,7 +26,7 @@ Returns set up recovery email. This method can be used to verify a password prov ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getSavedAnimations.md b/docs/TD_docs/methods/getSavedAnimations.md index f10a3a2f..e4105dff 100644 --- a/docs/TD_docs/methods/getSavedAnimations.md +++ b/docs/TD_docs/methods/getSavedAnimations.md @@ -25,7 +25,7 @@ Returns saved animations ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getSecretChat.md b/docs/TD_docs/methods/getSecretChat.md index 42d099f8..671e6fea 100644 --- a/docs/TD_docs/methods/getSecretChat.md +++ b/docs/TD_docs/methods/getSecretChat.md @@ -26,7 +26,7 @@ Returns information about a secret chat by its identifier, offline request ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getStickerEmojis.md b/docs/TD_docs/methods/getStickerEmojis.md index a11dc364..09ce000a 100644 --- a/docs/TD_docs/methods/getStickerEmojis.md +++ b/docs/TD_docs/methods/getStickerEmojis.md @@ -26,7 +26,7 @@ Returns emojis corresponding to a sticker ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getStickerSet.md b/docs/TD_docs/methods/getStickerSet.md index a4f844d8..f40386eb 100644 --- a/docs/TD_docs/methods/getStickerSet.md +++ b/docs/TD_docs/methods/getStickerSet.md @@ -26,7 +26,7 @@ Returns information about sticker set by its identifier ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getStickerSets.md b/docs/TD_docs/methods/getStickerSets.md index b455a723..c6c87966 100644 --- a/docs/TD_docs/methods/getStickerSets.md +++ b/docs/TD_docs/methods/getStickerSets.md @@ -26,7 +26,7 @@ Returns list of installed sticker sets without archived sticker sets ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getStickers.md b/docs/TD_docs/methods/getStickers.md index b9de008f..09a5c57d 100644 --- a/docs/TD_docs/methods/getStickers.md +++ b/docs/TD_docs/methods/getStickers.md @@ -26,7 +26,7 @@ Returns stickers corresponding to given emoji ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getSupportUser.md b/docs/TD_docs/methods/getSupportUser.md index c29346ae..1264eb6f 100644 --- a/docs/TD_docs/methods/getSupportUser.md +++ b/docs/TD_docs/methods/getSupportUser.md @@ -25,7 +25,7 @@ Returns user that can be contacted to get support ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getTrendingStickerSets.md b/docs/TD_docs/methods/getTrendingStickerSets.md index 09597349..5382c50a 100644 --- a/docs/TD_docs/methods/getTrendingStickerSets.md +++ b/docs/TD_docs/methods/getTrendingStickerSets.md @@ -25,7 +25,7 @@ Returns list of trending sticker sets ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getUser.md b/docs/TD_docs/methods/getUser.md index 15ae658b..fe8b8e5d 100644 --- a/docs/TD_docs/methods/getUser.md +++ b/docs/TD_docs/methods/getUser.md @@ -26,7 +26,7 @@ Returns information about a user by its identifier, offline request if current u ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getUserFull.md b/docs/TD_docs/methods/getUserFull.md index 3e745282..835600ba 100644 --- a/docs/TD_docs/methods/getUserFull.md +++ b/docs/TD_docs/methods/getUserFull.md @@ -26,7 +26,7 @@ Returns full information about a user by its identifier ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getUserProfilePhotos.md b/docs/TD_docs/methods/getUserProfilePhotos.md index 462d7bed..7abd5073 100644 --- a/docs/TD_docs/methods/getUserProfilePhotos.md +++ b/docs/TD_docs/methods/getUserProfilePhotos.md @@ -28,7 +28,7 @@ Returns profile photos of the user. Result of this query can't be invalidated, s ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getWallpapers.md b/docs/TD_docs/methods/getWallpapers.md index f3976943..9ac41bc0 100644 --- a/docs/TD_docs/methods/getWallpapers.md +++ b/docs/TD_docs/methods/getWallpapers.md @@ -25,7 +25,7 @@ Returns background wallpapers ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/getWebPagePreview.md b/docs/TD_docs/methods/getWebPagePreview.md index 55e7ef0c..321d5ff6 100644 --- a/docs/TD_docs/methods/getWebPagePreview.md +++ b/docs/TD_docs/methods/getWebPagePreview.md @@ -26,7 +26,7 @@ Get web page preview by text of the message. Do not call this function to often ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/importChatInviteLink.md b/docs/TD_docs/methods/importChatInviteLink.md index 8bf46ad2..467385d1 100644 --- a/docs/TD_docs/methods/importChatInviteLink.md +++ b/docs/TD_docs/methods/importChatInviteLink.md @@ -26,7 +26,7 @@ Imports chat invite link, adds current user to a chat if possible. Member will n ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/importContacts.md b/docs/TD_docs/methods/importContacts.md index ff203c91..0110fb55 100644 --- a/docs/TD_docs/methods/importContacts.md +++ b/docs/TD_docs/methods/importContacts.md @@ -26,7 +26,7 @@ Adds new contacts/edits existing contacts, contacts user identifiers are ignored ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md index 53f7a41b..256cf967 100644 --- a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md +++ b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md @@ -26,7 +26,7 @@ Creates new channel supergroup chat from existing group chat and send correspond ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/openChat.md b/docs/TD_docs/methods/openChat.md index 23a75ac9..defac0aa 100644 --- a/docs/TD_docs/methods/openChat.md +++ b/docs/TD_docs/methods/openChat.md @@ -26,7 +26,7 @@ Chat is opened by the user. Many useful activities depends on chat being opened ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/openMessageContent.md b/docs/TD_docs/methods/openMessageContent.md index 02748c0d..a64dcff7 100644 --- a/docs/TD_docs/methods/openMessageContent.md +++ b/docs/TD_docs/methods/openMessageContent.md @@ -27,7 +27,7 @@ Message content is opened, for example the user has opened a photo, a video, a d ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/pinChannelMessage.md b/docs/TD_docs/methods/pinChannelMessage.md index 6bf07649..917451e0 100644 --- a/docs/TD_docs/methods/pinChannelMessage.md +++ b/docs/TD_docs/methods/pinChannelMessage.md @@ -28,7 +28,7 @@ Pins a message in a supergroup channel chat. Needs editor privileges in the chan ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/recoverAuthPassword.md b/docs/TD_docs/methods/recoverAuthPassword.md index 8df51fe7..9244b2ba 100644 --- a/docs/TD_docs/methods/recoverAuthPassword.md +++ b/docs/TD_docs/methods/recoverAuthPassword.md @@ -26,7 +26,7 @@ Recovers password with recovery code sent to email. Works only when authGetState ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/recoverPassword.md b/docs/TD_docs/methods/recoverPassword.md index 625caa00..b19d6314 100644 --- a/docs/TD_docs/methods/recoverPassword.md +++ b/docs/TD_docs/methods/recoverPassword.md @@ -26,7 +26,7 @@ Recovers password with recovery code sent to email ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/registerDevice.md b/docs/TD_docs/methods/registerDevice.md index dc0fea8b..21b7d86c 100644 --- a/docs/TD_docs/methods/registerDevice.md +++ b/docs/TD_docs/methods/registerDevice.md @@ -26,7 +26,7 @@ Registers current used device for receiving push notifications ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/reorderStickerSets.md b/docs/TD_docs/methods/reorderStickerSets.md index 4ad05e38..908db673 100644 --- a/docs/TD_docs/methods/reorderStickerSets.md +++ b/docs/TD_docs/methods/reorderStickerSets.md @@ -27,7 +27,7 @@ Changes the order of installed sticker sets ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/reportChannelSpam.md b/docs/TD_docs/methods/reportChannelSpam.md index 1223c6fa..44ec04bb 100644 --- a/docs/TD_docs/methods/reportChannelSpam.md +++ b/docs/TD_docs/methods/reportChannelSpam.md @@ -28,7 +28,7 @@ Reports some supergroup channel messages from a user as spam messages ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/requestAuthPasswordRecovery.md b/docs/TD_docs/methods/requestAuthPasswordRecovery.md index 39595c76..b1da296b 100644 --- a/docs/TD_docs/methods/requestAuthPasswordRecovery.md +++ b/docs/TD_docs/methods/requestAuthPasswordRecovery.md @@ -25,7 +25,7 @@ Requests to send password recovery code to email. Works only when authGetState r ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/requestPasswordRecovery.md b/docs/TD_docs/methods/requestPasswordRecovery.md index 102127ca..e9fe4e0f 100644 --- a/docs/TD_docs/methods/requestPasswordRecovery.md +++ b/docs/TD_docs/methods/requestPasswordRecovery.md @@ -25,7 +25,7 @@ Requests to send password recovery code to email ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/resendAuthCode.md b/docs/TD_docs/methods/resendAuthCode.md index 9c09bf44..968713b2 100644 --- a/docs/TD_docs/methods/resendAuthCode.md +++ b/docs/TD_docs/methods/resendAuthCode.md @@ -25,7 +25,7 @@ Resends authentication code to the user. Works only when authGetState returns au ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/resendChangePhoneNumberCode.md b/docs/TD_docs/methods/resendChangePhoneNumberCode.md index fe9d9e3f..e19d140b 100644 --- a/docs/TD_docs/methods/resendChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/resendChangePhoneNumberCode.md @@ -25,7 +25,7 @@ Resends authentication code sent to change user's phone number. Wotks only if in ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/resetAllNotificationSettings.md b/docs/TD_docs/methods/resetAllNotificationSettings.md index a87a848c..d456dea7 100644 --- a/docs/TD_docs/methods/resetAllNotificationSettings.md +++ b/docs/TD_docs/methods/resetAllNotificationSettings.md @@ -25,7 +25,7 @@ Resets all notification settings to the default value. By default the only muted ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/resetAuth.md b/docs/TD_docs/methods/resetAuth.md index 02a30934..2e5b0936 100644 --- a/docs/TD_docs/methods/resetAuth.md +++ b/docs/TD_docs/methods/resetAuth.md @@ -26,7 +26,7 @@ Logs out user. If force == false, begins to perform soft log out, returns authSt ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchChatMessages.md b/docs/TD_docs/methods/searchChatMessages.md index 9111a17a..79212943 100644 --- a/docs/TD_docs/methods/searchChatMessages.md +++ b/docs/TD_docs/methods/searchChatMessages.md @@ -30,7 +30,7 @@ Searches for messages with given words in the chat. Returns result in reverse ch ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchChats.md b/docs/TD_docs/methods/searchChats.md index dae99b2d..c238feaf 100644 --- a/docs/TD_docs/methods/searchChats.md +++ b/docs/TD_docs/methods/searchChats.md @@ -27,7 +27,7 @@ Searches for specified query in the title and username of known chats, offline r ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchContacts.md b/docs/TD_docs/methods/searchContacts.md index bd357310..9efe3f28 100644 --- a/docs/TD_docs/methods/searchContacts.md +++ b/docs/TD_docs/methods/searchContacts.md @@ -27,7 +27,7 @@ Searches for specified query in the first name, last name and username of the kn ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchMessages.md b/docs/TD_docs/methods/searchMessages.md index 7c151ff7..a6ca26b3 100644 --- a/docs/TD_docs/methods/searchMessages.md +++ b/docs/TD_docs/methods/searchMessages.md @@ -30,7 +30,7 @@ Searches for messages in all chats except secret chats. Returns result in revers ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchPublicChat.md b/docs/TD_docs/methods/searchPublicChat.md index ffaebc0c..11b70156 100644 --- a/docs/TD_docs/methods/searchPublicChat.md +++ b/docs/TD_docs/methods/searchPublicChat.md @@ -26,7 +26,7 @@ Searches public chat by its username. Currently only private and channel chats c ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchPublicChats.md b/docs/TD_docs/methods/searchPublicChats.md index cb431712..c38a05bf 100644 --- a/docs/TD_docs/methods/searchPublicChats.md +++ b/docs/TD_docs/methods/searchPublicChats.md @@ -26,7 +26,7 @@ Searches public chats by prefix of their username. Currently only private and ch ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/searchStickerSet.md b/docs/TD_docs/methods/searchStickerSet.md index f3890fd7..ad2e559d 100644 --- a/docs/TD_docs/methods/searchStickerSet.md +++ b/docs/TD_docs/methods/searchStickerSet.md @@ -26,7 +26,7 @@ Searches sticker set by its short name ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendBotStartMessage.md b/docs/TD_docs/methods/sendBotStartMessage.md index 7014c370..8a46957c 100644 --- a/docs/TD_docs/methods/sendBotStartMessage.md +++ b/docs/TD_docs/methods/sendBotStartMessage.md @@ -28,7 +28,7 @@ Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can' ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendChatAction.md b/docs/TD_docs/methods/sendChatAction.md index b6abaeaf..1ce2ea52 100644 --- a/docs/TD_docs/methods/sendChatAction.md +++ b/docs/TD_docs/methods/sendChatAction.md @@ -27,7 +27,7 @@ Sends notification about user activity in a chat ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md index f6b9cf81..42c7c4ff 100644 --- a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md +++ b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md @@ -26,7 +26,7 @@ Sends notification about screenshot taken in a chat. Works only in secret chats ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendChatSetTtlMessage.md b/docs/TD_docs/methods/sendChatSetTtlMessage.md index 34758497..0878904d 100644 --- a/docs/TD_docs/methods/sendChatSetTtlMessage.md +++ b/docs/TD_docs/methods/sendChatSetTtlMessage.md @@ -27,7 +27,7 @@ Changes current ttl setting in a secret chat and sends corresponding message ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendInlineQueryResultMessage.md b/docs/TD_docs/methods/sendInlineQueryResultMessage.md index f3aebf2d..f9443500 100644 --- a/docs/TD_docs/methods/sendInlineQueryResultMessage.md +++ b/docs/TD_docs/methods/sendInlineQueryResultMessage.md @@ -31,7 +31,7 @@ Sends result of the inline query as a message. Returns sent message. UpdateChatT ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/sendMessage.md b/docs/TD_docs/methods/sendMessage.md index 7ee6d071..5eeda84b 100644 --- a/docs/TD_docs/methods/sendMessage.md +++ b/docs/TD_docs/methods/sendMessage.md @@ -31,7 +31,7 @@ Sends a message. Returns sent message. UpdateChatTopMessage will not be sent, so ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setAlarm.md b/docs/TD_docs/methods/setAlarm.md index 1811725b..f582ed5e 100644 --- a/docs/TD_docs/methods/setAlarm.md +++ b/docs/TD_docs/methods/setAlarm.md @@ -26,7 +26,7 @@ Returns Ok after specified amount of the time passed ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setAuthPhoneNumber.md b/docs/TD_docs/methods/setAuthPhoneNumber.md index 7595349a..aa6f8fbb 100644 --- a/docs/TD_docs/methods/setAuthPhoneNumber.md +++ b/docs/TD_docs/methods/setAuthPhoneNumber.md @@ -28,7 +28,7 @@ Sets user's phone number and sends authentication code to the user. Works only w ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setBotUpdatesStatus.md b/docs/TD_docs/methods/setBotUpdatesStatus.md index efdff351..1d8efe60 100644 --- a/docs/TD_docs/methods/setBotUpdatesStatus.md +++ b/docs/TD_docs/methods/setBotUpdatesStatus.md @@ -27,7 +27,7 @@ Bots only. Informs server about number of pending bot updates if they aren't pro ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setFileGenerationProgress.md b/docs/TD_docs/methods/setFileGenerationProgress.md index 264658d8..4fe9358b 100644 --- a/docs/TD_docs/methods/setFileGenerationProgress.md +++ b/docs/TD_docs/methods/setFileGenerationProgress.md @@ -27,7 +27,7 @@ Next part of a file was generated ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setGameScore.md b/docs/TD_docs/methods/setGameScore.md index 024480bf..8b0201a1 100644 --- a/docs/TD_docs/methods/setGameScore.md +++ b/docs/TD_docs/methods/setGameScore.md @@ -31,7 +31,7 @@ Bots only. Updates game score of the specified user in the game ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setInlineGameScore.md b/docs/TD_docs/methods/setInlineGameScore.md index 650da421..7245aeba 100644 --- a/docs/TD_docs/methods/setInlineGameScore.md +++ b/docs/TD_docs/methods/setInlineGameScore.md @@ -30,7 +30,7 @@ Bots only. Updates game score of the specified user in the game ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setNotificationSettings.md b/docs/TD_docs/methods/setNotificationSettings.md index 05219163..7ba833e1 100644 --- a/docs/TD_docs/methods/setNotificationSettings.md +++ b/docs/TD_docs/methods/setNotificationSettings.md @@ -27,7 +27,7 @@ Changes notification settings for a given scope ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setOption.md b/docs/TD_docs/methods/setOption.md index 8986944e..60af8853 100644 --- a/docs/TD_docs/methods/setOption.md +++ b/docs/TD_docs/methods/setOption.md @@ -27,7 +27,7 @@ Sets value of an option. See list of available options on https: core.telegram.o ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setPassword.md b/docs/TD_docs/methods/setPassword.md index 6e41b062..fdf6d9e0 100644 --- a/docs/TD_docs/methods/setPassword.md +++ b/docs/TD_docs/methods/setPassword.md @@ -30,7 +30,7 @@ Changes user password. If new recovery email is specified, then error EMAIL_UNCO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setPrivacy.md b/docs/TD_docs/methods/setPrivacy.md index f6bb55f7..16b1342f 100644 --- a/docs/TD_docs/methods/setPrivacy.md +++ b/docs/TD_docs/methods/setPrivacy.md @@ -27,7 +27,7 @@ Changes privacy settings ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setProfilePhoto.md b/docs/TD_docs/methods/setProfilePhoto.md index 62bb4491..25df2185 100644 --- a/docs/TD_docs/methods/setProfilePhoto.md +++ b/docs/TD_docs/methods/setProfilePhoto.md @@ -26,7 +26,7 @@ Uploads new profile photo for logged in user. Photo will not change until change ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/setRecoveryEmail.md b/docs/TD_docs/methods/setRecoveryEmail.md index 6d6a3d85..26ece321 100644 --- a/docs/TD_docs/methods/setRecoveryEmail.md +++ b/docs/TD_docs/methods/setRecoveryEmail.md @@ -27,7 +27,7 @@ Changes user recovery email. If new recovery email is specified, then error EMAI ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/terminateAllOtherSessions.md b/docs/TD_docs/methods/terminateAllOtherSessions.md index 5588d85e..9c1614eb 100644 --- a/docs/TD_docs/methods/terminateAllOtherSessions.md +++ b/docs/TD_docs/methods/terminateAllOtherSessions.md @@ -25,7 +25,7 @@ Terminates all other sessions of logged in user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/terminateSession.md b/docs/TD_docs/methods/terminateSession.md index eb039b52..08c3b08c 100644 --- a/docs/TD_docs/methods/terminateSession.md +++ b/docs/TD_docs/methods/terminateSession.md @@ -26,7 +26,7 @@ Terminates another session of logged in user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callBytes.md b/docs/TD_docs/methods/test_callBytes.md index ae59666f..1d7ed561 100644 --- a/docs/TD_docs/methods/test_callBytes.md +++ b/docs/TD_docs/methods/test_callBytes.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callEmpty.md b/docs/TD_docs/methods/test_callEmpty.md index 33114df0..03bda401 100644 --- a/docs/TD_docs/methods/test_callEmpty.md +++ b/docs/TD_docs/methods/test_callEmpty.md @@ -19,7 +19,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callString.md b/docs/TD_docs/methods/test_callString.md index 847ca52a..4ec32152 100644 --- a/docs/TD_docs/methods/test_callString.md +++ b/docs/TD_docs/methods/test_callString.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callVectorInt.md b/docs/TD_docs/methods/test_callVectorInt.md index 3fc7d657..c96bbea1 100644 --- a/docs/TD_docs/methods/test_callVectorInt.md +++ b/docs/TD_docs/methods/test_callVectorInt.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callVectorIntObject.md b/docs/TD_docs/methods/test_callVectorIntObject.md index 4a0d3d57..85d9d943 100644 --- a/docs/TD_docs/methods/test_callVectorIntObject.md +++ b/docs/TD_docs/methods/test_callVectorIntObject.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callVectorString.md b/docs/TD_docs/methods/test_callVectorString.md index db15f292..0c2ae380 100644 --- a/docs/TD_docs/methods/test_callVectorString.md +++ b/docs/TD_docs/methods/test_callVectorString.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_callVectorStringObject.md b/docs/TD_docs/methods/test_callVectorStringObject.md index ccd5a7bd..f998bcca 100644 --- a/docs/TD_docs/methods/test_callVectorStringObject.md +++ b/docs/TD_docs/methods/test_callVectorStringObject.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_forceGetDifference.md b/docs/TD_docs/methods/test_forceGetDifference.md index 3e2a496b..45f1240a 100644 --- a/docs/TD_docs/methods/test_forceGetDifference.md +++ b/docs/TD_docs/methods/test_forceGetDifference.md @@ -19,7 +19,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_squareInt.md b/docs/TD_docs/methods/test_squareInt.md index 9ca6f401..e642c7a9 100644 --- a/docs/TD_docs/methods/test_squareInt.md +++ b/docs/TD_docs/methods/test_squareInt.md @@ -24,7 +24,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/test_testNet.md b/docs/TD_docs/methods/test_testNet.md index 9f4647b7..7ecf299b 100644 --- a/docs/TD_docs/methods/test_testNet.md +++ b/docs/TD_docs/methods/test_testNet.md @@ -19,7 +19,7 @@ YOU CANNOT USE THIS METHOD IN MADELINEPROTO ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/toggleChannelInvites.md b/docs/TD_docs/methods/toggleChannelInvites.md index 7184e667..3cf5344a 100644 --- a/docs/TD_docs/methods/toggleChannelInvites.md +++ b/docs/TD_docs/methods/toggleChannelInvites.md @@ -27,7 +27,7 @@ Gives or revokes right to invite new members to all current members of the chann ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/toggleChannelSignMessages.md b/docs/TD_docs/methods/toggleChannelSignMessages.md index 230d5d91..fb1c7ed5 100644 --- a/docs/TD_docs/methods/toggleChannelSignMessages.md +++ b/docs/TD_docs/methods/toggleChannelSignMessages.md @@ -27,7 +27,7 @@ Enables or disables sender signature on sent messages in the channel. Needs crea ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/toggleGroupEditors.md b/docs/TD_docs/methods/toggleGroupEditors.md index b078be82..3660cac3 100644 --- a/docs/TD_docs/methods/toggleGroupEditors.md +++ b/docs/TD_docs/methods/toggleGroupEditors.md @@ -27,7 +27,7 @@ Gives or revokes all members of the group editor rights. Needs creator privilege ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/unblockUser.md b/docs/TD_docs/methods/unblockUser.md index 08b9cec4..e6040cff 100644 --- a/docs/TD_docs/methods/unblockUser.md +++ b/docs/TD_docs/methods/unblockUser.md @@ -26,7 +26,7 @@ Removes user from black list ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/unpinChannelMessage.md b/docs/TD_docs/methods/unpinChannelMessage.md index 7d2bb3a8..11897584 100644 --- a/docs/TD_docs/methods/unpinChannelMessage.md +++ b/docs/TD_docs/methods/unpinChannelMessage.md @@ -26,7 +26,7 @@ Removes pinned message in the supergroup channel. Needs editor privileges in the ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/updateStickerSet.md b/docs/TD_docs/methods/updateStickerSet.md index 944449fc..2c6377e7 100644 --- a/docs/TD_docs/methods/updateStickerSet.md +++ b/docs/TD_docs/methods/updateStickerSet.md @@ -28,7 +28,7 @@ Installs/uninstalls or enables/archives sticker set. Official sticker set can't ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/viewMessages.md b/docs/TD_docs/methods/viewMessages.md index 95ea218b..ffc5ce14 100644 --- a/docs/TD_docs/methods/viewMessages.md +++ b/docs/TD_docs/methods/viewMessages.md @@ -27,7 +27,7 @@ Messages are viewed by the user. Many useful activities depends on message being ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/docs/TD_docs/methods/viewTrendingStickerSets.md b/docs/TD_docs/methods/viewTrendingStickerSets.md index 86b9f32d..b6272c2f 100644 --- a/docs/TD_docs/methods/viewTrendingStickerSets.md +++ b/docs/TD_docs/methods/viewTrendingStickerSets.md @@ -26,7 +26,7 @@ Trending sticker sets are viewed by the user ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_checkUsername.md b/old_docs/API_docs_v18/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_updateProfile.md b/old_docs/API_docs_v18/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_updateStatus.md b/old_docs/API_docs_v18/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/account_updateUsername.md b/old_docs/API_docs_v18/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_importAuthorization.md b/old_docs/API_docs_v18/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v18/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_logOut.md b/old_docs/API_docs_v18/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v18/methods/auth_logOut.md +++ b/old_docs/API_docs_v18/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_sendCode.md b/old_docs/API_docs_v18/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCode.md +++ b/old_docs/API_docs_v18/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_sendSms.md b/old_docs/API_docs_v18/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_signIn.md b/old_docs/API_docs_v18/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v18/methods/auth_signIn.md +++ b/old_docs/API_docs_v18/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/auth_signUp.md b/old_docs/API_docs_v18/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v18/methods/auth_signUp.md +++ b/old_docs/API_docs_v18/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContact.md b/old_docs/API_docs_v18/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_getContacts.md b/old_docs/API_docs_v18/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_importCard.md b/old_docs/API_docs_v18/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_importContacts.md b/old_docs/API_docs_v18/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_search.md b/old_docs/API_docs_v18/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/contacts_unblock.md b/old_docs/API_docs_v18/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_getAppUpdate.md b/old_docs/API_docs_v18/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_getConfig.md b/old_docs/API_docs_v18/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_getNearestDc.md b/old_docs/API_docs_v18/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsg.md b/old_docs/API_docs_v18/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/invokeWithLayer18.md b/old_docs/API_docs_v18/methods/invokeWithLayer18.md index 1a858597..e3522bc9 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -21,7 +21,7 @@ description: invokeWithLayer18 parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 08a6a211..27d3e9e4 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_createChat.md b/old_docs/API_docs_v18/methods/messages_createChat.md index bc03bffd..e38f22d1 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md index 8bec908f..fca941c5 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_deleteHistory.md b/old_docs/API_docs_v18/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_deleteMessages.md b/old_docs/API_docs_v18/methods/messages_deleteMessages.md index a9fbcdf6..304739e6 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_discardEncryption.md b/old_docs/API_docs_v18/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v18/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md index d4f432b3..8059f2c6 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_editChatTitle.md b/old_docs/API_docs_v18/methods/messages_editChatTitle.md index 1a0c87a0..57df4da0 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessage.md b/old_docs/API_docs_v18/methods/messages_forwardMessage.md index 841980c8..b4458464 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessages.md b/old_docs/API_docs_v18/methods/messages_forwardMessages.md index c22265a5..bd6a9875 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getChats.md b/old_docs/API_docs_v18/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getDhConfig.md b/old_docs/API_docs_v18/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v18/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index 6d037eab..f929de3b 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -23,7 +23,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getFullChat.md b/old_docs/API_docs_v18/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v18/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v18/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index 4b96dba9..c7cf0b9b 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -24,7 +24,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_getMessages.md b/old_docs/API_docs_v18/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_readHistory.md b/old_docs/API_docs_v18/methods/messages_readHistory.md index 704fab41..343ce060 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -24,7 +24,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_readMessageContents.md b/old_docs/API_docs_v18/methods/messages_readMessageContents.md index 5854ded4..4dc6e901 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_receivedMessages.md b/old_docs/API_docs_v18/methods/messages_receivedMessages.md index 7ad8e8d5..19e8313b 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_receivedQueue.md b/old_docs/API_docs_v18/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v18/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_requestEncryption.md b/old_docs/API_docs_v18/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v18/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md index 7f36a823..2badc4e0 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendMedia.md b/old_docs/API_docs_v18/methods/messages_sendMedia.md index 4ad73412..fbfca74b 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -22,7 +22,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_sendMessage.md b/old_docs/API_docs_v18/methods/messages_sendMessage.md index 777d8ae9..dbd6ed8e 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -22,7 +22,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/messages_setTyping.md b/old_docs/API_docs_v18/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/photos_deletePhotos.md b/old_docs/API_docs_v18/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md index d8a5d6c9..257ec1ba 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/updates_getDifference.md b/old_docs/API_docs_v18/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v18/methods/updates_getDifference.md +++ b/old_docs/API_docs_v18/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/updates_getState.md b/old_docs/API_docs_v18/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v18/methods/updates_getState.md +++ b/old_docs/API_docs_v18/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/upload_getFile.md b/old_docs/API_docs_v18/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v18/methods/upload_getFile.md +++ b/old_docs/API_docs_v18/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/upload_saveFilePart.md b/old_docs/API_docs_v18/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v18/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/users_getFullUser.md b/old_docs/API_docs_v18/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v18/methods/users_getFullUser.md +++ b/old_docs/API_docs_v18/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_changePhone.md b/old_docs/API_docs_v23/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_checkUsername.md b/old_docs/API_docs_v23/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_deleteAccount.md b/old_docs/API_docs_v23/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_getPrivacy.md b/old_docs/API_docs_v23/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_reportPeer.md b/old_docs/API_docs_v23/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_setAccountTTL.md b/old_docs/API_docs_v23/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_setPrivacy.md b/old_docs/API_docs_v23/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_unregisterDevice.md b/old_docs/API_docs_v23/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_updateProfile.md b/old_docs/API_docs_v23/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_updateStatus.md b/old_docs/API_docs_v23/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/account_updateUsername.md b/old_docs/API_docs_v23/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_importAuthorization.md b/old_docs/API_docs_v23/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v23/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_logOut.md b/old_docs/API_docs_v23/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v23/methods/auth_logOut.md +++ b/old_docs/API_docs_v23/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_sendCode.md b/old_docs/API_docs_v23/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCode.md +++ b/old_docs/API_docs_v23/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_sendSms.md b/old_docs/API_docs_v23/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_signIn.md b/old_docs/API_docs_v23/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v23/methods/auth_signIn.md +++ b/old_docs/API_docs_v23/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/auth_signUp.md b/old_docs/API_docs_v23/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v23/methods/auth_signUp.md +++ b/old_docs/API_docs_v23/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContact.md b/old_docs/API_docs_v23/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_getContacts.md b/old_docs/API_docs_v23/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_importCard.md b/old_docs/API_docs_v23/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_importContacts.md b/old_docs/API_docs_v23/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md index 909a3331..b9880602 100644 --- a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/contacts_unblock.md b/old_docs/API_docs_v23/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_getAppUpdate.md b/old_docs/API_docs_v23/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_getConfig.md b/old_docs/API_docs_v23/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_getNearestDc.md b/old_docs/API_docs_v23/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsg.md b/old_docs/API_docs_v23/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/invokeWithLayer.md b/old_docs/API_docs_v23/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 08a6a211..27d3e9e4 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_createChat.md b/old_docs/API_docs_v23/methods/messages_createChat.md index bc03bffd..e38f22d1 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md index 8bec908f..fca941c5 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_deleteHistory.md b/old_docs/API_docs_v23/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_deleteMessages.md b/old_docs/API_docs_v23/methods/messages_deleteMessages.md index a9fbcdf6..304739e6 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_discardEncryption.md b/old_docs/API_docs_v23/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v23/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md index d4f432b3..8059f2c6 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_editChatTitle.md b/old_docs/API_docs_v23/methods/messages_editChatTitle.md index 1a0c87a0..57df4da0 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessage.md b/old_docs/API_docs_v23/methods/messages_forwardMessage.md index 841980c8..b4458464 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessages.md b/old_docs/API_docs_v23/methods/messages_forwardMessages.md index c22265a5..bd6a9875 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getAllStickers.md b/old_docs/API_docs_v23/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getChats.md b/old_docs/API_docs_v23/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getDhConfig.md b/old_docs/API_docs_v23/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v23/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index 6d037eab..f929de3b 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -23,7 +23,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getFullChat.md b/old_docs/API_docs_v23/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v23/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v23/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index 4b96dba9..c7cf0b9b 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -24,7 +24,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getMessages.md b/old_docs/API_docs_v23/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_getStickers.md b/old_docs/API_docs_v23/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_readHistory.md b/old_docs/API_docs_v23/methods/messages_readHistory.md index 704fab41..343ce060 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -24,7 +24,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_readMessageContents.md b/old_docs/API_docs_v23/methods/messages_readMessageContents.md index 5854ded4..4dc6e901 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_receivedMessages.md b/old_docs/API_docs_v23/methods/messages_receivedMessages.md index 7ad8e8d5..19e8313b 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_receivedQueue.md b/old_docs/API_docs_v23/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v23/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_requestEncryption.md b/old_docs/API_docs_v23/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v23/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md index 7f36a823..2badc4e0 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendMedia.md b/old_docs/API_docs_v23/methods/messages_sendMedia.md index 4ad73412..fbfca74b 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -22,7 +22,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_sendMessage.md b/old_docs/API_docs_v23/methods/messages_sendMessage.md index 777d8ae9..dbd6ed8e 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -22,7 +22,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/messages_setTyping.md b/old_docs/API_docs_v23/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/photos_deletePhotos.md b/old_docs/API_docs_v23/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md index d8a5d6c9..257ec1ba 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/updates_getDifference.md b/old_docs/API_docs_v23/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v23/methods/updates_getDifference.md +++ b/old_docs/API_docs_v23/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/updates_getState.md b/old_docs/API_docs_v23/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v23/methods/updates_getState.md +++ b/old_docs/API_docs_v23/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/upload_getFile.md b/old_docs/API_docs_v23/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v23/methods/upload_getFile.md +++ b/old_docs/API_docs_v23/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/upload_saveFilePart.md b/old_docs/API_docs_v23/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v23/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/users_getFullUser.md b/old_docs/API_docs_v23/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v23/methods/users_getFullUser.md +++ b/old_docs/API_docs_v23/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_changePhone.md b/old_docs/API_docs_v25/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_checkUsername.md b/old_docs/API_docs_v25/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_deleteAccount.md b/old_docs/API_docs_v25/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_setAccountTTL.md b/old_docs/API_docs_v25/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_setPassword.md b/old_docs/API_docs_v25/methods/account_setPassword.md index 37efc3e0..0c81a43f 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -24,7 +24,7 @@ description: account.setPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_setPrivacy.md b/old_docs/API_docs_v25/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_unregisterDevice.md b/old_docs/API_docs_v25/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_updateProfile.md b/old_docs/API_docs_v25/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_updateStatus.md b/old_docs/API_docs_v25/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/account_updateUsername.md b/old_docs/API_docs_v25/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_checkPassword.md b/old_docs/API_docs_v25/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v25/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_importAuthorization.md b/old_docs/API_docs_v25/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v25/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_logOut.md b/old_docs/API_docs_v25/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v25/methods/auth_logOut.md +++ b/old_docs/API_docs_v25/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_sendCode.md b/old_docs/API_docs_v25/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCode.md +++ b/old_docs/API_docs_v25/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_sendSms.md b/old_docs/API_docs_v25/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_signIn.md b/old_docs/API_docs_v25/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v25/methods/auth_signIn.md +++ b/old_docs/API_docs_v25/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/auth_signUp.md b/old_docs/API_docs_v25/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v25/methods/auth_signUp.md +++ b/old_docs/API_docs_v25/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContact.md b/old_docs/API_docs_v25/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_getContacts.md b/old_docs/API_docs_v25/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_importCard.md b/old_docs/API_docs_v25/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_importContacts.md b/old_docs/API_docs_v25/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md index 909a3331..b9880602 100644 --- a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/contacts_unblock.md b/old_docs/API_docs_v25/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_checkin.md b/old_docs/API_docs_v25/methods/geochats_checkin.md index d19e4f8e..df1295d3 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -21,7 +21,7 @@ description: geochats.checkin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md index e389a52a..dfc710c7 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -24,7 +24,7 @@ description: geochats.createGeoChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md index 9d2a3802..698a41be 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -22,7 +22,7 @@ description: geochats.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md index 499e487f..7587cbab 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -23,7 +23,7 @@ description: geochats.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_getFullChat.md b/old_docs/API_docs_v25/methods/geochats_getFullChat.md index e49b6532..ba291e0c 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -21,7 +21,7 @@ description: geochats.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_getHistory.md b/old_docs/API_docs_v25/methods/geochats_getHistory.md index 295075b1..86aadefe 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -24,7 +24,7 @@ description: geochats.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_getLocated.md b/old_docs/API_docs_v25/methods/geochats_getLocated.md index 41b922e5..592490cd 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -23,7 +23,7 @@ description: geochats.getLocated parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_getRecents.md b/old_docs/API_docs_v25/methods/geochats_getRecents.md index 7e0704ae..294152ba 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -22,7 +22,7 @@ description: geochats.getRecents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_search.md b/old_docs/API_docs_v25/methods/geochats_search.md index b0eaa160..b5607464 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -28,7 +28,7 @@ description: geochats.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_sendMedia.md b/old_docs/API_docs_v25/methods/geochats_sendMedia.md index 4b3343c6..56c2098f 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -22,7 +22,7 @@ description: geochats.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_sendMessage.md b/old_docs/API_docs_v25/methods/geochats_sendMessage.md index 4e49a020..bfcff1a2 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -22,7 +22,7 @@ description: geochats.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/geochats_setTyping.md b/old_docs/API_docs_v25/methods/geochats_setTyping.md index 3e920247..3ca86a0a 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -22,7 +22,7 @@ description: geochats.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_getAppUpdate.md b/old_docs/API_docs_v25/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_getConfig.md b/old_docs/API_docs_v25/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_getNearestDc.md b/old_docs/API_docs_v25/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsg.md b/old_docs/API_docs_v25/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/invokeWithLayer.md b/old_docs/API_docs_v25/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 08a6a211..27d3e9e4 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_createChat.md b/old_docs/API_docs_v25/methods/messages_createChat.md index bc03bffd..e38f22d1 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md index 8bec908f..fca941c5 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_deleteHistory.md b/old_docs/API_docs_v25/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_deleteMessages.md b/old_docs/API_docs_v25/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_discardEncryption.md b/old_docs/API_docs_v25/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v25/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md index d4f432b3..8059f2c6 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_editChatTitle.md b/old_docs/API_docs_v25/methods/messages_editChatTitle.md index 1a0c87a0..57df4da0 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessage.md b/old_docs/API_docs_v25/methods/messages_forwardMessage.md index 841980c8..b4458464 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessages.md b/old_docs/API_docs_v25/methods/messages_forwardMessages.md index c22265a5..bd6a9875 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getAllStickers.md b/old_docs/API_docs_v25/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getChats.md b/old_docs/API_docs_v25/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getDhConfig.md b/old_docs/API_docs_v25/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v25/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index 6d037eab..f929de3b 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -23,7 +23,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getFullChat.md b/old_docs/API_docs_v25/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v25/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v25/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index 4b96dba9..c7cf0b9b 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -24,7 +24,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getMessages.md b/old_docs/API_docs_v25/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_getStickers.md b/old_docs/API_docs_v25/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_readHistory.md b/old_docs/API_docs_v25/methods/messages_readHistory.md index 1083b414..dc13f6f6 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -23,7 +23,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_readMessageContents.md b/old_docs/API_docs_v25/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_receivedMessages.md b/old_docs/API_docs_v25/methods/messages_receivedMessages.md index 7ad8e8d5..19e8313b 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_receivedQueue.md b/old_docs/API_docs_v25/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v25/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_requestEncryption.md b/old_docs/API_docs_v25/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v25/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md index 7f36a823..2badc4e0 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendMedia.md b/old_docs/API_docs_v25/methods/messages_sendMedia.md index 34bf45be..ac0163a3 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -23,7 +23,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_sendMessage.md b/old_docs/API_docs_v25/methods/messages_sendMessage.md index 87d4a00c..0bceedab 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -23,7 +23,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/messages_setTyping.md b/old_docs/API_docs_v25/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/photos_deletePhotos.md b/old_docs/API_docs_v25/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md index d8a5d6c9..257ec1ba 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/updates_getDifference.md b/old_docs/API_docs_v25/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v25/methods/updates_getDifference.md +++ b/old_docs/API_docs_v25/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/updates_getState.md b/old_docs/API_docs_v25/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v25/methods/updates_getState.md +++ b/old_docs/API_docs_v25/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/upload_getFile.md b/old_docs/API_docs_v25/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v25/methods/upload_getFile.md +++ b/old_docs/API_docs_v25/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/upload_saveFilePart.md b/old_docs/API_docs_v25/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v25/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/users_getFullUser.md b/old_docs/API_docs_v25/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v25/methods/users_getFullUser.md +++ b/old_docs/API_docs_v25/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_changePhone.md b/old_docs/API_docs_v27/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_checkUsername.md b/old_docs/API_docs_v27/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_deleteAccount.md b/old_docs/API_docs_v27/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getPrivacy.md b/old_docs/API_docs_v27/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_resetAuthorization.md b/old_docs/API_docs_v27/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_setAccountTTL.md b/old_docs/API_docs_v27/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_setPrivacy.md b/old_docs/API_docs_v27/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_unregisterDevice.md b/old_docs/API_docs_v27/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updateProfile.md b/old_docs/API_docs_v27/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updateStatus.md b/old_docs/API_docs_v27/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/account_updateUsername.md b/old_docs/API_docs_v27/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_checkPassword.md b/old_docs/API_docs_v27/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v27/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_importAuthorization.md b/old_docs/API_docs_v27/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v27/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_logOut.md b/old_docs/API_docs_v27/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v27/methods/auth_logOut.md +++ b/old_docs/API_docs_v27/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_sendCode.md b/old_docs/API_docs_v27/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCode.md +++ b/old_docs/API_docs_v27/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_sendSms.md b/old_docs/API_docs_v27/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_signIn.md b/old_docs/API_docs_v27/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v27/methods/auth_signIn.md +++ b/old_docs/API_docs_v27/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/auth_signUp.md b/old_docs/API_docs_v27/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v27/methods/auth_signUp.md +++ b/old_docs/API_docs_v27/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContact.md b/old_docs/API_docs_v27/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_getContacts.md b/old_docs/API_docs_v27/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_importCard.md b/old_docs/API_docs_v27/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_importContacts.md b/old_docs/API_docs_v27/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md index 909a3331..b9880602 100644 --- a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/contacts_unblock.md b/old_docs/API_docs_v27/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_checkin.md b/old_docs/API_docs_v27/methods/geochats_checkin.md index d19e4f8e..df1295d3 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -21,7 +21,7 @@ description: geochats.checkin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md index e389a52a..dfc710c7 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -24,7 +24,7 @@ description: geochats.createGeoChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md index 9d2a3802..698a41be 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -22,7 +22,7 @@ description: geochats.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md index 499e487f..7587cbab 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -23,7 +23,7 @@ description: geochats.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_getFullChat.md b/old_docs/API_docs_v27/methods/geochats_getFullChat.md index e49b6532..ba291e0c 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -21,7 +21,7 @@ description: geochats.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_getHistory.md b/old_docs/API_docs_v27/methods/geochats_getHistory.md index 295075b1..86aadefe 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -24,7 +24,7 @@ description: geochats.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_getLocated.md b/old_docs/API_docs_v27/methods/geochats_getLocated.md index 41b922e5..592490cd 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -23,7 +23,7 @@ description: geochats.getLocated parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_getRecents.md b/old_docs/API_docs_v27/methods/geochats_getRecents.md index 7e0704ae..294152ba 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -22,7 +22,7 @@ description: geochats.getRecents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_search.md b/old_docs/API_docs_v27/methods/geochats_search.md index b0eaa160..b5607464 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -28,7 +28,7 @@ description: geochats.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_sendMedia.md b/old_docs/API_docs_v27/methods/geochats_sendMedia.md index 4b3343c6..56c2098f 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -22,7 +22,7 @@ description: geochats.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_sendMessage.md b/old_docs/API_docs_v27/methods/geochats_sendMessage.md index 4e49a020..bfcff1a2 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -22,7 +22,7 @@ description: geochats.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/geochats_setTyping.md b/old_docs/API_docs_v27/methods/geochats_setTyping.md index 3e920247..3ca86a0a 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -22,7 +22,7 @@ description: geochats.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_getAppUpdate.md b/old_docs/API_docs_v27/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_getConfig.md b/old_docs/API_docs_v27/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_getNearestDc.md b/old_docs/API_docs_v27/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsg.md b/old_docs/API_docs_v27/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/invokeWithLayer.md b/old_docs/API_docs_v27/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_createChat.md b/old_docs/API_docs_v27/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_deleteHistory.md b/old_docs/API_docs_v27/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_deleteMessages.md b/old_docs/API_docs_v27/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_discardEncryption.md b/old_docs/API_docs_v27/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v27/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_editChatTitle.md b/old_docs/API_docs_v27/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessage.md b/old_docs/API_docs_v27/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessages.md b/old_docs/API_docs_v27/methods/messages_forwardMessages.md index 2410784c..73f7e733 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getAllStickers.md b/old_docs/API_docs_v27/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getChats.md b/old_docs/API_docs_v27/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getDhConfig.md b/old_docs/API_docs_v27/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v27/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index 6d037eab..f929de3b 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -23,7 +23,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getFullChat.md b/old_docs/API_docs_v27/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v27/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v27/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index 4b96dba9..c7cf0b9b 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -24,7 +24,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getMessages.md b/old_docs/API_docs_v27/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getStickers.md b/old_docs/API_docs_v27/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_readHistory.md b/old_docs/API_docs_v27/methods/messages_readHistory.md index 1083b414..dc13f6f6 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -23,7 +23,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_readMessageContents.md b/old_docs/API_docs_v27/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_receivedMessages.md b/old_docs/API_docs_v27/methods/messages_receivedMessages.md index 7ad8e8d5..19e8313b 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_receivedQueue.md b/old_docs/API_docs_v27/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v27/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_requestEncryption.md b/old_docs/API_docs_v27/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v27/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendMedia.md b/old_docs/API_docs_v27/methods/messages_sendMedia.md index 9f048ccc..fc74bae2 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -23,7 +23,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_sendMessage.md b/old_docs/API_docs_v27/methods/messages_sendMessage.md index 0b50d907..a5ea42ce 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -23,7 +23,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/messages_setTyping.md b/old_docs/API_docs_v27/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/photos_deletePhotos.md b/old_docs/API_docs_v27/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md index d8a5d6c9..257ec1ba 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/updates_getDifference.md b/old_docs/API_docs_v27/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v27/methods/updates_getDifference.md +++ b/old_docs/API_docs_v27/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/updates_getState.md b/old_docs/API_docs_v27/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v27/methods/updates_getState.md +++ b/old_docs/API_docs_v27/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/upload_getFile.md b/old_docs/API_docs_v27/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v27/methods/upload_getFile.md +++ b/old_docs/API_docs_v27/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/upload_saveFilePart.md b/old_docs/API_docs_v27/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v27/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/users_getFullUser.md b/old_docs/API_docs_v27/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v27/methods/users_getFullUser.md +++ b/old_docs/API_docs_v27/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_changePhone.md b/old_docs/API_docs_v33/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_checkUsername.md b/old_docs/API_docs_v33/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_deleteAccount.md b/old_docs/API_docs_v33/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getPrivacy.md b/old_docs/API_docs_v33/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_resetAuthorization.md b/old_docs/API_docs_v33/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_setAccountTTL.md b/old_docs/API_docs_v33/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_setPrivacy.md b/old_docs/API_docs_v33/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_unregisterDevice.md b/old_docs/API_docs_v33/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updateProfile.md b/old_docs/API_docs_v33/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updateStatus.md b/old_docs/API_docs_v33/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/account_updateUsername.md b/old_docs/API_docs_v33/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_checkPassword.md b/old_docs/API_docs_v33/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v33/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_importAuthorization.md b/old_docs/API_docs_v33/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v33/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_logOut.md b/old_docs/API_docs_v33/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v33/methods/auth_logOut.md +++ b/old_docs/API_docs_v33/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_sendCode.md b/old_docs/API_docs_v33/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCode.md +++ b/old_docs/API_docs_v33/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_sendSms.md b/old_docs/API_docs_v33/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_signIn.md b/old_docs/API_docs_v33/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v33/methods/auth_signIn.md +++ b/old_docs/API_docs_v33/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/auth_signUp.md b/old_docs/API_docs_v33/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v33/methods/auth_signUp.md +++ b/old_docs/API_docs_v33/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContact.md b/old_docs/API_docs_v33/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_getContacts.md b/old_docs/API_docs_v33/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_importCard.md b/old_docs/API_docs_v33/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_importContacts.md b/old_docs/API_docs_v33/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md index 909a3331..b9880602 100644 --- a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/contacts_unblock.md b/old_docs/API_docs_v33/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_checkin.md b/old_docs/API_docs_v33/methods/geochats_checkin.md index d19e4f8e..df1295d3 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -21,7 +21,7 @@ description: geochats.checkin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md index e389a52a..dfc710c7 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -24,7 +24,7 @@ description: geochats.createGeoChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md index 9d2a3802..698a41be 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -22,7 +22,7 @@ description: geochats.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md index 499e487f..7587cbab 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -23,7 +23,7 @@ description: geochats.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_getFullChat.md b/old_docs/API_docs_v33/methods/geochats_getFullChat.md index e49b6532..ba291e0c 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -21,7 +21,7 @@ description: geochats.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_getHistory.md b/old_docs/API_docs_v33/methods/geochats_getHistory.md index 295075b1..86aadefe 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -24,7 +24,7 @@ description: geochats.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_getLocated.md b/old_docs/API_docs_v33/methods/geochats_getLocated.md index 41b922e5..592490cd 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -23,7 +23,7 @@ description: geochats.getLocated parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_getRecents.md b/old_docs/API_docs_v33/methods/geochats_getRecents.md index 7e0704ae..294152ba 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -22,7 +22,7 @@ description: geochats.getRecents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_search.md b/old_docs/API_docs_v33/methods/geochats_search.md index b0eaa160..b5607464 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -28,7 +28,7 @@ description: geochats.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_sendMedia.md b/old_docs/API_docs_v33/methods/geochats_sendMedia.md index 4b3343c6..56c2098f 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -22,7 +22,7 @@ description: geochats.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_sendMessage.md b/old_docs/API_docs_v33/methods/geochats_sendMessage.md index 4e49a020..bfcff1a2 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -22,7 +22,7 @@ description: geochats.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/geochats_setTyping.md b/old_docs/API_docs_v33/methods/geochats_setTyping.md index 3e920247..3ca86a0a 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -22,7 +22,7 @@ description: geochats.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getAppChangelog.md b/old_docs/API_docs_v33/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getAppUpdate.md b/old_docs/API_docs_v33/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getConfig.md b/old_docs/API_docs_v33/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getNearestDc.md b/old_docs/API_docs_v33/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsg.md b/old_docs/API_docs_v33/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/invokeWithLayer.md b/old_docs/API_docs_v33/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_createChat.md b/old_docs/API_docs_v33/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_deleteHistory.md b/old_docs/API_docs_v33/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_deleteMessages.md b/old_docs/API_docs_v33/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_discardEncryption.md b/old_docs/API_docs_v33/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v33/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_editChatTitle.md b/old_docs/API_docs_v33/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessage.md b/old_docs/API_docs_v33/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessages.md b/old_docs/API_docs_v33/methods/messages_forwardMessages.md index 2410784c..73f7e733 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getAllStickers.md b/old_docs/API_docs_v33/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getChats.md b/old_docs/API_docs_v33/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getDhConfig.md b/old_docs/API_docs_v33/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v33/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index 6d037eab..f929de3b 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -23,7 +23,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getFullChat.md b/old_docs/API_docs_v33/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v33/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v33/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index 4b96dba9..c7cf0b9b 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -24,7 +24,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getMessages.md b/old_docs/API_docs_v33/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getStickerSet.md b/old_docs/API_docs_v33/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getStickers.md b/old_docs/API_docs_v33/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_importChatInvite.md b/old_docs/API_docs_v33/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_installStickerSet.md b/old_docs/API_docs_v33/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_readHistory.md b/old_docs/API_docs_v33/methods/messages_readHistory.md index 1083b414..dc13f6f6 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -23,7 +23,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_readMessageContents.md b/old_docs/API_docs_v33/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_receivedMessages.md b/old_docs/API_docs_v33/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_receivedQueue.md b/old_docs/API_docs_v33/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v33/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_requestEncryption.md b/old_docs/API_docs_v33/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v33/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendMedia.md b/old_docs/API_docs_v33/methods/messages_sendMedia.md index e6d7cb94..1000737b 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -24,7 +24,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_sendMessage.md b/old_docs/API_docs_v33/methods/messages_sendMessage.md index ea89516d..6b5a407b 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -24,7 +24,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_setTyping.md b/old_docs/API_docs_v33/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_startBot.md b/old_docs/API_docs_v33/methods/messages_startBot.md index c6c8e1f9..4b809b0f 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/photos_deletePhotos.md b/old_docs/API_docs_v33/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/updates_getDifference.md b/old_docs/API_docs_v33/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v33/methods/updates_getDifference.md +++ b/old_docs/API_docs_v33/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/updates_getState.md b/old_docs/API_docs_v33/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v33/methods/updates_getState.md +++ b/old_docs/API_docs_v33/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/upload_getFile.md b/old_docs/API_docs_v33/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v33/methods/upload_getFile.md +++ b/old_docs/API_docs_v33/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/upload_saveFilePart.md b/old_docs/API_docs_v33/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v33/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/users_getFullUser.md b/old_docs/API_docs_v33/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v33/methods/users_getFullUser.md +++ b/old_docs/API_docs_v33/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_changePhone.md b/old_docs/API_docs_v38/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_checkUsername.md b/old_docs/API_docs_v38/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_deleteAccount.md b/old_docs/API_docs_v38/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getPrivacy.md b/old_docs/API_docs_v38/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_resetAuthorization.md b/old_docs/API_docs_v38/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_setAccountTTL.md b/old_docs/API_docs_v38/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_setPrivacy.md b/old_docs/API_docs_v38/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_unregisterDevice.md b/old_docs/API_docs_v38/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updateProfile.md b/old_docs/API_docs_v38/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updateStatus.md b/old_docs/API_docs_v38/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/account_updateUsername.md b/old_docs/API_docs_v38/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_checkPassword.md b/old_docs/API_docs_v38/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v38/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_importAuthorization.md b/old_docs/API_docs_v38/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v38/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_logOut.md b/old_docs/API_docs_v38/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v38/methods/auth_logOut.md +++ b/old_docs/API_docs_v38/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_sendCode.md b/old_docs/API_docs_v38/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCode.md +++ b/old_docs/API_docs_v38/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_sendSms.md b/old_docs/API_docs_v38/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_signIn.md b/old_docs/API_docs_v38/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v38/methods/auth_signIn.md +++ b/old_docs/API_docs_v38/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/auth_signUp.md b/old_docs/API_docs_v38/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v38/methods/auth_signUp.md +++ b/old_docs/API_docs_v38/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_createChannel.md b/old_docs/API_docs_v38/methods/channels_createChannel.md index b97a5272..15dc3d5f 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -23,7 +23,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_deleteChannel.md b/old_docs/API_docs_v38/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_deleteMessages.md b/old_docs/API_docs_v38/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_editAbout.md b/old_docs/API_docs_v38/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_editAdmin.md b/old_docs/API_docs_v38/methods/channels_editAdmin.md index 85285a50..ad3010f3 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_editPhoto.md b/old_docs/API_docs_v38/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_editTitle.md b/old_docs/API_docs_v38/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_exportInvite.md b/old_docs/API_docs_v38/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getChannels.md b/old_docs/API_docs_v38/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getDialogs.md b/old_docs/API_docs_v38/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getFullChannel.md b/old_docs/API_docs_v38/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v38/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v38/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getMessages.md b/old_docs/API_docs_v38/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getParticipant.md b/old_docs/API_docs_v38/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_joinChannel.md b/old_docs/API_docs_v38/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_leaveChannel.md b/old_docs/API_docs_v38/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_readHistory.md b/old_docs/API_docs_v38/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_reportSpam.md b/old_docs/API_docs_v38/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_toggleComments.md b/old_docs/API_docs_v38/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/channels_updateUsername.md b/old_docs/API_docs_v38/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_block.md b/old_docs/API_docs_v38/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContact.md b/old_docs/API_docs_v38/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_getContacts.md b/old_docs/API_docs_v38/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_importCard.md b/old_docs/API_docs_v38/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_importContacts.md b/old_docs/API_docs_v38/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/contacts_unblock.md b/old_docs/API_docs_v38/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getAppChangelog.md b/old_docs/API_docs_v38/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getAppUpdate.md b/old_docs/API_docs_v38/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getConfig.md b/old_docs/API_docs_v38/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getNearestDc.md b/old_docs/API_docs_v38/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsg.md b/old_docs/API_docs_v38/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/invokeWithLayer.md b/old_docs/API_docs_v38/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_createChat.md b/old_docs/API_docs_v38/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_deleteHistory.md b/old_docs/API_docs_v38/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_deleteMessages.md b/old_docs/API_docs_v38/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_discardEncryption.md b/old_docs/API_docs_v38/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v38/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_editChatTitle.md b/old_docs/API_docs_v38/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessage.md b/old_docs/API_docs_v38/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessages.md b/old_docs/API_docs_v38/methods/messages_forwardMessages.md index 5fc7505e..52a03e09 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -23,7 +23,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getAllStickers.md b/old_docs/API_docs_v38/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getChats.md b/old_docs/API_docs_v38/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getDhConfig.md b/old_docs/API_docs_v38/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v38/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index f261715e..4336683f 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -22,7 +22,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getFullChat.md b/old_docs/API_docs_v38/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v38/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v38/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getMessages.md b/old_docs/API_docs_v38/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getStickerSet.md b/old_docs/API_docs_v38/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getStickers.md b/old_docs/API_docs_v38/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_importChatInvite.md b/old_docs/API_docs_v38/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_installStickerSet.md b/old_docs/API_docs_v38/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_readHistory.md b/old_docs/API_docs_v38/methods/messages_readHistory.md index 1083b414..dc13f6f6 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -23,7 +23,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_readMessageContents.md b/old_docs/API_docs_v38/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_receivedMessages.md b/old_docs/API_docs_v38/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_receivedQueue.md b/old_docs/API_docs_v38/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v38/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_requestEncryption.md b/old_docs/API_docs_v38/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v38/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendMedia.md b/old_docs/API_docs_v38/methods/messages_sendMedia.md index e6d7cb94..1000737b 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -24,7 +24,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index cf945004..558935d2 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -26,7 +26,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_setTyping.md b/old_docs/API_docs_v38/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_startBot.md b/old_docs/API_docs_v38/methods/messages_startBot.md index c6c8e1f9..4b809b0f 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/photos_deletePhotos.md b/old_docs/API_docs_v38/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/updates_getDifference.md b/old_docs/API_docs_v38/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v38/methods/updates_getDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/updates_getState.md b/old_docs/API_docs_v38/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v38/methods/updates_getState.md +++ b/old_docs/API_docs_v38/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/upload_getFile.md b/old_docs/API_docs_v38/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v38/methods/upload_getFile.md +++ b/old_docs/API_docs_v38/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/upload_saveFilePart.md b/old_docs/API_docs_v38/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v38/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/users_getFullUser.md b/old_docs/API_docs_v38/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v38/methods/users_getFullUser.md +++ b/old_docs/API_docs_v38/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_changePhone.md b/old_docs/API_docs_v40/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_checkUsername.md b/old_docs/API_docs_v40/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_deleteAccount.md b/old_docs/API_docs_v40/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getPrivacy.md b/old_docs/API_docs_v40/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_resetAuthorization.md b/old_docs/API_docs_v40/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_setAccountTTL.md b/old_docs/API_docs_v40/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_setPrivacy.md b/old_docs/API_docs_v40/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_unregisterDevice.md b/old_docs/API_docs_v40/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updateProfile.md b/old_docs/API_docs_v40/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updateStatus.md b/old_docs/API_docs_v40/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/account_updateUsername.md b/old_docs/API_docs_v40/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_checkPassword.md b/old_docs/API_docs_v40/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v40/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_importAuthorization.md b/old_docs/API_docs_v40/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v40/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_logOut.md b/old_docs/API_docs_v40/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v40/methods/auth_logOut.md +++ b/old_docs/API_docs_v40/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_sendCode.md b/old_docs/API_docs_v40/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCode.md +++ b/old_docs/API_docs_v40/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_sendSms.md b/old_docs/API_docs_v40/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_signIn.md b/old_docs/API_docs_v40/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v40/methods/auth_signIn.md +++ b/old_docs/API_docs_v40/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/auth_signUp.md b/old_docs/API_docs_v40/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v40/methods/auth_signUp.md +++ b/old_docs/API_docs_v40/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContact.md b/old_docs/API_docs_v40/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_getContacts.md b/old_docs/API_docs_v40/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_importCard.md b/old_docs/API_docs_v40/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_importContacts.md b/old_docs/API_docs_v40/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md index 909a3331..b9880602 100644 --- a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/contacts_unblock.md b/old_docs/API_docs_v40/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getAppChangelog.md b/old_docs/API_docs_v40/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getAppUpdate.md b/old_docs/API_docs_v40/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getConfig.md b/old_docs/API_docs_v40/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getNearestDc.md b/old_docs/API_docs_v40/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsg.md b/old_docs/API_docs_v40/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/invokeWithLayer.md b/old_docs/API_docs_v40/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_createChannel.md b/old_docs/API_docs_v40/methods/messages_createChannel.md index 0a4ae7d4..02548916 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -21,7 +21,7 @@ description: messages.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_createChat.md b/old_docs/API_docs_v40/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md index 063e5eac..a2e2c90e 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -22,7 +22,7 @@ description: messages.deleteChannelMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_deleteHistory.md b/old_docs/API_docs_v40/methods/messages_deleteHistory.md index c0762753..50cb66a0 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_deleteMessages.md b/old_docs/API_docs_v40/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_discardEncryption.md b/old_docs/API_docs_v40/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v40/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_editChatTitle.md b/old_docs/API_docs_v40/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessage.md b/old_docs/API_docs_v40/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessages.md b/old_docs/API_docs_v40/methods/messages_forwardMessages.md index 2410784c..73f7e733 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -22,7 +22,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getAllStickers.md b/old_docs/API_docs_v40/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md index 3f8536d3..ee3323b1 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -22,7 +22,7 @@ description: messages.getChannelDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getChats.md b/old_docs/API_docs_v40/methods/messages_getChats.md index 78c61ade..f202db1e 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getDhConfig.md b/old_docs/API_docs_v40/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v40/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index f261715e..4336683f 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -22,7 +22,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getFullChat.md b/old_docs/API_docs_v40/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v40/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v40/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index 4ea3d853..42dc822f 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -25,7 +25,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md index efab1326..24918aca 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -24,7 +24,7 @@ description: messages.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getMessages.md b/old_docs/API_docs_v40/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getStickerSet.md b/old_docs/API_docs_v40/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getStickers.md b/old_docs/API_docs_v40/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_importChatInvite.md b/old_docs/API_docs_v40/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_installStickerSet.md b/old_docs/API_docs_v40/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md index 04711e2c..3b027133 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -22,7 +22,7 @@ description: messages.readChannelHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_readHistory.md b/old_docs/API_docs_v40/methods/messages_readHistory.md index 1083b414..dc13f6f6 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -23,7 +23,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_readMessageContents.md b/old_docs/API_docs_v40/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_receivedMessages.md b/old_docs/API_docs_v40/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_receivedQueue.md b/old_docs/API_docs_v40/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v40/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_requestEncryption.md b/old_docs/API_docs_v40/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v40/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendMedia.md b/old_docs/API_docs_v40/methods/messages_sendMedia.md index e6d7cb94..1000737b 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -24,7 +24,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index cf945004..558935d2 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -26,7 +26,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_setTyping.md b/old_docs/API_docs_v40/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_startBot.md b/old_docs/API_docs_v40/methods/messages_startBot.md index c6c8e1f9..4b809b0f 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/photos_deletePhotos.md b/old_docs/API_docs_v40/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md index 9d49a9dd..89e70350 100644 --- a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/updates_getDifference.md b/old_docs/API_docs_v40/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v40/methods/updates_getDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/updates_getState.md b/old_docs/API_docs_v40/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v40/methods/updates_getState.md +++ b/old_docs/API_docs_v40/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/upload_getFile.md b/old_docs/API_docs_v40/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v40/methods/upload_getFile.md +++ b/old_docs/API_docs_v40/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/upload_saveFilePart.md b/old_docs/API_docs_v40/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v40/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/users_getFullUser.md b/old_docs/API_docs_v40/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v40/methods/users_getFullUser.md +++ b/old_docs/API_docs_v40/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_changePhone.md b/old_docs/API_docs_v41/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_checkUsername.md b/old_docs/API_docs_v41/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_deleteAccount.md b/old_docs/API_docs_v41/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getPrivacy.md b/old_docs/API_docs_v41/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_resetAuthorization.md b/old_docs/API_docs_v41/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_setAccountTTL.md b/old_docs/API_docs_v41/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_setPrivacy.md b/old_docs/API_docs_v41/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_unregisterDevice.md b/old_docs/API_docs_v41/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updateProfile.md b/old_docs/API_docs_v41/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updateStatus.md b/old_docs/API_docs_v41/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/account_updateUsername.md b/old_docs/API_docs_v41/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_checkPassword.md b/old_docs/API_docs_v41/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v41/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_importAuthorization.md b/old_docs/API_docs_v41/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v41/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_logOut.md b/old_docs/API_docs_v41/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v41/methods/auth_logOut.md +++ b/old_docs/API_docs_v41/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_sendCode.md b/old_docs/API_docs_v41/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCode.md +++ b/old_docs/API_docs_v41/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_sendSms.md b/old_docs/API_docs_v41/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_signIn.md b/old_docs/API_docs_v41/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v41/methods/auth_signIn.md +++ b/old_docs/API_docs_v41/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/auth_signUp.md b/old_docs/API_docs_v41/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v41/methods/auth_signUp.md +++ b/old_docs/API_docs_v41/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_createChannel.md b/old_docs/API_docs_v41/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_deleteChannel.md b/old_docs/API_docs_v41/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_deleteMessages.md b/old_docs/API_docs_v41/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_editAbout.md b/old_docs/API_docs_v41/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_editAdmin.md b/old_docs/API_docs_v41/methods/channels_editAdmin.md index 85285a50..ad3010f3 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_editPhoto.md b/old_docs/API_docs_v41/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_editTitle.md b/old_docs/API_docs_v41/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_exportInvite.md b/old_docs/API_docs_v41/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getChannels.md b/old_docs/API_docs_v41/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getDialogs.md b/old_docs/API_docs_v41/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getFullChannel.md b/old_docs/API_docs_v41/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v41/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v41/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getMessages.md b/old_docs/API_docs_v41/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getParticipant.md b/old_docs/API_docs_v41/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_joinChannel.md b/old_docs/API_docs_v41/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_leaveChannel.md b/old_docs/API_docs_v41/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_readHistory.md b/old_docs/API_docs_v41/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_reportSpam.md b/old_docs/API_docs_v41/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_toggleComments.md b/old_docs/API_docs_v41/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/channels_updateUsername.md b/old_docs/API_docs_v41/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_block.md b/old_docs/API_docs_v41/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContact.md b/old_docs/API_docs_v41/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_getContacts.md b/old_docs/API_docs_v41/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_importCard.md b/old_docs/API_docs_v41/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_importContacts.md b/old_docs/API_docs_v41/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/contacts_unblock.md b/old_docs/API_docs_v41/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getAppChangelog.md b/old_docs/API_docs_v41/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getAppUpdate.md b/old_docs/API_docs_v41/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getConfig.md b/old_docs/API_docs_v41/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getNearestDc.md b/old_docs/API_docs_v41/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsg.md b/old_docs/API_docs_v41/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/invokeWithLayer.md b/old_docs/API_docs_v41/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_createChat.md b/old_docs/API_docs_v41/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_deactivateChat.md b/old_docs/API_docs_v41/methods/messages_deactivateChat.md index f828f728..2a963b8d 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -22,7 +22,7 @@ description: messages.deactivateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_deleteHistory.md b/old_docs/API_docs_v41/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_deleteMessages.md b/old_docs/API_docs_v41/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_discardEncryption.md b/old_docs/API_docs_v41/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v41/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_editChatTitle.md b/old_docs/API_docs_v41/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessage.md b/old_docs/API_docs_v41/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessages.md b/old_docs/API_docs_v41/methods/messages_forwardMessages.md index 80d98650..3fbcfee6 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -24,7 +24,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getAllStickers.md b/old_docs/API_docs_v41/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getChats.md b/old_docs/API_docs_v41/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getDhConfig.md b/old_docs/API_docs_v41/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v41/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index f261715e..4336683f 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -22,7 +22,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getFullChat.md b/old_docs/API_docs_v41/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v41/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v41/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getMessages.md b/old_docs/API_docs_v41/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getStickerSet.md b/old_docs/API_docs_v41/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getStickers.md b/old_docs/API_docs_v41/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_importChatInvite.md b/old_docs/API_docs_v41/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_installStickerSet.md b/old_docs/API_docs_v41/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_migrateChat.md b/old_docs/API_docs_v41/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_readHistory.md b/old_docs/API_docs_v41/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_readMessageContents.md b/old_docs/API_docs_v41/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_receivedMessages.md b/old_docs/API_docs_v41/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_receivedQueue.md b/old_docs/API_docs_v41/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v41/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_requestEncryption.md b/old_docs/API_docs_v41/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v41/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_searchGlobal.md b/old_docs/API_docs_v41/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendMedia.md b/old_docs/API_docs_v41/methods/messages_sendMedia.md index f9e9b49a..a90c27a3 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index 01218cc7..57d70bd1 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -28,7 +28,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_setTyping.md b/old_docs/API_docs_v41/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_startBot.md b/old_docs/API_docs_v41/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/photos_deletePhotos.md b/old_docs/API_docs_v41/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/updates_getDifference.md b/old_docs/API_docs_v41/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v41/methods/updates_getDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/updates_getState.md b/old_docs/API_docs_v41/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v41/methods/updates_getState.md +++ b/old_docs/API_docs_v41/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/upload_getFile.md b/old_docs/API_docs_v41/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v41/methods/upload_getFile.md +++ b/old_docs/API_docs_v41/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/upload_saveFilePart.md b/old_docs/API_docs_v41/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v41/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/users_getFullUser.md b/old_docs/API_docs_v41/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v41/methods/users_getFullUser.md +++ b/old_docs/API_docs_v41/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_changePhone.md b/old_docs/API_docs_v42/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_checkUsername.md b/old_docs/API_docs_v42/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_deleteAccount.md b/old_docs/API_docs_v42/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getPrivacy.md b/old_docs/API_docs_v42/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_resetAuthorization.md b/old_docs/API_docs_v42/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_setAccountTTL.md b/old_docs/API_docs_v42/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_setPrivacy.md b/old_docs/API_docs_v42/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_unregisterDevice.md b/old_docs/API_docs_v42/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updateProfile.md b/old_docs/API_docs_v42/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updateStatus.md b/old_docs/API_docs_v42/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/account_updateUsername.md b/old_docs/API_docs_v42/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_checkPassword.md b/old_docs/API_docs_v42/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v42/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_importAuthorization.md b/old_docs/API_docs_v42/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v42/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_logOut.md b/old_docs/API_docs_v42/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v42/methods/auth_logOut.md +++ b/old_docs/API_docs_v42/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_sendCode.md b/old_docs/API_docs_v42/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCode.md +++ b/old_docs/API_docs_v42/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_sendSms.md b/old_docs/API_docs_v42/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_signIn.md b/old_docs/API_docs_v42/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v42/methods/auth_signIn.md +++ b/old_docs/API_docs_v42/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/auth_signUp.md b/old_docs/API_docs_v42/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v42/methods/auth_signUp.md +++ b/old_docs/API_docs_v42/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_createChannel.md b/old_docs/API_docs_v42/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_deleteChannel.md b/old_docs/API_docs_v42/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_deleteMessages.md b/old_docs/API_docs_v42/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_editAbout.md b/old_docs/API_docs_v42/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_editAdmin.md b/old_docs/API_docs_v42/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_editPhoto.md b/old_docs/API_docs_v42/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_editTitle.md b/old_docs/API_docs_v42/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_exportInvite.md b/old_docs/API_docs_v42/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getChannels.md b/old_docs/API_docs_v42/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getDialogs.md b/old_docs/API_docs_v42/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getFullChannel.md b/old_docs/API_docs_v42/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v42/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v42/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getMessages.md b/old_docs/API_docs_v42/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getParticipant.md b/old_docs/API_docs_v42/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_joinChannel.md b/old_docs/API_docs_v42/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_leaveChannel.md b/old_docs/API_docs_v42/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_readHistory.md b/old_docs/API_docs_v42/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_reportSpam.md b/old_docs/API_docs_v42/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_toggleComments.md b/old_docs/API_docs_v42/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/channels_updateUsername.md b/old_docs/API_docs_v42/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_block.md b/old_docs/API_docs_v42/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContact.md b/old_docs/API_docs_v42/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_getContacts.md b/old_docs/API_docs_v42/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_importCard.md b/old_docs/API_docs_v42/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_importContacts.md b/old_docs/API_docs_v42/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/contacts_unblock.md b/old_docs/API_docs_v42/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getAppChangelog.md b/old_docs/API_docs_v42/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getAppUpdate.md b/old_docs/API_docs_v42/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getConfig.md b/old_docs/API_docs_v42/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getNearestDc.md b/old_docs/API_docs_v42/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsg.md b/old_docs/API_docs_v42/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/invokeWithLayer.md b/old_docs/API_docs_v42/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_createChat.md b/old_docs/API_docs_v42/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_deleteHistory.md b/old_docs/API_docs_v42/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_deleteMessages.md b/old_docs/API_docs_v42/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_discardEncryption.md b/old_docs/API_docs_v42/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v42/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_editChatTitle.md b/old_docs/API_docs_v42/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessage.md b/old_docs/API_docs_v42/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessages.md b/old_docs/API_docs_v42/methods/messages_forwardMessages.md index 80d98650..3fbcfee6 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -24,7 +24,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getAllStickers.md b/old_docs/API_docs_v42/methods/messages_getAllStickers.md index 34254773..91961b0e 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getChats.md b/old_docs/API_docs_v42/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getDhConfig.md b/old_docs/API_docs_v42/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v42/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getFullChat.md b/old_docs/API_docs_v42/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v42/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v42/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getMessages.md b/old_docs/API_docs_v42/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getStickerSet.md b/old_docs/API_docs_v42/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getStickers.md b/old_docs/API_docs_v42/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_importChatInvite.md b/old_docs/API_docs_v42/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_installStickerSet.md b/old_docs/API_docs_v42/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_migrateChat.md b/old_docs/API_docs_v42/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_readHistory.md b/old_docs/API_docs_v42/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_readMessageContents.md b/old_docs/API_docs_v42/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_receivedMessages.md b/old_docs/API_docs_v42/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_receivedQueue.md b/old_docs/API_docs_v42/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v42/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_requestEncryption.md b/old_docs/API_docs_v42/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v42/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_searchGlobal.md b/old_docs/API_docs_v42/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendMedia.md b/old_docs/API_docs_v42/methods/messages_sendMedia.md index f9e9b49a..a90c27a3 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index 01218cc7..57d70bd1 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -28,7 +28,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_setTyping.md b/old_docs/API_docs_v42/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_startBot.md b/old_docs/API_docs_v42/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/photos_deletePhotos.md b/old_docs/API_docs_v42/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/updates_getDifference.md b/old_docs/API_docs_v42/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v42/methods/updates_getDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/updates_getState.md b/old_docs/API_docs_v42/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v42/methods/updates_getState.md +++ b/old_docs/API_docs_v42/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/upload_getFile.md b/old_docs/API_docs_v42/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v42/methods/upload_getFile.md +++ b/old_docs/API_docs_v42/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/upload_saveFilePart.md b/old_docs/API_docs_v42/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v42/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/users_getFullUser.md b/old_docs/API_docs_v42/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v42/methods/users_getFullUser.md +++ b/old_docs/API_docs_v42/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_changePhone.md b/old_docs/API_docs_v44/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_checkUsername.md b/old_docs/API_docs_v44/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_deleteAccount.md b/old_docs/API_docs_v44/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getPrivacy.md b/old_docs/API_docs_v44/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_reportPeer.md b/old_docs/API_docs_v44/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_resetAuthorization.md b/old_docs/API_docs_v44/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_setAccountTTL.md b/old_docs/API_docs_v44/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_setPrivacy.md b/old_docs/API_docs_v44/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_unregisterDevice.md b/old_docs/API_docs_v44/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updateProfile.md b/old_docs/API_docs_v44/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updateStatus.md b/old_docs/API_docs_v44/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/account_updateUsername.md b/old_docs/API_docs_v44/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_checkPassword.md b/old_docs/API_docs_v44/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v44/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_importAuthorization.md b/old_docs/API_docs_v44/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v44/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_logOut.md b/old_docs/API_docs_v44/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v44/methods/auth_logOut.md +++ b/old_docs/API_docs_v44/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_sendCode.md b/old_docs/API_docs_v44/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCode.md +++ b/old_docs/API_docs_v44/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_sendSms.md b/old_docs/API_docs_v44/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_signIn.md b/old_docs/API_docs_v44/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v44/methods/auth_signIn.md +++ b/old_docs/API_docs_v44/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/auth_signUp.md b/old_docs/API_docs_v44/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v44/methods/auth_signUp.md +++ b/old_docs/API_docs_v44/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_createChannel.md b/old_docs/API_docs_v44/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_deleteChannel.md b/old_docs/API_docs_v44/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_deleteMessages.md b/old_docs/API_docs_v44/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_editAbout.md b/old_docs/API_docs_v44/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_editAdmin.md b/old_docs/API_docs_v44/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_editPhoto.md b/old_docs/API_docs_v44/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_editTitle.md b/old_docs/API_docs_v44/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_exportInvite.md b/old_docs/API_docs_v44/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getChannels.md b/old_docs/API_docs_v44/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getDialogs.md b/old_docs/API_docs_v44/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getFullChannel.md b/old_docs/API_docs_v44/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v44/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v44/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getMessages.md b/old_docs/API_docs_v44/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getParticipant.md b/old_docs/API_docs_v44/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_joinChannel.md b/old_docs/API_docs_v44/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_leaveChannel.md b/old_docs/API_docs_v44/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_readHistory.md b/old_docs/API_docs_v44/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_reportSpam.md b/old_docs/API_docs_v44/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_toggleComments.md b/old_docs/API_docs_v44/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/channels_updateUsername.md b/old_docs/API_docs_v44/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_block.md b/old_docs/API_docs_v44/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContact.md b/old_docs/API_docs_v44/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_getContacts.md b/old_docs/API_docs_v44/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_importCard.md b/old_docs/API_docs_v44/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_importContacts.md b/old_docs/API_docs_v44/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/contacts_unblock.md b/old_docs/API_docs_v44/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getAppChangelog.md b/old_docs/API_docs_v44/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getAppUpdate.md b/old_docs/API_docs_v44/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getConfig.md b/old_docs/API_docs_v44/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getNearestDc.md b/old_docs/API_docs_v44/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index ea71f5f6..41d8b978 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -21,7 +21,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/help_saveAppLog.md b/old_docs/API_docs_v44/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsg.md b/old_docs/API_docs_v44/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/invokeWithLayer.md b/old_docs/API_docs_v44/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_createChat.md b/old_docs/API_docs_v44/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_deleteHistory.md b/old_docs/API_docs_v44/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_deleteMessages.md b/old_docs/API_docs_v44/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_discardEncryption.md b/old_docs/API_docs_v44/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v44/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_editChatTitle.md b/old_docs/API_docs_v44/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessage.md b/old_docs/API_docs_v44/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessages.md b/old_docs/API_docs_v44/methods/messages_forwardMessages.md index 80d98650..3fbcfee6 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -24,7 +24,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getAllStickers.md b/old_docs/API_docs_v44/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getChats.md b/old_docs/API_docs_v44/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getDhConfig.md b/old_docs/API_docs_v44/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v44/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getFullChat.md b/old_docs/API_docs_v44/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v44/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v44/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getMessages.md b/old_docs/API_docs_v44/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getStickerSet.md b/old_docs/API_docs_v44/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getStickers.md b/old_docs/API_docs_v44/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_importChatInvite.md b/old_docs/API_docs_v44/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_installStickerSet.md b/old_docs/API_docs_v44/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_migrateChat.md b/old_docs/API_docs_v44/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_readHistory.md b/old_docs/API_docs_v44/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_readMessageContents.md b/old_docs/API_docs_v44/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_receivedMessages.md b/old_docs/API_docs_v44/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_receivedQueue.md b/old_docs/API_docs_v44/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v44/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_reportSpam.md b/old_docs/API_docs_v44/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_requestEncryption.md b/old_docs/API_docs_v44/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v44/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_searchGifs.md b/old_docs/API_docs_v44/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_searchGlobal.md b/old_docs/API_docs_v44/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendMedia.md b/old_docs/API_docs_v44/methods/messages_sendMedia.md index f9e9b49a..a90c27a3 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index 01218cc7..57d70bd1 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -28,7 +28,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_setTyping.md b/old_docs/API_docs_v44/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_startBot.md b/old_docs/API_docs_v44/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/photos_deletePhotos.md b/old_docs/API_docs_v44/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/updates_getDifference.md b/old_docs/API_docs_v44/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v44/methods/updates_getDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/updates_getState.md b/old_docs/API_docs_v44/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v44/methods/updates_getState.md +++ b/old_docs/API_docs_v44/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/upload_getFile.md b/old_docs/API_docs_v44/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v44/methods/upload_getFile.md +++ b/old_docs/API_docs_v44/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/upload_saveFilePart.md b/old_docs/API_docs_v44/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v44/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/users_getFullUser.md b/old_docs/API_docs_v44/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v44/methods/users_getFullUser.md +++ b/old_docs/API_docs_v44/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_changePhone.md b/old_docs/API_docs_v45/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_checkUsername.md b/old_docs/API_docs_v45/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_deleteAccount.md b/old_docs/API_docs_v45/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getPrivacy.md b/old_docs/API_docs_v45/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_reportPeer.md b/old_docs/API_docs_v45/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_resetAuthorization.md b/old_docs/API_docs_v45/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_setAccountTTL.md b/old_docs/API_docs_v45/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_setPrivacy.md b/old_docs/API_docs_v45/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_unregisterDevice.md b/old_docs/API_docs_v45/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updateProfile.md b/old_docs/API_docs_v45/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updateStatus.md b/old_docs/API_docs_v45/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/account_updateUsername.md b/old_docs/API_docs_v45/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_checkPassword.md b/old_docs/API_docs_v45/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v45/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_importAuthorization.md b/old_docs/API_docs_v45/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v45/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_logOut.md b/old_docs/API_docs_v45/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v45/methods/auth_logOut.md +++ b/old_docs/API_docs_v45/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_sendCode.md b/old_docs/API_docs_v45/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCode.md +++ b/old_docs/API_docs_v45/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_sendSms.md b/old_docs/API_docs_v45/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_signIn.md b/old_docs/API_docs_v45/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v45/methods/auth_signIn.md +++ b/old_docs/API_docs_v45/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/auth_signUp.md b/old_docs/API_docs_v45/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v45/methods/auth_signUp.md +++ b/old_docs/API_docs_v45/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_createChannel.md b/old_docs/API_docs_v45/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_deleteChannel.md b/old_docs/API_docs_v45/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_deleteMessages.md b/old_docs/API_docs_v45/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_editAbout.md b/old_docs/API_docs_v45/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_editAdmin.md b/old_docs/API_docs_v45/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_editPhoto.md b/old_docs/API_docs_v45/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_editTitle.md b/old_docs/API_docs_v45/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_exportInvite.md b/old_docs/API_docs_v45/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getChannels.md b/old_docs/API_docs_v45/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getDialogs.md b/old_docs/API_docs_v45/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getFullChannel.md b/old_docs/API_docs_v45/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v45/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v45/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getMessages.md b/old_docs/API_docs_v45/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getParticipant.md b/old_docs/API_docs_v45/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_joinChannel.md b/old_docs/API_docs_v45/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_leaveChannel.md b/old_docs/API_docs_v45/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_readHistory.md b/old_docs/API_docs_v45/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_reportSpam.md b/old_docs/API_docs_v45/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_toggleComments.md b/old_docs/API_docs_v45/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/channels_updateUsername.md b/old_docs/API_docs_v45/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_block.md b/old_docs/API_docs_v45/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContact.md b/old_docs/API_docs_v45/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_getContacts.md b/old_docs/API_docs_v45/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_importCard.md b/old_docs/API_docs_v45/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_importContacts.md b/old_docs/API_docs_v45/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/contacts_unblock.md b/old_docs/API_docs_v45/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getAppChangelog.md b/old_docs/API_docs_v45/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getAppUpdate.md b/old_docs/API_docs_v45/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getConfig.md b/old_docs/API_docs_v45/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getNearestDc.md b/old_docs/API_docs_v45/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index ea71f5f6..41d8b978 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -21,7 +21,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/help_saveAppLog.md b/old_docs/API_docs_v45/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsg.md b/old_docs/API_docs_v45/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/invokeWithLayer.md b/old_docs/API_docs_v45/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_createChat.md b/old_docs/API_docs_v45/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_deleteHistory.md b/old_docs/API_docs_v45/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_deleteMessages.md b/old_docs/API_docs_v45/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_discardEncryption.md b/old_docs/API_docs_v45/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v45/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_editChatTitle.md b/old_docs/API_docs_v45/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessage.md b/old_docs/API_docs_v45/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessages.md b/old_docs/API_docs_v45/methods/messages_forwardMessages.md index 80d98650..3fbcfee6 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -24,7 +24,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getAllStickers.md b/old_docs/API_docs_v45/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getChats.md b/old_docs/API_docs_v45/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getDhConfig.md b/old_docs/API_docs_v45/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v45/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getFullChat.md b/old_docs/API_docs_v45/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v45/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v45/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md index b46895c3..b79bcc37 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -23,7 +23,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getMessages.md b/old_docs/API_docs_v45/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getStickerSet.md b/old_docs/API_docs_v45/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getStickers.md b/old_docs/API_docs_v45/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_importChatInvite.md b/old_docs/API_docs_v45/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_installStickerSet.md b/old_docs/API_docs_v45/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_migrateChat.md b/old_docs/API_docs_v45/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_readHistory.md b/old_docs/API_docs_v45/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_readMessageContents.md b/old_docs/API_docs_v45/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_receivedMessages.md b/old_docs/API_docs_v45/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_receivedQueue.md b/old_docs/API_docs_v45/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v45/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_reportSpam.md b/old_docs/API_docs_v45/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_requestEncryption.md b/old_docs/API_docs_v45/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v45/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_search.md b/old_docs/API_docs_v45/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_searchGifs.md b/old_docs/API_docs_v45/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_searchGlobal.md b/old_docs/API_docs_v45/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index 8741d064..b81e47bd 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -25,7 +25,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendMedia.md b/old_docs/API_docs_v45/methods/messages_sendMedia.md index f9e9b49a..a90c27a3 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index 01218cc7..57d70bd1 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -28,7 +28,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md index 3afe4664..71fe5c0b 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -26,7 +26,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_setTyping.md b/old_docs/API_docs_v45/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_startBot.md b/old_docs/API_docs_v45/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/photos_deletePhotos.md b/old_docs/API_docs_v45/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/updates_getDifference.md b/old_docs/API_docs_v45/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v45/methods/updates_getDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/updates_getState.md b/old_docs/API_docs_v45/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v45/methods/updates_getState.md +++ b/old_docs/API_docs_v45/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/upload_getFile.md b/old_docs/API_docs_v45/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v45/methods/upload_getFile.md +++ b/old_docs/API_docs_v45/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/upload_saveFilePart.md b/old_docs/API_docs_v45/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v45/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/users_getFullUser.md b/old_docs/API_docs_v45/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v45/methods/users_getFullUser.md +++ b/old_docs/API_docs_v45/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_changePhone.md b/old_docs/API_docs_v46/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_checkUsername.md b/old_docs/API_docs_v46/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_deleteAccount.md b/old_docs/API_docs_v46/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getPrivacy.md b/old_docs/API_docs_v46/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_reportPeer.md b/old_docs/API_docs_v46/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_resetAuthorization.md b/old_docs/API_docs_v46/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 4ccc4045..002dc1ab 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -21,7 +21,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_setAccountTTL.md b/old_docs/API_docs_v46/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_setPrivacy.md b/old_docs/API_docs_v46/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_unregisterDevice.md b/old_docs/API_docs_v46/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updateProfile.md b/old_docs/API_docs_v46/methods/account_updateProfile.md index cf8374de..6e8891d0 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -22,7 +22,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updateStatus.md b/old_docs/API_docs_v46/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/account_updateUsername.md b/old_docs/API_docs_v46/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_checkPassword.md b/old_docs/API_docs_v46/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v46/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_importAuthorization.md b/old_docs/API_docs_v46/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v46/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_logOut.md b/old_docs/API_docs_v46/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v46/methods/auth_logOut.md +++ b/old_docs/API_docs_v46/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index 584235b0..9e50a03d 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -22,7 +22,7 @@ description: auth.sendCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_sendCode.md b/old_docs/API_docs_v46/methods/auth_sendCode.md index 58305712..6896bc05 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCode.md +++ b/old_docs/API_docs_v46/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_sendSms.md b/old_docs/API_docs_v46/methods/auth_sendSms.md index fb469f84..3653ccdd 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -22,7 +22,7 @@ description: auth.sendSms parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_signIn.md b/old_docs/API_docs_v46/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v46/methods/auth_signIn.md +++ b/old_docs/API_docs_v46/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/auth_signUp.md b/old_docs/API_docs_v46/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v46/methods/auth_signUp.md +++ b/old_docs/API_docs_v46/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_createChannel.md b/old_docs/API_docs_v46/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_deleteChannel.md b/old_docs/API_docs_v46/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_deleteMessages.md b/old_docs/API_docs_v46/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_editAbout.md b/old_docs/API_docs_v46/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_editAdmin.md b/old_docs/API_docs_v46/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_editPhoto.md b/old_docs/API_docs_v46/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_editTitle.md b/old_docs/API_docs_v46/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_exportInvite.md b/old_docs/API_docs_v46/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getChannels.md b/old_docs/API_docs_v46/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getDialogs.md b/old_docs/API_docs_v46/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getFullChannel.md b/old_docs/API_docs_v46/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v46/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v46/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index e125fc2c..2b5f5632 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -26,7 +26,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getMessages.md b/old_docs/API_docs_v46/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getParticipant.md b/old_docs/API_docs_v46/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_joinChannel.md b/old_docs/API_docs_v46/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_leaveChannel.md b/old_docs/API_docs_v46/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_readHistory.md b/old_docs/API_docs_v46/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_reportSpam.md b/old_docs/API_docs_v46/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_toggleComments.md b/old_docs/API_docs_v46/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/channels_updateUsername.md b/old_docs/API_docs_v46/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_block.md b/old_docs/API_docs_v46/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContact.md b/old_docs/API_docs_v46/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_getContacts.md b/old_docs/API_docs_v46/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index 4cd124e7..1c9a532d 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -21,7 +21,7 @@ description: contacts.getSuggested parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_importCard.md b/old_docs/API_docs_v46/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_importContacts.md b/old_docs/API_docs_v46/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/contacts_unblock.md b/old_docs/API_docs_v46/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getAppChangelog.md b/old_docs/API_docs_v46/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getAppUpdate.md b/old_docs/API_docs_v46/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getConfig.md b/old_docs/API_docs_v46/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getNearestDc.md b/old_docs/API_docs_v46/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index ea71f5f6..41d8b978 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -21,7 +21,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/help_saveAppLog.md b/old_docs/API_docs_v46/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsg.md b/old_docs/API_docs_v46/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/invokeWithLayer.md b/old_docs/API_docs_v46/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_createChat.md b/old_docs/API_docs_v46/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_deleteHistory.md b/old_docs/API_docs_v46/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_deleteMessages.md b/old_docs/API_docs_v46/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_discardEncryption.md b/old_docs/API_docs_v46/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v46/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_editChatTitle.md b/old_docs/API_docs_v46/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessage.md b/old_docs/API_docs_v46/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessages.md b/old_docs/API_docs_v46/methods/messages_forwardMessages.md index 80d98650..3fbcfee6 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -24,7 +24,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getAllStickers.md b/old_docs/API_docs_v46/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getChats.md b/old_docs/API_docs_v46/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getDhConfig.md b/old_docs/API_docs_v46/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v46/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getFullChat.md b/old_docs/API_docs_v46/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v46/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v46/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index 409526cc..f32402a7 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -26,7 +26,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md index b46895c3..b79bcc37 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -23,7 +23,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getMessages.md b/old_docs/API_docs_v46/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getStickerSet.md b/old_docs/API_docs_v46/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getStickers.md b/old_docs/API_docs_v46/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_importChatInvite.md b/old_docs/API_docs_v46/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_installStickerSet.md b/old_docs/API_docs_v46/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_migrateChat.md b/old_docs/API_docs_v46/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_readHistory.md b/old_docs/API_docs_v46/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_readMessageContents.md b/old_docs/API_docs_v46/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_receivedMessages.md b/old_docs/API_docs_v46/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_receivedQueue.md b/old_docs/API_docs_v46/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v46/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_reportSpam.md b/old_docs/API_docs_v46/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_requestEncryption.md b/old_docs/API_docs_v46/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v46/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_search.md b/old_docs/API_docs_v46/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_searchGifs.md b/old_docs/API_docs_v46/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_searchGlobal.md b/old_docs/API_docs_v46/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index 8741d064..b81e47bd 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -25,7 +25,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendMedia.md b/old_docs/API_docs_v46/methods/messages_sendMedia.md index f9e9b49a..a90c27a3 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -25,7 +25,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index 01218cc7..57d70bd1 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -28,7 +28,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md index 3afe4664..71fe5c0b 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -26,7 +26,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_setTyping.md b/old_docs/API_docs_v46/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_startBot.md b/old_docs/API_docs_v46/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/photos_deletePhotos.md b/old_docs/API_docs_v46/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/updates_getDifference.md b/old_docs/API_docs_v46/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v46/methods/updates_getDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/updates_getState.md b/old_docs/API_docs_v46/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v46/methods/updates_getState.md +++ b/old_docs/API_docs_v46/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/upload_getFile.md b/old_docs/API_docs_v46/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v46/methods/upload_getFile.md +++ b/old_docs/API_docs_v46/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/upload_saveFilePart.md b/old_docs/API_docs_v46/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v46/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/users_getFullUser.md b/old_docs/API_docs_v46/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v46/methods/users_getFullUser.md +++ b/old_docs/API_docs_v46/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_changePhone.md b/old_docs/API_docs_v51/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_checkUsername.md b/old_docs/API_docs_v51/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_deleteAccount.md b/old_docs/API_docs_v51/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getPrivacy.md b/old_docs/API_docs_v51/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index 70cadfab..746ac76d 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -27,7 +27,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_reportPeer.md b/old_docs/API_docs_v51/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_resetAuthorization.md b/old_docs/API_docs_v51/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_setAccountTTL.md b/old_docs/API_docs_v51/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_setPrivacy.md b/old_docs/API_docs_v51/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_unregisterDevice.md b/old_docs/API_docs_v51/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updateProfile.md b/old_docs/API_docs_v51/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updateStatus.md b/old_docs/API_docs_v51/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/account_updateUsername.md b/old_docs/API_docs_v51/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_checkPassword.md b/old_docs/API_docs_v51/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v51/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_importAuthorization.md b/old_docs/API_docs_v51/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v51/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_logOut.md b/old_docs/API_docs_v51/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v51/methods/auth_logOut.md +++ b/old_docs/API_docs_v51/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_sendCode.md b/old_docs/API_docs_v51/methods/auth_sendCode.md index ff353380..d9b0a00e 100644 --- a/old_docs/API_docs_v51/methods/auth_sendCode.md +++ b/old_docs/API_docs_v51/methods/auth_sendCode.md @@ -26,7 +26,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_signIn.md b/old_docs/API_docs_v51/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v51/methods/auth_signIn.md +++ b/old_docs/API_docs_v51/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/auth_signUp.md b/old_docs/API_docs_v51/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v51/methods/auth_signUp.md +++ b/old_docs/API_docs_v51/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_createChannel.md b/old_docs/API_docs_v51/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_deleteChannel.md b/old_docs/API_docs_v51/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_deleteMessages.md b/old_docs/API_docs_v51/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_editAbout.md b/old_docs/API_docs_v51/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_editAdmin.md b/old_docs/API_docs_v51/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_editPhoto.md b/old_docs/API_docs_v51/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_editTitle.md b/old_docs/API_docs_v51/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_exportInvite.md b/old_docs/API_docs_v51/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getChannels.md b/old_docs/API_docs_v51/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getDialogs.md b/old_docs/API_docs_v51/methods/channels_getDialogs.md index 847a23b3..601510e1 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -22,7 +22,7 @@ description: channels.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getFullChannel.md b/old_docs/API_docs_v51/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v51/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v51/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index 312e600c..d636b401 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -27,7 +27,7 @@ description: channels.getImportantHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getMessages.md b/old_docs/API_docs_v51/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getParticipant.md b/old_docs/API_docs_v51/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_joinChannel.md b/old_docs/API_docs_v51/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_leaveChannel.md b/old_docs/API_docs_v51/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_readHistory.md b/old_docs/API_docs_v51/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_reportSpam.md b/old_docs/API_docs_v51/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_toggleComments.md b/old_docs/API_docs_v51/methods/channels_toggleComments.md index 31873eb9..930df0e2 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -22,7 +22,7 @@ description: channels.toggleComments parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_toggleInvites.md b/old_docs/API_docs_v51/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/channels_updateUsername.md b/old_docs/API_docs_v51/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_block.md b/old_docs/API_docs_v51/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContact.md b/old_docs/API_docs_v51/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_getContacts.md b/old_docs/API_docs_v51/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_importContacts.md b/old_docs/API_docs_v51/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/contacts_unblock.md b/old_docs/API_docs_v51/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getAppChangelog.md b/old_docs/API_docs_v51/methods/help_getAppChangelog.md index 1b52c928..337c12be 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -24,7 +24,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getAppUpdate.md b/old_docs/API_docs_v51/methods/help_getAppUpdate.md index 9559c840..b52e83e8 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -24,7 +24,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getConfig.md b/old_docs/API_docs_v51/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index 14692791..2d9c4653 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -21,7 +21,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getNearestDc.md b/old_docs/API_docs_v51/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index ea71f5f6..41d8b978 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -21,7 +21,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/help_saveAppLog.md b/old_docs/API_docs_v51/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsg.md b/old_docs/API_docs_v51/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/invokeWithLayer.md b/old_docs/API_docs_v51/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_createChat.md b/old_docs/API_docs_v51/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_deleteHistory.md b/old_docs/API_docs_v51/methods/messages_deleteHistory.md index 8517ee62..f37e5d08 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -22,7 +22,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_deleteMessages.md b/old_docs/API_docs_v51/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_discardEncryption.md b/old_docs/API_docs_v51/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v51/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_editChatTitle.md b/old_docs/API_docs_v51/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessage.md b/old_docs/API_docs_v51/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessages.md b/old_docs/API_docs_v51/methods/messages_forwardMessages.md index 7d4893b3..fe973826 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getAllStickers.md b/old_docs/API_docs_v51/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md index bcd0754b..6bab943c 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -23,7 +23,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getChats.md b/old_docs/API_docs_v51/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getDhConfig.md b/old_docs/API_docs_v51/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v51/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getFullChat.md b/old_docs/API_docs_v51/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v51/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v51/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getMessages.md b/old_docs/API_docs_v51/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getStickerSet.md b/old_docs/API_docs_v51/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getStickers.md b/old_docs/API_docs_v51/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_importChatInvite.md b/old_docs/API_docs_v51/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_installStickerSet.md b/old_docs/API_docs_v51/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_migrateChat.md b/old_docs/API_docs_v51/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_readHistory.md b/old_docs/API_docs_v51/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_readMessageContents.md b/old_docs/API_docs_v51/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_receivedMessages.md b/old_docs/API_docs_v51/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_receivedQueue.md b/old_docs/API_docs_v51/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v51/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_reportSpam.md b/old_docs/API_docs_v51/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_requestEncryption.md b/old_docs/API_docs_v51/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v51/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_search.md b/old_docs/API_docs_v51/methods/messages_search.md index 4a5c4bb9..3b082420 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -29,7 +29,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_searchGifs.md b/old_docs/API_docs_v51/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_searchGlobal.md b/old_docs/API_docs_v51/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index 4237b5fc..6eabd098 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendMedia.md b/old_docs/API_docs_v51/methods/messages_sendMedia.md index 442b6365..32b5f54f 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 7ae1b425..5581905a 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md index 828ff38f..c55beed7 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -23,7 +23,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_setTyping.md b/old_docs/API_docs_v51/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_startBot.md b/old_docs/API_docs_v51/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/photos_deletePhotos.md b/old_docs/API_docs_v51/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/updates_getDifference.md b/old_docs/API_docs_v51/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v51/methods/updates_getDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/updates_getState.md b/old_docs/API_docs_v51/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v51/methods/updates_getState.md +++ b/old_docs/API_docs_v51/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/upload_getFile.md b/old_docs/API_docs_v51/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v51/methods/upload_getFile.md +++ b/old_docs/API_docs_v51/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/upload_saveFilePart.md b/old_docs/API_docs_v51/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v51/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/users_getFullUser.md b/old_docs/API_docs_v51/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v51/methods/users_getFullUser.md +++ b/old_docs/API_docs_v51/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_changePhone.md b/old_docs/API_docs_v53/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_checkUsername.md b/old_docs/API_docs_v53/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_deleteAccount.md b/old_docs/API_docs_v53/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getPrivacy.md b/old_docs/API_docs_v53/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_reportPeer.md b/old_docs/API_docs_v53/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_resetAuthorization.md b/old_docs/API_docs_v53/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_setAccountTTL.md b/old_docs/API_docs_v53/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_setPrivacy.md b/old_docs/API_docs_v53/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_unregisterDevice.md b/old_docs/API_docs_v53/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updateProfile.md b/old_docs/API_docs_v53/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updateStatus.md b/old_docs/API_docs_v53/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/account_updateUsername.md b/old_docs/API_docs_v53/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_checkPassword.md b/old_docs/API_docs_v53/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v53/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_importAuthorization.md b/old_docs/API_docs_v53/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v53/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_logOut.md b/old_docs/API_docs_v53/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v53/methods/auth_logOut.md +++ b/old_docs/API_docs_v53/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_sendCode.md b/old_docs/API_docs_v53/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/old_docs/API_docs_v53/methods/auth_sendCode.md +++ b/old_docs/API_docs_v53/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_signIn.md b/old_docs/API_docs_v53/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v53/methods/auth_signIn.md +++ b/old_docs/API_docs_v53/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/auth_signUp.md b/old_docs/API_docs_v53/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v53/methods/auth_signUp.md +++ b/old_docs/API_docs_v53/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_createChannel.md b/old_docs/API_docs_v53/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_deleteChannel.md b/old_docs/API_docs_v53/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_deleteMessages.md b/old_docs/API_docs_v53/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_editAbout.md b/old_docs/API_docs_v53/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_editAdmin.md b/old_docs/API_docs_v53/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_editPhoto.md b/old_docs/API_docs_v53/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_editTitle.md b/old_docs/API_docs_v53/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_exportInvite.md b/old_docs/API_docs_v53/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_getChannels.md b/old_docs/API_docs_v53/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_getFullChannel.md b/old_docs/API_docs_v53/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v53/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v53/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_getParticipant.md b/old_docs/API_docs_v53/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_joinChannel.md b/old_docs/API_docs_v53/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_leaveChannel.md b/old_docs/API_docs_v53/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_readHistory.md b/old_docs/API_docs_v53/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_reportSpam.md b/old_docs/API_docs_v53/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_toggleInvites.md b/old_docs/API_docs_v53/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/channels_updateUsername.md b/old_docs/API_docs_v53/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_block.md b/old_docs/API_docs_v53/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContact.md b/old_docs/API_docs_v53/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_getContacts.md b/old_docs/API_docs_v53/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_importCard.md b/old_docs/API_docs_v53/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_importContacts.md b/old_docs/API_docs_v53/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/contacts_unblock.md b/old_docs/API_docs_v53/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getAppChangelog.md b/old_docs/API_docs_v53/methods/help_getAppChangelog.md index 2e72e305..4dbf6812 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -16,7 +16,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsg.md b/old_docs/API_docs_v53/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/invokeWithLayer.md b/old_docs/API_docs_v53/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_createChat.md b/old_docs/API_docs_v53/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_deleteHistory.md b/old_docs/API_docs_v53/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_deleteMessages.md b/old_docs/API_docs_v53/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_discardEncryption.md b/old_docs/API_docs_v53/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v53/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_editChatTitle.md b/old_docs/API_docs_v53/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessage.md b/old_docs/API_docs_v53/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessages.md b/old_docs/API_docs_v53/methods/messages_forwardMessages.md index 7fda78bd..a4e2329a 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md index bcd0754b..6bab943c 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -23,7 +23,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getChats.md b/old_docs/API_docs_v53/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getDhConfig.md b/old_docs/API_docs_v53/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v53/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getFullChat.md b/old_docs/API_docs_v53/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v53/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v53/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getMessages.md b/old_docs/API_docs_v53/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getStickerSet.md b/old_docs/API_docs_v53/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getStickers.md b/old_docs/API_docs_v53/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_importChatInvite.md b/old_docs/API_docs_v53/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_installStickerSet.md b/old_docs/API_docs_v53/methods/messages_installStickerSet.md index 5180bcbd..a3c12183 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_migrateChat.md b/old_docs/API_docs_v53/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_readHistory.md b/old_docs/API_docs_v53/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_readMessageContents.md b/old_docs/API_docs_v53/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_receivedMessages.md b/old_docs/API_docs_v53/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_receivedQueue.md b/old_docs/API_docs_v53/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v53/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_reportSpam.md b/old_docs/API_docs_v53/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_requestEncryption.md b/old_docs/API_docs_v53/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v53/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_saveGif.md b/old_docs/API_docs_v53/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_search.md b/old_docs/API_docs_v53/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_searchGifs.md b/old_docs/API_docs_v53/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_searchGlobal.md b/old_docs/API_docs_v53/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendMedia.md b/old_docs/API_docs_v53/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md index 828ff38f..c55beed7 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -23,7 +23,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_setTyping.md b/old_docs/API_docs_v53/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_startBot.md b/old_docs/API_docs_v53/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/photos_deletePhotos.md b/old_docs/API_docs_v53/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/updates_getDifference.md b/old_docs/API_docs_v53/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v53/methods/updates_getDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/updates_getState.md b/old_docs/API_docs_v53/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v53/methods/updates_getState.md +++ b/old_docs/API_docs_v53/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/upload_getFile.md b/old_docs/API_docs_v53/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v53/methods/upload_getFile.md +++ b/old_docs/API_docs_v53/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/upload_saveFilePart.md b/old_docs/API_docs_v53/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v53/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/users_getFullUser.md b/old_docs/API_docs_v53/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v53/methods/users_getFullUser.md +++ b/old_docs/API_docs_v53/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_changePhone.md b/old_docs/API_docs_v55/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_checkUsername.md b/old_docs/API_docs_v55/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_confirmPhone.md b/old_docs/API_docs_v55/methods/account_confirmPhone.md index 99af6c2c..0b8437dd 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -22,7 +22,7 @@ description: account.confirmPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_deleteAccount.md b/old_docs/API_docs_v55/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getPrivacy.md b/old_docs/API_docs_v55/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_reportPeer.md b/old_docs/API_docs_v55/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_resetAuthorization.md b/old_docs/API_docs_v55/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md index c1b7cacd..8d28787e 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -23,7 +23,7 @@ description: account.sendConfirmPhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_setAccountTTL.md b/old_docs/API_docs_v55/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_setPrivacy.md b/old_docs/API_docs_v55/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_unregisterDevice.md b/old_docs/API_docs_v55/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updateProfile.md b/old_docs/API_docs_v55/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updateStatus.md b/old_docs/API_docs_v55/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/account_updateUsername.md b/old_docs/API_docs_v55/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_checkPassword.md b/old_docs/API_docs_v55/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v55/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_importAuthorization.md b/old_docs/API_docs_v55/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v55/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_logOut.md b/old_docs/API_docs_v55/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v55/methods/auth_logOut.md +++ b/old_docs/API_docs_v55/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_sendCode.md b/old_docs/API_docs_v55/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/old_docs/API_docs_v55/methods/auth_sendCode.md +++ b/old_docs/API_docs_v55/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_signIn.md b/old_docs/API_docs_v55/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v55/methods/auth_signIn.md +++ b/old_docs/API_docs_v55/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/auth_signUp.md b/old_docs/API_docs_v55/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v55/methods/auth_signUp.md +++ b/old_docs/API_docs_v55/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_createChannel.md b/old_docs/API_docs_v55/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_deleteChannel.md b/old_docs/API_docs_v55/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_deleteMessages.md b/old_docs/API_docs_v55/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_editAbout.md b/old_docs/API_docs_v55/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_editAdmin.md b/old_docs/API_docs_v55/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_editPhoto.md b/old_docs/API_docs_v55/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_editTitle.md b/old_docs/API_docs_v55/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_exportInvite.md b/old_docs/API_docs_v55/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_getChannels.md b/old_docs/API_docs_v55/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_getFullChannel.md b/old_docs/API_docs_v55/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v55/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v55/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_getParticipant.md b/old_docs/API_docs_v55/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_joinChannel.md b/old_docs/API_docs_v55/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_leaveChannel.md b/old_docs/API_docs_v55/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_readHistory.md b/old_docs/API_docs_v55/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_reportSpam.md b/old_docs/API_docs_v55/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_toggleInvites.md b/old_docs/API_docs_v55/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/channels_updateUsername.md b/old_docs/API_docs_v55/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_block.md b/old_docs/API_docs_v55/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContact.md b/old_docs/API_docs_v55/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_getContacts.md b/old_docs/API_docs_v55/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_importCard.md b/old_docs/API_docs_v55/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_importContacts.md b/old_docs/API_docs_v55/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/contacts_unblock.md b/old_docs/API_docs_v55/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getAppChangelog.md b/old_docs/API_docs_v55/methods/help_getAppChangelog.md index 2e72e305..4dbf6812 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -16,7 +16,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsg.md b/old_docs/API_docs_v55/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/invokeWithLayer.md b/old_docs/API_docs_v55/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md index 601f6ee5..3f63679a 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -16,7 +16,7 @@ description: messages.clearRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_deleteHistory.md b/old_docs/API_docs_v55/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_deleteMessages.md b/old_docs/API_docs_v55/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_discardEncryption.md b/old_docs/API_docs_v55/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v55/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_editChatTitle.md b/old_docs/API_docs_v55/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessage.md b/old_docs/API_docs_v55/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessages.md b/old_docs/API_docs_v55/methods/messages_forwardMessages.md index 7fda78bd..a4e2329a 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -25,7 +25,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md index 7a1cbb16..0033dca2 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -22,7 +22,7 @@ description: messages.getArchivedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md index bcd0754b..6bab943c 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -23,7 +23,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getChats.md b/old_docs/API_docs_v55/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getDhConfig.md b/old_docs/API_docs_v55/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v55/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md index e991e78b..5c51f4be 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.getFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getFullChat.md b/old_docs/API_docs_v55/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v55/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v55/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getMessages.md b/old_docs/API_docs_v55/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md index 58f930ff..5bef5bc5 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -21,7 +21,7 @@ description: messages.getRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getStickerSet.md b/old_docs/API_docs_v55/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getStickers.md b/old_docs/API_docs_v55/methods/messages_getStickers.md index e9aedd80..8179eff2 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -22,7 +22,7 @@ description: messages.getStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md index c89f99ee..972e8da7 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -21,7 +21,7 @@ description: messages.getUnusedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_importChatInvite.md b/old_docs/API_docs_v55/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_installStickerSet.md b/old_docs/API_docs_v55/methods/messages_installStickerSet.md index 48b77a20..ad734572 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_migrateChat.md b/old_docs/API_docs_v55/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md index 33836f0e..5dd4a75a 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -16,7 +16,7 @@ description: messages.readFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_readMessageContents.md b/old_docs/API_docs_v55/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_receivedMessages.md b/old_docs/API_docs_v55/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_receivedQueue.md b/old_docs/API_docs_v55/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v55/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index a1d27734..eda07dd9 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -21,7 +21,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_reportSpam.md b/old_docs/API_docs_v55/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_requestEncryption.md b/old_docs/API_docs_v55/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v55/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_saveGif.md b/old_docs/API_docs_v55/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md index a84e57cf..f17984c7 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -22,7 +22,7 @@ description: messages.saveRecentSticker parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_search.md b/old_docs/API_docs_v55/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_searchGifs.md b/old_docs/API_docs_v55/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_searchGlobal.md b/old_docs/API_docs_v55/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md index 2dfc9a3d..d4af6317 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -23,7 +23,7 @@ description: messages.sendBroadcast parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendMedia.md b/old_docs/API_docs_v55/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md index 93cd070b..2c0579db 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_setTyping.md b/old_docs/API_docs_v55/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_startBot.md b/old_docs/API_docs_v55/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/photos_deletePhotos.md b/old_docs/API_docs_v55/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md index 9ae9c59e..0e118b52 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -22,7 +22,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md index 567eb363..597f61c6 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -24,7 +24,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/updates_getDifference.md b/old_docs/API_docs_v55/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v55/methods/updates_getDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/updates_getState.md b/old_docs/API_docs_v55/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v55/methods/updates_getState.md +++ b/old_docs/API_docs_v55/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/upload_getFile.md b/old_docs/API_docs_v55/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v55/methods/upload_getFile.md +++ b/old_docs/API_docs_v55/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/upload_saveFilePart.md b/old_docs/API_docs_v55/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v55/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/users_getFullUser.md b/old_docs/API_docs_v55/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v55/methods/users_getFullUser.md +++ b/old_docs/API_docs_v55/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_changePhone.md b/old_docs/API_docs_v57/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_checkUsername.md b/old_docs/API_docs_v57/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_confirmPhone.md b/old_docs/API_docs_v57/methods/account_confirmPhone.md index 99af6c2c..0b8437dd 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -22,7 +22,7 @@ description: account.confirmPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_deleteAccount.md b/old_docs/API_docs_v57/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getPrivacy.md b/old_docs/API_docs_v57/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_reportPeer.md b/old_docs/API_docs_v57/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_resetAuthorization.md b/old_docs/API_docs_v57/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md index c1b7cacd..8d28787e 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -23,7 +23,7 @@ description: account.sendConfirmPhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_setAccountTTL.md b/old_docs/API_docs_v57/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_setPrivacy.md b/old_docs/API_docs_v57/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_unregisterDevice.md b/old_docs/API_docs_v57/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updateProfile.md b/old_docs/API_docs_v57/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updateStatus.md b/old_docs/API_docs_v57/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/account_updateUsername.md b/old_docs/API_docs_v57/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_checkPassword.md b/old_docs/API_docs_v57/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v57/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md index 9c43b925..91d04065 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -21,7 +21,7 @@ description: auth.dropTempAuthKeys parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_importAuthorization.md b/old_docs/API_docs_v57/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v57/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_logOut.md b/old_docs/API_docs_v57/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v57/methods/auth_logOut.md +++ b/old_docs/API_docs_v57/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_sendCode.md b/old_docs/API_docs_v57/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/old_docs/API_docs_v57/methods/auth_sendCode.md +++ b/old_docs/API_docs_v57/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_signIn.md b/old_docs/API_docs_v57/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v57/methods/auth_signIn.md +++ b/old_docs/API_docs_v57/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/auth_signUp.md b/old_docs/API_docs_v57/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v57/methods/auth_signUp.md +++ b/old_docs/API_docs_v57/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_createChannel.md b/old_docs/API_docs_v57/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_deleteChannel.md b/old_docs/API_docs_v57/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_deleteMessages.md b/old_docs/API_docs_v57/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_editAbout.md b/old_docs/API_docs_v57/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_editAdmin.md b/old_docs/API_docs_v57/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_editPhoto.md b/old_docs/API_docs_v57/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_editTitle.md b/old_docs/API_docs_v57/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_exportInvite.md b/old_docs/API_docs_v57/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md index 5293e859..31ed5556 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -16,7 +16,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getFullChannel.md b/old_docs/API_docs_v57/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v57/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v57/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getParticipant.md b/old_docs/API_docs_v57/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_joinChannel.md b/old_docs/API_docs_v57/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_leaveChannel.md b/old_docs/API_docs_v57/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_readHistory.md b/old_docs/API_docs_v57/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_reportSpam.md b/old_docs/API_docs_v57/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_toggleInvites.md b/old_docs/API_docs_v57/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/channels_updateUsername.md b/old_docs/API_docs_v57/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_block.md b/old_docs/API_docs_v57/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContact.md b/old_docs/API_docs_v57/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_getContacts.md b/old_docs/API_docs_v57/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_importCard.md b/old_docs/API_docs_v57/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_importContacts.md b/old_docs/API_docs_v57/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/contacts_unblock.md b/old_docs/API_docs_v57/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getAppChangelog.md b/old_docs/API_docs_v57/methods/help_getAppChangelog.md index 2e72e305..4dbf6812 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -16,7 +16,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsg.md b/old_docs/API_docs_v57/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/invokeWithLayer.md b/old_docs/API_docs_v57/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md index 100e49da..f9a112f6 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -21,7 +21,7 @@ description: messages.clearRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_createChat.md b/old_docs/API_docs_v57/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_deleteHistory.md b/old_docs/API_docs_v57/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_deleteMessages.md b/old_docs/API_docs_v57/methods/messages_deleteMessages.md index d9d28886..1d1814ff 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -21,7 +21,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_discardEncryption.md b/old_docs/API_docs_v57/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v57/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_editChatTitle.md b/old_docs/API_docs_v57/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessage.md b/old_docs/API_docs_v57/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessages.md b/old_docs/API_docs_v57/methods/messages_forwardMessages.md index c93b7c19..8a83a735 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md index 5ebdc27c..2ee3502c 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -23,7 +23,7 @@ description: messages.getArchivedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md index 5556f6fb..b15b1801 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -21,7 +21,7 @@ description: messages.getAttachedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md index ee46a5b9..90f6b875 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getChats.md b/old_docs/API_docs_v57/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getDhConfig.md b/old_docs/API_docs_v57/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v57/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index ca93a52a..61fa3149 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -24,7 +24,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md index e991e78b..5c51f4be 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.getFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getFullChat.md b/old_docs/API_docs_v57/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v57/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v57/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index 097f1fec..8e3f69d8 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -23,7 +23,7 @@ description: messages.getGameHighScores parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getHistory.md b/old_docs/API_docs_v57/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md index 370ff8fd..6811fba8 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -22,7 +22,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md index d2e93651..7aedd066 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -21,7 +21,7 @@ description: messages.getMaskStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getMessages.md b/old_docs/API_docs_v57/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md index b522717c..98b76d5e 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -22,7 +22,7 @@ description: messages.getRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getStickerSet.md b/old_docs/API_docs_v57/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_importChatInvite.md b/old_docs/API_docs_v57/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_installStickerSet.md b/old_docs/API_docs_v57/methods/messages_installStickerSet.md index 48b77a20..ad734572 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_migrateChat.md b/old_docs/API_docs_v57/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md index 1dbbbe4f..0526f0b5 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.readFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_readHistory.md b/old_docs/API_docs_v57/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_readMessageContents.md b/old_docs/API_docs_v57/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_receivedMessages.md b/old_docs/API_docs_v57/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_receivedQueue.md b/old_docs/API_docs_v57/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v57/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index 698bc50a..4cfc68ef 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -22,7 +22,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_reportSpam.md b/old_docs/API_docs_v57/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_requestEncryption.md b/old_docs/API_docs_v57/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v57/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_saveGif.md b/old_docs/API_docs_v57/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md index b1e76785..1acc5473 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -23,7 +23,7 @@ description: messages.saveRecentSticker parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_search.md b/old_docs/API_docs_v57/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_searchGifs.md b/old_docs/API_docs_v57/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_searchGlobal.md b/old_docs/API_docs_v57/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendMedia.md b/old_docs/API_docs_v57/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md index 93cd070b..2c0579db 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setGameScore.md b/old_docs/API_docs_v57/methods/messages_setGameScore.md index f6a12647..229087a0 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -25,7 +25,7 @@ description: messages.setGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md index 8ea58b98..31d7bd4d 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -24,7 +24,7 @@ description: messages.setInlineGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_setTyping.md b/old_docs/API_docs_v57/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_startBot.md b/old_docs/API_docs_v57/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/photos_deletePhotos.md b/old_docs/API_docs_v57/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md index 13443ab7..46cb4c32 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md index 76f4514a..d8c1f9ec 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md index d3b725f4..6fe9722a 100644 --- a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md @@ -24,7 +24,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/updates_getDifference.md b/old_docs/API_docs_v57/methods/updates_getDifference.md index 719a7a02..9aab53f6 100644 --- a/old_docs/API_docs_v57/methods/updates_getDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getDifference.md @@ -23,7 +23,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/updates_getState.md b/old_docs/API_docs_v57/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v57/methods/updates_getState.md +++ b/old_docs/API_docs_v57/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/upload_getFile.md b/old_docs/API_docs_v57/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v57/methods/upload_getFile.md +++ b/old_docs/API_docs_v57/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/upload_saveFilePart.md b/old_docs/API_docs_v57/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v57/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/users_getFullUser.md b/old_docs/API_docs_v57/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v57/methods/users_getFullUser.md +++ b/old_docs/API_docs_v57/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_changePhone.md b/old_docs/API_docs_v62/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_checkUsername.md b/old_docs/API_docs_v62/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_confirmPhone.md b/old_docs/API_docs_v62/methods/account_confirmPhone.md index 99af6c2c..0b8437dd 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -22,7 +22,7 @@ description: account.confirmPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_deleteAccount.md b/old_docs/API_docs_v62/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getPrivacy.md b/old_docs/API_docs_v62/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_reportPeer.md b/old_docs/API_docs_v62/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_resetAuthorization.md b/old_docs/API_docs_v62/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md index c1b7cacd..8d28787e 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -23,7 +23,7 @@ description: account.sendConfirmPhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_setAccountTTL.md b/old_docs/API_docs_v62/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_setPrivacy.md b/old_docs/API_docs_v62/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_unregisterDevice.md b/old_docs/API_docs_v62/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updateProfile.md b/old_docs/API_docs_v62/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updateStatus.md b/old_docs/API_docs_v62/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/account_updateUsername.md b/old_docs/API_docs_v62/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_checkPassword.md b/old_docs/API_docs_v62/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v62/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md index 9c43b925..91d04065 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -21,7 +21,7 @@ description: auth.dropTempAuthKeys parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_importAuthorization.md b/old_docs/API_docs_v62/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v62/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md index 11d2f7f3..57b0079b 100644 --- a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md @@ -23,7 +23,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_logOut.md b/old_docs/API_docs_v62/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v62/methods/auth_logOut.md +++ b/old_docs/API_docs_v62/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_sendCode.md b/old_docs/API_docs_v62/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/old_docs/API_docs_v62/methods/auth_sendCode.md +++ b/old_docs/API_docs_v62/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_signIn.md b/old_docs/API_docs_v62/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v62/methods/auth_signIn.md +++ b/old_docs/API_docs_v62/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/auth_signUp.md b/old_docs/API_docs_v62/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v62/methods/auth_signUp.md +++ b/old_docs/API_docs_v62/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_createChannel.md b/old_docs/API_docs_v62/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_deleteChannel.md b/old_docs/API_docs_v62/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_deleteMessages.md b/old_docs/API_docs_v62/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_editAbout.md b/old_docs/API_docs_v62/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_editAdmin.md b/old_docs/API_docs_v62/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_editPhoto.md b/old_docs/API_docs_v62/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_editTitle.md b/old_docs/API_docs_v62/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_exportInvite.md b/old_docs/API_docs_v62/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md index 5293e859..31ed5556 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -16,7 +16,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getFullChannel.md b/old_docs/API_docs_v62/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v62/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v62/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getParticipant.md b/old_docs/API_docs_v62/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_joinChannel.md b/old_docs/API_docs_v62/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_leaveChannel.md b/old_docs/API_docs_v62/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_readHistory.md b/old_docs/API_docs_v62/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_reportSpam.md b/old_docs/API_docs_v62/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_toggleInvites.md b/old_docs/API_docs_v62/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/channels_updateUsername.md b/old_docs/API_docs_v62/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_block.md b/old_docs/API_docs_v62/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContact.md b/old_docs/API_docs_v62/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_getContacts.md b/old_docs/API_docs_v62/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_importCard.md b/old_docs/API_docs_v62/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_importContacts.md b/old_docs/API_docs_v62/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/contacts_unblock.md b/old_docs/API_docs_v62/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/destroy_auth_key.md b/old_docs/API_docs_v62/methods/destroy_auth_key.md index 83e1393d..5f025647 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -16,7 +16,7 @@ description: destroy_auth_key parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index 2e72e305..4dbf6812 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -16,7 +16,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md index f90469e2..e1f91e58 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -22,7 +22,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/initConnection.md b/old_docs/API_docs_v62/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsg.md b/old_docs/API_docs_v62/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/invokeWithLayer.md b/old_docs/API_docs_v62/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md index 100e49da..f9a112f6 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -21,7 +21,7 @@ description: messages.clearRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_createChat.md b/old_docs/API_docs_v62/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_deleteHistory.md b/old_docs/API_docs_v62/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_deleteMessages.md b/old_docs/API_docs_v62/methods/messages_deleteMessages.md index 2a5f61f6..4f25ff98 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -22,7 +22,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_discardEncryption.md b/old_docs/API_docs_v62/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v62/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_editChatTitle.md b/old_docs/API_docs_v62/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessage.md b/old_docs/API_docs_v62/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessages.md b/old_docs/API_docs_v62/methods/messages_forwardMessages.md index c93b7c19..8a83a735 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getAllChats.md b/old_docs/API_docs_v62/methods/messages_getAllChats.md index 480205eb..b204aed1 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -21,7 +21,7 @@ description: messages.getAllChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md index 5ebdc27c..2ee3502c 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -23,7 +23,7 @@ description: messages.getArchivedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md index 5556f6fb..b15b1801 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -21,7 +21,7 @@ description: messages.getAttachedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md index ee46a5b9..90f6b875 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getChats.md b/old_docs/API_docs_v62/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getCommonChats.md b/old_docs/API_docs_v62/methods/messages_getCommonChats.md index 6065b894..dbc917fc 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -23,7 +23,7 @@ description: messages.getCommonChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getDhConfig.md b/old_docs/API_docs_v62/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v62/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index bb9f947e..f5901eb6 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md index e991e78b..5c51f4be 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.getFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getFullChat.md b/old_docs/API_docs_v62/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v62/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v62/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index 097f1fec..8e3f69d8 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -23,7 +23,7 @@ description: messages.getGameHighScores parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getHistory.md b/old_docs/API_docs_v62/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md index 370ff8fd..6811fba8 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -22,7 +22,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md index d2e93651..7aedd066 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -21,7 +21,7 @@ description: messages.getMaskStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getMessages.md b/old_docs/API_docs_v62/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md index 4dcb6530..09499e6c 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -16,7 +16,7 @@ description: messages.getPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index b522717c..98b76d5e 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -22,7 +22,7 @@ description: messages.getRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getStickerSet.md b/old_docs/API_docs_v62/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getWebPage.md b/old_docs/API_docs_v62/methods/messages_getWebPage.md index dfcf8cd0..10a92123 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -22,7 +22,7 @@ description: messages.getWebPage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_importChatInvite.md b/old_docs/API_docs_v62/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_installStickerSet.md b/old_docs/API_docs_v62/methods/messages_installStickerSet.md index 48b77a20..ad734572 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_migrateChat.md b/old_docs/API_docs_v62/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md index 1dbbbe4f..0526f0b5 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.readFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_readHistory.md b/old_docs/API_docs_v62/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_readMessageContents.md b/old_docs/API_docs_v62/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_receivedMessages.md b/old_docs/API_docs_v62/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_receivedQueue.md b/old_docs/API_docs_v62/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v62/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index 797c5d17..0eb7c736 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -22,7 +22,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md index 698bc50a..4cfc68ef 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -22,7 +22,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md index 6334ba63..a6b6023b 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -21,7 +21,7 @@ description: messages.reportEncryptedSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_reportSpam.md b/old_docs/API_docs_v62/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_requestEncryption.md b/old_docs/API_docs_v62/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v62/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_saveGif.md b/old_docs/API_docs_v62/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md index b1e76785..1acc5473 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -23,7 +23,7 @@ description: messages.saveRecentSticker parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_search.md b/old_docs/API_docs_v62/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_searchGifs.md b/old_docs/API_docs_v62/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_searchGlobal.md b/old_docs/API_docs_v62/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendMedia.md b/old_docs/API_docs_v62/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md index 1b0c8cd2..38a65f69 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -25,7 +25,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setGameScore.md b/old_docs/API_docs_v62/methods/messages_setGameScore.md index 5d5231ea..d6e7a77a 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -26,7 +26,7 @@ description: messages.setGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md index 02082156..d3a8846c 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -25,7 +25,7 @@ description: messages.setInlineGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_setTyping.md b/old_docs/API_docs_v62/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_startBot.md b/old_docs/API_docs_v62/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md index 3b5eafc8..6e1230cd 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -22,7 +22,7 @@ description: messages.toggleDialogPin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/phone_acceptCall.md b/old_docs/API_docs_v62/methods/phone_acceptCall.md index 4d7275d8..a28a339c 100644 --- a/old_docs/API_docs_v62/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v62/methods/phone_acceptCall.md @@ -24,7 +24,7 @@ description: phone.acceptCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/phone_discardCall.md b/old_docs/API_docs_v62/methods/phone_discardCall.md index 02c21048..07cf4a9f 100644 --- a/old_docs/API_docs_v62/methods/phone_discardCall.md +++ b/old_docs/API_docs_v62/methods/phone_discardCall.md @@ -24,7 +24,7 @@ description: phone.discardCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index 793907ea..748e215d 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -21,7 +21,7 @@ description: phone.receivedCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/phone_requestCall.md b/old_docs/API_docs_v62/methods/phone_requestCall.md index a8d475b7..2759cf25 100644 --- a/old_docs/API_docs_v62/methods/phone_requestCall.md +++ b/old_docs/API_docs_v62/methods/phone_requestCall.md @@ -23,7 +23,7 @@ description: phone.requestCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md index 13443ab7..46cb4c32 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md index 76f4514a..d8c1f9ec 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md index 20a16be2..b343b62f 100644 --- a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md @@ -25,7 +25,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/updates_getDifference.md b/old_docs/API_docs_v62/methods/updates_getDifference.md index ae27a7b9..a0aadc04 100644 --- a/old_docs/API_docs_v62/methods/updates_getDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getDifference.md @@ -24,7 +24,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/updates_getState.md b/old_docs/API_docs_v62/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v62/methods/updates_getState.md +++ b/old_docs/API_docs_v62/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/upload_getFile.md b/old_docs/API_docs_v62/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v62/methods/upload_getFile.md +++ b/old_docs/API_docs_v62/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/upload_saveFilePart.md b/old_docs/API_docs_v62/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v62/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/users_getFullUser.md b/old_docs/API_docs_v62/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v62/methods/users_getFullUser.md +++ b/old_docs/API_docs_v62/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_changePhone.md b/old_docs/API_docs_v65/methods/account_changePhone.md index 6691a743..56c862f8 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -23,7 +23,7 @@ description: account.changePhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_checkUsername.md b/old_docs/API_docs_v65/methods/account_checkUsername.md index e954ca99..2b331286 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -21,7 +21,7 @@ description: account.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_confirmPhone.md b/old_docs/API_docs_v65/methods/account_confirmPhone.md index 99af6c2c..0b8437dd 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -22,7 +22,7 @@ description: account.confirmPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_deleteAccount.md b/old_docs/API_docs_v65/methods/account_deleteAccount.md index 0d0a6204..02e52d28 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -21,7 +21,7 @@ description: account.deleteAccount parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index e284a80e..38738691 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -16,7 +16,7 @@ description: account.getAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index ee5a00d6..44667b7d 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -16,7 +16,7 @@ description: account.getAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 2e7fd9ba..01f65508 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -21,7 +21,7 @@ description: account.getNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index 424d3710..c1d786ac 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -16,7 +16,7 @@ description: account.getPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index 3e72e398..b0b8b8c3 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -21,7 +21,7 @@ description: account.getPasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getPrivacy.md b/old_docs/API_docs_v65/methods/account_getPrivacy.md index 26137fd3..ac687223 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -21,7 +21,7 @@ description: account.getPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getTmpPassword.md b/old_docs/API_docs_v65/methods/account_getTmpPassword.md index e8396e8b..c63dea5c 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -22,7 +22,7 @@ description: account.getTmpPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index a44ea777..0b9f6c88 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -16,7 +16,7 @@ description: account.getWallPapers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index c4704140..07381be6 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -22,7 +22,7 @@ description: account.registerDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_reportPeer.md b/old_docs/API_docs_v65/methods/account_reportPeer.md index 7d913217..019e88a5 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -22,7 +22,7 @@ description: account.reportPeer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_resetAuthorization.md b/old_docs/API_docs_v65/methods/account_resetAuthorization.md index 2c7c5bc4..050b053a 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -21,7 +21,7 @@ description: account.resetAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index aa01dfce..5dbb94ed 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -16,7 +16,7 @@ description: account.resetNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index a3d15473..83cfe3e2 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -23,7 +23,7 @@ description: account.sendChangePhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md index c1b7cacd..8d28787e 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -23,7 +23,7 @@ description: account.sendConfirmPhoneCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_setAccountTTL.md b/old_docs/API_docs_v65/methods/account_setAccountTTL.md index 460ae89a..a538a11e 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -21,7 +21,7 @@ description: account.setAccountTTL parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_setPrivacy.md b/old_docs/API_docs_v65/methods/account_setPrivacy.md index f05356db..5b4e0df7 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -22,7 +22,7 @@ description: account.setPrivacy parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_unregisterDevice.md b/old_docs/API_docs_v65/methods/account_unregisterDevice.md index 1063fad3..9144a44b 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -22,7 +22,7 @@ description: account.unregisterDevice parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md index 506d974f..37c49ddc 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -21,7 +21,7 @@ description: account.updateDeviceLocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md index cb90a39f..4821983f 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -22,7 +22,7 @@ description: account.updateNotifySettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md index ad1a930d..2620da2d 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -22,7 +22,7 @@ description: account.updatePasswordSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updateProfile.md b/old_docs/API_docs_v65/methods/account_updateProfile.md index 3edc695d..e12a2f1c 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -23,7 +23,7 @@ description: account.updateProfile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updateStatus.md b/old_docs/API_docs_v65/methods/account_updateStatus.md index ac260312..75bb6a42 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -21,7 +21,7 @@ description: account.updateStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/account_updateUsername.md b/old_docs/API_docs_v65/methods/account_updateUsername.md index 7daf43e0..061327ff 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -21,7 +21,7 @@ description: account.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md index 55e083cd..121d76c9 100644 --- a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md @@ -24,7 +24,7 @@ description: auth.bindTempAuthKey parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 520caa6f..73a8c55b 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -22,7 +22,7 @@ description: auth.cancelCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_checkPassword.md b/old_docs/API_docs_v65/methods/auth_checkPassword.md index 9dcb706a..ccef2c5f 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v65/methods/auth_checkPassword.md @@ -21,7 +21,7 @@ description: auth.checkPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index ce137f9d..40bb100b 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -21,7 +21,7 @@ description: auth.checkPhone parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md index 9c43b925..91d04065 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -21,7 +21,7 @@ description: auth.dropTempAuthKeys parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md index bfd16433..62cc1de3 100644 --- a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md @@ -21,7 +21,7 @@ description: auth.exportAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_importAuthorization.md b/old_docs/API_docs_v65/methods/auth_importAuthorization.md index 956f9a72..85101d26 100644 --- a/old_docs/API_docs_v65/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importAuthorization.md @@ -22,7 +22,7 @@ description: auth.importAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md index c9bdb968..c5ea477d 100644 --- a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md @@ -27,7 +27,7 @@ description: auth.importBotAuthorization parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_logOut.md b/old_docs/API_docs_v65/methods/auth_logOut.md index 5651f753..f4e78493 100644 --- a/old_docs/API_docs_v65/methods/auth_logOut.md +++ b/old_docs/API_docs_v65/methods/auth_logOut.md @@ -16,7 +16,7 @@ description: auth.logOut parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index e253e7d9..4094be97 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -21,7 +21,7 @@ description: auth.recoverPassword parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index 2ae670eb..dc58e4f2 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -16,7 +16,7 @@ description: auth.requestPasswordRecovery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index cb9dfd91..6ba623cf 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -22,7 +22,7 @@ description: auth.resendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 9b324b42..92139765 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -16,7 +16,7 @@ description: auth.resetAuthorizations parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_sendCode.md b/old_docs/API_docs_v65/methods/auth_sendCode.md index c5888bac..423da558 100644 --- a/old_docs/API_docs_v65/methods/auth_sendCode.md +++ b/old_docs/API_docs_v65/methods/auth_sendCode.md @@ -25,7 +25,7 @@ description: auth.sendCode parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index d9b09e7a..764c1215 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -22,7 +22,7 @@ description: auth.sendInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_signIn.md b/old_docs/API_docs_v65/methods/auth_signIn.md index b0fb12fe..2371bc5a 100644 --- a/old_docs/API_docs_v65/methods/auth_signIn.md +++ b/old_docs/API_docs_v65/methods/auth_signIn.md @@ -23,7 +23,7 @@ description: auth.signIn parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/auth_signUp.md b/old_docs/API_docs_v65/methods/auth_signUp.md index 6f92b4f7..9cd06abd 100644 --- a/old_docs/API_docs_v65/methods/auth_signUp.md +++ b/old_docs/API_docs_v65/methods/auth_signUp.md @@ -25,7 +25,7 @@ description: auth.signUp parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index 65c85355..539e060d 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -22,7 +22,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md index 4c759d91..ea74fcfd 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -22,7 +22,7 @@ description: bots.sendCustomRequest parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_checkUsername.md b/old_docs/API_docs_v65/methods/channels_checkUsername.md index 298b8e35..0f18ded2 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -22,7 +22,7 @@ description: channels.checkUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_createChannel.md b/old_docs/API_docs_v65/methods/channels_createChannel.md index 207c60e9..a4819767 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -24,7 +24,7 @@ description: channels.createChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_deleteChannel.md b/old_docs/API_docs_v65/methods/channels_deleteChannel.md index 825882ab..4803d178 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -21,7 +21,7 @@ description: channels.deleteChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_deleteMessages.md b/old_docs/API_docs_v65/methods/channels_deleteMessages.md index 14fe6256..2dfdd86f 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -22,7 +22,7 @@ description: channels.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md index c485126f..f8b74568 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -22,7 +22,7 @@ description: channels.deleteUserHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_editAbout.md b/old_docs/API_docs_v65/methods/channels_editAbout.md index 87c1a2c0..ea83966c 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -22,7 +22,7 @@ description: channels.editAbout parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_editAdmin.md b/old_docs/API_docs_v65/methods/channels_editAdmin.md index 48042957..4596e082 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -23,7 +23,7 @@ description: channels.editAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_editPhoto.md b/old_docs/API_docs_v65/methods/channels_editPhoto.md index caea3df6..d0ad0238 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -22,7 +22,7 @@ description: channels.editPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_editTitle.md b/old_docs/API_docs_v65/methods/channels_editTitle.md index 6f05ed61..09a7b5f4 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -22,7 +22,7 @@ description: channels.editTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_exportInvite.md b/old_docs/API_docs_v65/methods/channels_exportInvite.md index 7483038b..0d709daa 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -21,7 +21,7 @@ description: channels.exportInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md index e239030c..644c5b1a 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -22,7 +22,7 @@ description: channels.exportMessageLink parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md index 5293e859..31ed5556 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -16,7 +16,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index 004f7b7e..c56d89ec 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -21,7 +21,7 @@ description: channels.getChannels parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getFullChannel.md b/old_docs/API_docs_v65/methods/channels_getFullChannel.md index 37abd094..1215fcf3 100644 --- a/old_docs/API_docs_v65/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v65/methods/channels_getFullChannel.md @@ -21,7 +21,7 @@ description: channels.getFullChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index 3aca181e..beee8910 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -22,7 +22,7 @@ description: channels.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getParticipant.md b/old_docs/API_docs_v65/methods/channels_getParticipant.md index 6bb9339e..4d72ab8e 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -22,7 +22,7 @@ description: channels.getParticipant parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index 51ac2c09..3e845a7d 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -24,7 +24,7 @@ description: channels.getParticipants parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md index 57581c7a..9ffc3e06 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -22,7 +22,7 @@ description: channels.inviteToChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_joinChannel.md b/old_docs/API_docs_v65/methods/channels_joinChannel.md index 359333fd..7cd5eec4 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -21,7 +21,7 @@ description: channels.joinChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md index 930902a3..1dc6b4b7 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -23,7 +23,7 @@ description: channels.kickFromChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_leaveChannel.md b/old_docs/API_docs_v65/methods/channels_leaveChannel.md index a10d17e7..fb3a5fb9 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -21,7 +21,7 @@ description: channels.leaveChannel parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_readHistory.md b/old_docs/API_docs_v65/methods/channels_readHistory.md index 104a7b8f..9fcf8836 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -22,7 +22,7 @@ description: channels.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_reportSpam.md b/old_docs/API_docs_v65/methods/channels_reportSpam.md index 9e3e13ac..bc3b2ce0 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -23,7 +23,7 @@ description: channels.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_toggleInvites.md b/old_docs/API_docs_v65/methods/channels_toggleInvites.md index 5238c028..f537ada8 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -22,7 +22,7 @@ description: channels.toggleInvites parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md index c850d592..327795f4 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -22,7 +22,7 @@ description: channels.toggleSignatures parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md index 9a879125..97327889 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -23,7 +23,7 @@ description: channels.updatePinnedMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/channels_updateUsername.md b/old_docs/API_docs_v65/methods/channels_updateUsername.md index 801bc972..a8fb27d4 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -22,7 +22,7 @@ description: channels.updateUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_block.md b/old_docs/API_docs_v65/methods/contacts_block.md index f512adcc..383e03ee 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -21,7 +21,7 @@ description: contacts.block parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContact.md b/old_docs/API_docs_v65/methods/contacts_deleteContact.md index a3e8f63d..ccccce7b 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -21,7 +21,7 @@ description: contacts.deleteContact parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md index 46e251eb..fbac87ca 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -21,7 +21,7 @@ description: contacts.deleteContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index f7ec0015..229bf31b 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -16,7 +16,7 @@ description: contacts.exportCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index 0fc72dba..0ec6ac6b 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -22,7 +22,7 @@ description: contacts.getBlocked parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_getContacts.md b/old_docs/API_docs_v65/methods/contacts_getContacts.md index 656821e0..1a87d2e6 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -21,7 +21,7 @@ description: contacts.getContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index ee806f2d..f8b5114c 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -16,7 +16,7 @@ description: contacts.getStatuses parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index 75b4126a..0c8813ff 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -28,7 +28,7 @@ description: contacts.getTopPeers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_importCard.md b/old_docs/API_docs_v65/methods/contacts_importCard.md index 162ff4f3..9ff21c52 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -21,7 +21,7 @@ description: contacts.importCard parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_importContacts.md b/old_docs/API_docs_v65/methods/contacts_importContacts.md index 48412e99..10c884ca 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -22,7 +22,7 @@ description: contacts.importContacts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md index 79cf7847..6d2b6397 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -22,7 +22,7 @@ description: contacts.resetTopPeerRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md index b847fbe9..75ac6fff 100644 --- a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md @@ -21,7 +21,7 @@ description: contacts.resolveUsername parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index 9a351db7..eb60c0a8 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -22,7 +22,7 @@ description: contacts.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contacts_unblock.md b/old_docs/API_docs_v65/methods/contacts_unblock.md index 6d739c9b..fd316f6a 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -21,7 +21,7 @@ description: contacts.unblock parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md index 04e2b4e3..4dac3459 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -25,7 +25,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/destroy_auth_key.md b/old_docs/API_docs_v65/methods/destroy_auth_key.md index 83e1393d..5f025647 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -16,7 +16,7 @@ description: destroy_auth_key parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index 12927fea..86dcd5fe 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -21,7 +21,7 @@ description: destroy_session parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/get_future_salts.md b/old_docs/API_docs_v65/methods/get_future_salts.md index 83d4d495..5c35ffa0 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -21,7 +21,7 @@ description: get_future_salts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getAppChangelog.md b/old_docs/API_docs_v65/methods/help_getAppChangelog.md index d6f37df7..1a2e43f6 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getAppUpdate.md b/old_docs/API_docs_v65/methods/help_getAppUpdate.md index f2871a39..8870072b 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -16,7 +16,7 @@ description: help.getAppUpdate parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index 9481a0c0..9c0a7680 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -16,7 +16,7 @@ description: help.getConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index 5f81c4dc..19fd0484 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -16,7 +16,7 @@ description: help.getInviteText parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index bb6b1883..e0dd18b1 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -16,7 +16,7 @@ description: help.getNearestDc parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index 0348089a..3a7f460c 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -16,7 +16,7 @@ description: help.getSupport parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index 7a32bdaf..e53dba71 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -16,7 +16,7 @@ description: help.getTermsOfService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index 59b92601..1a9b7305 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -21,7 +21,7 @@ description: help.saveAppLog parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md index f90469e2..e1f91e58 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -22,7 +22,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/initConnection.md b/old_docs/API_docs_v65/methods/initConnection.md index aa89066c..bbe108ab 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -26,7 +26,7 @@ description: initConnection parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsg.md b/old_docs/API_docs_v65/methods/invokeAfterMsg.md index 97c4f1fb..52d07148 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -22,7 +22,7 @@ description: invokeAfterMsg parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md index 4e278ef1..53ca5858 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -22,7 +22,7 @@ description: invokeAfterMsgs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/invokeWithLayer.md b/old_docs/API_docs_v65/methods/invokeWithLayer.md index 72fe47ec..13056af4 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -22,7 +22,7 @@ description: invokeWithLayer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md index 5151b786..c699baf2 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -21,7 +21,7 @@ description: invokeWithoutUpdates parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md index e016f5d3..754512b0 100644 --- a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md @@ -23,7 +23,7 @@ description: messages.acceptEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index 6b652bea..19d20fc5 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -23,7 +23,7 @@ description: messages.addChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md index 7670727b..c00ad847 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -21,7 +21,7 @@ description: messages.checkChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md index 100e49da..f9a112f6 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -21,7 +21,7 @@ description: messages.clearRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_createChat.md b/old_docs/API_docs_v65/methods/messages_createChat.md index 2fc5631c..fb9adf26 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -22,7 +22,7 @@ description: messages.createChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md index 4afb209f..14779f13 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -22,7 +22,7 @@ description: messages.deleteChatUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_deleteHistory.md b/old_docs/API_docs_v65/methods/messages_deleteHistory.md index e8c98c07..4a3c7e3f 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -23,7 +23,7 @@ description: messages.deleteHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_deleteMessages.md b/old_docs/API_docs_v65/methods/messages_deleteMessages.md index 2a5f61f6..4f25ff98 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -22,7 +22,7 @@ description: messages.deleteMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_discardEncryption.md b/old_docs/API_docs_v65/methods/messages_discardEncryption.md index f237c986..ec3b39c8 100644 --- a/old_docs/API_docs_v65/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_discardEncryption.md @@ -21,7 +21,7 @@ description: messages.discardEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md index 67b6702f..515c2ede 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -23,7 +23,7 @@ description: messages.editChatAdmin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md index fa3b32db..adb91066 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -22,7 +22,7 @@ description: messages.editChatPhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_editChatTitle.md b/old_docs/API_docs_v65/methods/messages_editChatTitle.md index 8825380e..3ea7d29e 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -22,7 +22,7 @@ description: messages.editChatTitle parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index e6e74c03..19405712 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -26,7 +26,7 @@ description: messages.editInlineBotMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index 574344cc..05410c5d 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -27,7 +27,7 @@ description: messages.editMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md index 2e3afe8d..b2e23247 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -21,7 +21,7 @@ description: messages.exportChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessage.md b/old_docs/API_docs_v65/methods/messages_forwardMessage.md index ced2cb5b..7d0e9ef8 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -22,7 +22,7 @@ description: messages.forwardMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessages.md b/old_docs/API_docs_v65/methods/messages_forwardMessages.md index c93b7c19..8a83a735 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -26,7 +26,7 @@ description: messages.forwardMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getAllChats.md b/old_docs/API_docs_v65/methods/messages_getAllChats.md index 480205eb..b204aed1 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -21,7 +21,7 @@ description: messages.getAllChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md index ec7ebddb..97807321 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -16,7 +16,7 @@ description: messages.getAllDrafts parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index fe438a80..bc49bdd6 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -21,7 +21,7 @@ description: messages.getAllStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md index 5ebdc27c..2ee3502c 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -23,7 +23,7 @@ description: messages.getArchivedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md index 5556f6fb..b15b1801 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -21,7 +21,7 @@ description: messages.getAttachedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md index ee46a5b9..90f6b875 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -24,7 +24,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getChats.md b/old_docs/API_docs_v65/methods/messages_getChats.md index be57718e..84a994c9 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -21,7 +21,7 @@ description: messages.getChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getCommonChats.md b/old_docs/API_docs_v65/methods/messages_getCommonChats.md index 6065b894..dbc917fc 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -23,7 +23,7 @@ description: messages.getCommonChats parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getDhConfig.md b/old_docs/API_docs_v65/methods/messages_getDhConfig.md index 21b37f21..6d9914f0 100644 --- a/old_docs/API_docs_v65/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages_getDhConfig.md @@ -22,7 +22,7 @@ description: messages.getDhConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index bb9f947e..f5901eb6 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -25,7 +25,7 @@ description: messages.getDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md index ca26acc3..2daac691 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -23,7 +23,7 @@ description: messages.getDocumentByHash parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md index e991e78b..5c51f4be 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.getFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getFullChat.md b/old_docs/API_docs_v65/methods/messages_getFullChat.md index 3de40295..2f282c86 100644 --- a/old_docs/API_docs_v65/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v65/methods/messages_getFullChat.md @@ -21,7 +21,7 @@ description: messages.getFullChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index 097f1fec..8e3f69d8 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -23,7 +23,7 @@ description: messages.getGameHighScores parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getHistory.md b/old_docs/API_docs_v65/methods/messages_getHistory.md index 1befedca..9d54dd86 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -27,7 +27,7 @@ description: messages.getHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md index 6364519c..0ad9e385 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -25,7 +25,7 @@ description: messages.getInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md index 370ff8fd..6811fba8 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -22,7 +22,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md index d2e93651..7aedd066 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -21,7 +21,7 @@ description: messages.getMaskStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md index 0189b6a5..eb2ea4e3 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -22,7 +22,7 @@ description: messages.getMessageEditData parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getMessages.md b/old_docs/API_docs_v65/methods/messages_getMessages.md index e669bcf8..a2a9d2e8 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -21,7 +21,7 @@ description: messages.getMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md index f27cdb36..bb1ebbb0 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -23,7 +23,7 @@ description: messages.getMessagesViews parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md index bcf9af29..af44c1dd 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -21,7 +21,7 @@ description: messages.getPeerDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md index bd60b87b..9a8817c0 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -21,7 +21,7 @@ description: messages.getPeerSettings parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md index 4dcb6530..09499e6c 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -16,7 +16,7 @@ description: messages.getPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index b522717c..98b76d5e 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -22,7 +22,7 @@ description: messages.getRecentStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md index fbdc5129..c528873b 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -21,7 +21,7 @@ description: messages.getSavedGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getStickerSet.md b/old_docs/API_docs_v65/methods/messages_getStickerSet.md index 561eec32..0ce53b44 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -21,7 +21,7 @@ description: messages.getStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getWebPage.md b/old_docs/API_docs_v65/methods/messages_getWebPage.md index dfcf8cd0..10a92123 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -22,7 +22,7 @@ description: messages.getWebPage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md index 14807ab2..112aa2ae 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -21,7 +21,7 @@ description: messages.getWebPagePreview parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md index 8a86e690..dbf882ee 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -21,7 +21,7 @@ description: messages.hideReportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_importChatInvite.md b/old_docs/API_docs_v65/methods/messages_importChatInvite.md index a4e9c052..934bd34b 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -21,7 +21,7 @@ description: messages.importChatInvite parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_installStickerSet.md b/old_docs/API_docs_v65/methods/messages_installStickerSet.md index 48b77a20..ad734572 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -22,7 +22,7 @@ description: messages.installStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_migrateChat.md b/old_docs/API_docs_v65/methods/messages_migrateChat.md index b97e2a77..eaa988a7 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -21,7 +21,7 @@ description: messages.migrateChat parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md index 5bb05536..e5e8efb9 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -22,7 +22,7 @@ description: messages.readEncryptedHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md index 1dbbbe4f..0526f0b5 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -21,7 +21,7 @@ description: messages.readFeaturedStickers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_readHistory.md b/old_docs/API_docs_v65/methods/messages_readHistory.md index 6bb29fef..c5ddb451 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -22,7 +22,7 @@ description: messages.readHistory parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_readMessageContents.md b/old_docs/API_docs_v65/methods/messages_readMessageContents.md index 829e7cc8..f14fac6e 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -21,7 +21,7 @@ description: messages.readMessageContents parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_receivedMessages.md b/old_docs/API_docs_v65/methods/messages_receivedMessages.md index 05a229b6..60042d4d 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -21,7 +21,7 @@ description: messages.receivedMessages parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_receivedQueue.md b/old_docs/API_docs_v65/methods/messages_receivedQueue.md index d8bfae5e..cf715358 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v65/methods/messages_receivedQueue.md @@ -21,7 +21,7 @@ description: messages.receivedQueue parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index 797c5d17..0eb7c736 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -22,7 +22,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md index 698bc50a..4cfc68ef 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -22,7 +22,7 @@ description: messages.reorderStickerSets parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md index 6334ba63..a6b6023b 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -21,7 +21,7 @@ description: messages.reportEncryptedSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_reportSpam.md b/old_docs/API_docs_v65/methods/messages_reportSpam.md index da747585..73e54a09 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -21,7 +21,7 @@ description: messages.reportSpam parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_requestEncryption.md b/old_docs/API_docs_v65/methods/messages_requestEncryption.md index 99fe7ecf..b4a6b06d 100644 --- a/old_docs/API_docs_v65/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_requestEncryption.md @@ -22,7 +22,7 @@ description: messages.requestEncryption parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index 1c624176..c28f8fd9 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -26,7 +26,7 @@ description: messages.saveDraft parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_saveGif.md b/old_docs/API_docs_v65/methods/messages_saveGif.md index ea2174ea..6a2269b5 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -22,7 +22,7 @@ description: messages.saveGif parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md index b1e76785..1acc5473 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -23,7 +23,7 @@ description: messages.saveRecentSticker parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_search.md b/old_docs/API_docs_v65/methods/messages_search.md index 05309dbf..d53456d0 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -28,7 +28,7 @@ description: messages.search parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_searchGifs.md b/old_docs/API_docs_v65/methods/messages_searchGifs.md index 8a1de718..ca0934be 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -22,7 +22,7 @@ description: messages.searchGifs parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_searchGlobal.md b/old_docs/API_docs_v65/methods/messages_searchGlobal.md index 02d790e9..36f09366 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -25,7 +25,7 @@ description: messages.searchGlobal parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md index 3a87be14..88af9d46 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -22,7 +22,7 @@ description: messages.sendEncrypted parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md index 34932902..fd031f0a 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -23,7 +23,7 @@ description: messages.sendEncryptedFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md index 3dbbd0a1..823e250e 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -22,7 +22,7 @@ description: messages.sendEncryptedService parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index 2d71d731..42eee3c3 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -27,7 +27,7 @@ description: messages.sendInlineBotResult parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendMedia.md b/old_docs/API_docs_v65/methods/messages_sendMedia.md index df132dc9..4f763d5e 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -27,7 +27,7 @@ description: messages.sendMedia parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index 99f51a31..b31fc6cc 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -30,7 +30,7 @@ description: messages.sendMessage parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md index 1b0c8cd2..38a65f69 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -25,7 +25,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md index f75dcd63..26d44b73 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -23,7 +23,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md index 1622d213..b0115468 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -23,7 +23,7 @@ description: messages.setBotShippingResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md index ae718bba..61d74858 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -22,7 +22,7 @@ description: messages.setEncryptedTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setGameScore.md b/old_docs/API_docs_v65/methods/messages_setGameScore.md index 5d5231ea..d6e7a77a 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -26,7 +26,7 @@ description: messages.setGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md index ea653cd7..0ef74b32 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -27,7 +27,7 @@ description: messages.setInlineBotResults parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md index 02082156..d3a8846c 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -25,7 +25,7 @@ description: messages.setInlineGameScore parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_setTyping.md b/old_docs/API_docs_v65/methods/messages_setTyping.md index 75903c68..359fa8d5 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -22,7 +22,7 @@ description: messages.setTyping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_startBot.md b/old_docs/API_docs_v65/methods/messages_startBot.md index bf79b142..58aadfab 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -23,7 +23,7 @@ description: messages.startBot parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md index dfacb2dc..ec1809f3 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -22,7 +22,7 @@ description: messages.toggleChatAdmins parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md index 3b5eafc8..6e1230cd 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -22,7 +22,7 @@ description: messages.toggleDialogPin parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md index 5202b086..939dc1db 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -21,7 +21,7 @@ description: messages.uninstallStickerSet parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md index 1835a6d1..e250bb2e 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -22,7 +22,7 @@ description: payments.clearSavedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md index fdfe9e47..b61c8ede 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -21,7 +21,7 @@ description: payments.getPaymentForm parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md index a85a2301..8e08e7a2 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -21,7 +21,7 @@ description: payments.getPaymentReceipt parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md index 946b3ebe..d697b221 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -16,7 +16,7 @@ description: payments.getSavedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index bb320757..573c2462 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -24,7 +24,7 @@ description: payments.sendPaymentForm parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md index e9b9073f..f10f7fed 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -23,7 +23,7 @@ description: payments.validateRequestedInfo parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_acceptCall.md b/old_docs/API_docs_v65/methods/phone_acceptCall.md index a60949bf..4b7386d5 100644 --- a/old_docs/API_docs_v65/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v65/methods/phone_acceptCall.md @@ -23,7 +23,7 @@ description: phone.acceptCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_confirmCall.md b/old_docs/API_docs_v65/methods/phone_confirmCall.md index d827ff56..3b189e69 100644 --- a/old_docs/API_docs_v65/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v65/methods/phone_confirmCall.md @@ -24,7 +24,7 @@ description: phone.confirmCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_discardCall.md b/old_docs/API_docs_v65/methods/phone_discardCall.md index 25468457..00b0d78e 100644 --- a/old_docs/API_docs_v65/methods/phone_discardCall.md +++ b/old_docs/API_docs_v65/methods/phone_discardCall.md @@ -24,7 +24,7 @@ description: phone.discardCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index 6eec6c6e..bdd54623 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -16,7 +16,7 @@ description: phone.getCallConfig parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index 793907ea..748e215d 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -21,7 +21,7 @@ description: phone.receivedCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_requestCall.md b/old_docs/API_docs_v65/methods/phone_requestCall.md index bc5a4ca5..633af965 100644 --- a/old_docs/API_docs_v65/methods/phone_requestCall.md +++ b/old_docs/API_docs_v65/methods/phone_requestCall.md @@ -23,7 +23,7 @@ description: phone.requestCall parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index 260e2729..cc495068 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -22,7 +22,7 @@ description: phone.saveCallDebug parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/phone_setCallRating.md b/old_docs/API_docs_v65/methods/phone_setCallRating.md index 053b3ffb..c00d5158 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -23,7 +23,7 @@ description: phone.setCallRating parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/photos_deletePhotos.md b/old_docs/API_docs_v65/methods/photos_deletePhotos.md index 2d27b700..b9e5a02b 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -21,7 +21,7 @@ description: photos.deletePhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md index 0f50ee6f..8d3dd0fe 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -24,7 +24,7 @@ description: photos.getUserPhotos parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md index 13443ab7..46cb4c32 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.updateProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md index 76f4514a..d8c1f9ec 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -21,7 +21,7 @@ description: photos.uploadProfilePhoto parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index 5d8c9e40..125f16e5 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -21,7 +21,7 @@ description: ping parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md index 5506d409..eab86cc5 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -22,7 +22,7 @@ description: ping_delay_disconnect parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/req_DH_params.md b/old_docs/API_docs_v65/methods/req_DH_params.md index 14549f8c..93ad6d82 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -26,7 +26,7 @@ description: req_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/req_pq.md b/old_docs/API_docs_v65/methods/req_pq.md index 5ca8eeb4..59fff9cc 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -21,7 +21,7 @@ description: req_pq parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/rpc_drop_answer.md b/old_docs/API_docs_v65/methods/rpc_drop_answer.md index 15c23e3d..94c8a32a 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -21,7 +21,7 @@ description: rpc_drop_answer parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/set_client_DH_params.md b/old_docs/API_docs_v65/methods/set_client_DH_params.md index a7447e99..795229e2 100644 --- a/old_docs/API_docs_v65/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v65/methods/set_client_DH_params.md @@ -23,7 +23,7 @@ description: set_client_DH_params parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md index 20a16be2..b343b62f 100644 --- a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md @@ -25,7 +25,7 @@ description: updates.getChannelDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/updates_getDifference.md b/old_docs/API_docs_v65/methods/updates_getDifference.md index ae27a7b9..a0aadc04 100644 --- a/old_docs/API_docs_v65/methods/updates_getDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getDifference.md @@ -24,7 +24,7 @@ description: updates.getDifference parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/updates_getState.md b/old_docs/API_docs_v65/methods/updates_getState.md index 53fc0c16..c6f98a9c 100644 --- a/old_docs/API_docs_v65/methods/updates_getState.md +++ b/old_docs/API_docs_v65/methods/updates_getState.md @@ -16,7 +16,7 @@ description: updates.getState parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/upload_getFile.md b/old_docs/API_docs_v65/methods/upload_getFile.md index ee35140a..8e32c8a3 100644 --- a/old_docs/API_docs_v65/methods/upload_getFile.md +++ b/old_docs/API_docs_v65/methods/upload_getFile.md @@ -23,7 +23,7 @@ description: upload.getFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index 72b62698..496c36f3 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -23,7 +23,7 @@ description: upload.getWebFile parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md index 503d1b5c..1a8d9efb 100644 --- a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md @@ -24,7 +24,7 @@ description: upload.saveBigFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/upload_saveFilePart.md b/old_docs/API_docs_v65/methods/upload_saveFilePart.md index d7f745aa..97dc64a3 100644 --- a/old_docs/API_docs_v65/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveFilePart.md @@ -23,7 +23,7 @@ description: upload.saveFilePart parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/users_getFullUser.md b/old_docs/API_docs_v65/methods/users_getFullUser.md index bcba7f3d..b2d9fb73 100644 --- a/old_docs/API_docs_v65/methods/users_getFullUser.md +++ b/old_docs/API_docs_v65/methods/users_getFullUser.md @@ -21,7 +21,7 @@ description: users.getFullUser parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index e03fd2d6..7ce944b8 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -21,7 +21,7 @@ description: users.getUsers parameters, return type and example ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number); diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 4d32d4d2..0e1cd841 100644 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -214,7 +214,7 @@ description: '.$description.' ``` $MadelineProto = new \danog\MadelineProto\API(); if (isset($token)) { // Login as a bot - $this->bot_login($token); + $MadelineProto->bot_login($token); } if (isset($number)) { // Login as a user $sentCode = $MadelineProto->phone_login($number);