From 5d57935c375e51b322a8a1cc56d512b35f09252e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 20 Mar 2018 19:57:36 +0100 Subject: [PATCH] Clearer examples --- docs/API_docs/methods/account_changePhone.md | 4 ++-- .../API_docs/methods/account_checkUsername.md | 4 ++-- docs/API_docs/methods/account_confirmPhone.md | 4 ++-- .../API_docs/methods/account_deleteAccount.md | 4 ++-- .../API_docs/methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- docs/API_docs/methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- docs/API_docs/methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../API_docs/methods/account_getWallPapers.md | 4 ++-- .../methods/account_getWebAuthorizations.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- docs/API_docs/methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_resetWebAuthorization.md | 4 ++-- .../methods/account_resetWebAuthorizations.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../API_docs/methods/account_setAccountTTL.md | 4 ++-- docs/API_docs/methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../API_docs/methods/account_updateProfile.md | 4 ++-- docs/API_docs/methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- docs/API_docs/methods/auth_cancelCode.md | 4 ++-- docs/API_docs/methods/auth_checkPhone.md | 4 ++-- .../API_docs/methods/auth_dropTempAuthKeys.md | 4 ++-- docs/API_docs/methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- docs/API_docs/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- docs/API_docs/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteHistory.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- docs/API_docs/methods/channels_editAbout.md | 4 ++-- docs/API_docs/methods/channels_editAdmin.md | 4 ++-- docs/API_docs/methods/channels_editBanned.md | 4 ++-- docs/API_docs/methods/channels_editPhoto.md | 4 ++-- docs/API_docs/methods/channels_editTitle.md | 4 ++-- .../API_docs/methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- docs/API_docs/methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- docs/API_docs/methods/channels_getChannels.md | 4 ++-- docs/API_docs/methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- docs/API_docs/methods/channels_joinChannel.md | 4 ++-- .../API_docs/methods/channels_leaveChannel.md | 4 ++-- docs/API_docs/methods/channels_readHistory.md | 4 ++-- .../methods/channels_readMessageContents.md | 4 ++-- docs/API_docs/methods/channels_reportSpam.md | 4 ++-- docs/API_docs/methods/channels_setStickers.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../channels_togglePreHistoryHidden.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- docs/API_docs/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- docs/API_docs/methods/contacts_exportCard.md | 4 ++-- docs/API_docs/methods/contacts_getBlocked.md | 4 ++-- docs/API_docs/methods/contacts_getContacts.md | 4 ++-- docs/API_docs/methods/contacts_getStatuses.md | 4 ++-- docs/API_docs/methods/contacts_getTopPeers.md | 20 +++++++++---------- docs/API_docs/methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- docs/API_docs/methods/contacts_resetSaved.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- docs/API_docs/methods/contacts_search.md | 4 ++-- docs/API_docs/methods/contacts_unblock.md | 4 ++-- docs/API_docs/methods/help_getAppChangelog.md | 4 ++-- docs/API_docs/methods/help_getAppUpdate.md | 4 ++-- docs/API_docs/methods/help_getCdnConfig.md | 4 ++-- docs/API_docs/methods/help_getConfig.md | 4 ++-- docs/API_docs/methods/help_getInviteText.md | 4 ++-- docs/API_docs/methods/help_getNearestDc.md | 4 ++-- docs/API_docs/methods/help_getRecentMeUrls.md | 4 ++-- docs/API_docs/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- docs/API_docs/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- docs/API_docs/methods/initConnection.md | 4 ++-- docs/API_docs/methods/invokeAfterMsg.md | 4 ++-- docs/API_docs/methods/invokeAfterMsgs.md | 4 ++-- docs/API_docs/methods/invokeWithLayer.md | 4 ++-- docs/API_docs/methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- docs/API_docs/methods/langpack_getLangPack.md | 4 ++-- .../API_docs/methods/langpack_getLanguages.md | 4 ++-- docs/API_docs/methods/langpack_getStrings.md | 4 ++-- docs/API_docs/methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- docs/API_docs/methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- docs/API_docs/methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- docs/API_docs/methods/messages_faveSticker.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- docs/API_docs/methods/messages_getAllChats.md | 4 ++-- .../API_docs/methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- docs/API_docs/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- docs/API_docs/methods/messages_getDhConfig.md | 4 ++-- docs/API_docs/methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFavedStickers.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- docs/API_docs/methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- docs/API_docs/methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentLocations.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../API_docs/methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- docs/API_docs/methods/messages_getStickers.md | 4 ++-- .../methods/messages_getUnreadMentions.md | 4 ++-- docs/API_docs/methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- docs/API_docs/methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- docs/API_docs/methods/messages_readHistory.md | 4 ++-- .../API_docs/methods/messages_readMentions.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- docs/API_docs/methods/messages_reportSpam.md | 4 ++-- docs/API_docs/methods/messages_saveDraft.md | 4 ++-- docs/API_docs/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- docs/API_docs/methods/messages_search.md | 4 ++-- docs/API_docs/methods/messages_searchGifs.md | 4 ++-- .../API_docs/methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- docs/API_docs/methods/messages_sendMedia.md | 4 ++-- docs/API_docs/methods/messages_sendMessage.md | 4 ++-- .../methods/messages_sendMultiMedia.md | 4 ++-- .../messages_sendScreenshotNotification.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../API_docs/methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- docs/API_docs/methods/messages_setTyping.md | 4 ++-- docs/API_docs/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadEncryptedFile.md | 4 ++-- docs/API_docs/methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../API_docs/methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- docs/API_docs/methods/phone_getCallConfig.md | 4 ++-- docs/API_docs/methods/phone_receivedCall.md | 4 ++-- docs/API_docs/methods/phone_saveCallDebug.md | 4 ++-- docs/API_docs/methods/phone_setCallRating.md | 4 ++-- docs/API_docs/methods/photos_deletePhotos.md | 4 ++-- docs/API_docs/methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- docs/API_docs/methods/upload_getWebFile.md | 4 ++-- docs/API_docs/methods/users_getUsers.md | 4 ++-- docs/MTProto_docs/methods/destroy_session.md | 4 ++-- docs/MTProto_docs/methods/get_future_salts.md | 4 ++-- docs/MTProto_docs/methods/http_wait.md | 4 ++-- docs/MTProto_docs/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- docs/MTProto_docs/methods/req_DH_params.md | 4 ++-- docs/MTProto_docs/methods/req_pq.md | 4 ++-- docs/MTProto_docs/methods/req_pq_multi.md | 4 ++-- docs/MTProto_docs/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v18/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v18/methods/auth_sendCall.md | 4 ++-- .../API_docs_v18/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v18/methods/auth_sendSms.md | 4 ++-- .../API_docs_v18/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v18/methods/contacts_search.md | 4 ++-- .../API_docs_v18/methods/contacts_unblock.md | 4 ++-- .../API_docs_v18/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v18/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v18/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v18/methods/help_getSupport.md | 4 ++-- .../API_docs_v18/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v18/methods/initConnection.md | 4 ++-- .../API_docs_v18/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v18/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v18/methods/invokeWithLayer18.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../API_docs_v18/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v18/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v18/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v23/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v23/methods/auth_sendCall.md | 4 ++-- .../API_docs_v23/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v23/methods/auth_sendSms.md | 4 ++-- .../API_docs_v23/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v23/methods/contacts_search.md | 4 ++-- .../API_docs_v23/methods/contacts_unblock.md | 4 ++-- .../API_docs_v23/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v23/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v23/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v23/methods/help_getSupport.md | 4 ++-- .../API_docs_v23/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v23/methods/initConnection.md | 4 ++-- .../API_docs_v23/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v23/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v23/methods/invokeWithLayer.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v23/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v23/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v23/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPassword.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v25/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v25/methods/auth_sendCall.md | 4 ++-- .../API_docs_v25/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v25/methods/auth_sendSms.md | 4 ++-- .../API_docs_v25/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v25/methods/contacts_search.md | 4 ++-- .../API_docs_v25/methods/contacts_unblock.md | 4 ++-- .../API_docs_v25/methods/geochats_checkin.md | 4 ++-- .../methods/geochats_createGeoChat.md | 4 ++-- .../methods/geochats_editChatPhoto.md | 4 ++-- .../methods/geochats_editChatTitle.md | 4 ++-- .../methods/geochats_getFullChat.md | 4 ++-- .../methods/geochats_getHistory.md | 4 ++-- .../methods/geochats_getLocated.md | 4 ++-- .../methods/geochats_getRecents.md | 4 ++-- .../API_docs_v25/methods/geochats_search.md | 4 ++-- .../methods/geochats_sendMedia.md | 4 ++-- .../methods/geochats_sendMessage.md | 4 ++-- .../methods/geochats_setTyping.md | 4 ++-- .../API_docs_v25/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v25/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v25/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v25/methods/help_getSupport.md | 4 ++-- .../API_docs_v25/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v25/methods/initConnection.md | 4 ++-- .../API_docs_v25/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v25/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v25/methods/invokeWithLayer.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v25/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../API_docs_v25/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v25/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v27/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v27/methods/auth_sendCall.md | 4 ++-- .../API_docs_v27/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v27/methods/auth_sendSms.md | 4 ++-- .../API_docs_v27/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v27/methods/contacts_search.md | 4 ++-- .../API_docs_v27/methods/contacts_unblock.md | 4 ++-- .../API_docs_v27/methods/geochats_checkin.md | 4 ++-- .../methods/geochats_createGeoChat.md | 4 ++-- .../methods/geochats_editChatPhoto.md | 4 ++-- .../methods/geochats_editChatTitle.md | 4 ++-- .../methods/geochats_getFullChat.md | 4 ++-- .../methods/geochats_getHistory.md | 4 ++-- .../methods/geochats_getLocated.md | 4 ++-- .../methods/geochats_getRecents.md | 4 ++-- .../API_docs_v27/methods/geochats_search.md | 4 ++-- .../methods/geochats_sendMedia.md | 4 ++-- .../methods/geochats_sendMessage.md | 4 ++-- .../methods/geochats_setTyping.md | 4 ++-- .../API_docs_v27/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v27/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v27/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v27/methods/help_getSupport.md | 4 ++-- .../API_docs_v27/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v27/methods/initConnection.md | 4 ++-- .../API_docs_v27/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v27/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v27/methods/invokeWithLayer.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v27/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../API_docs_v27/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v27/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v33/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v33/methods/auth_sendCall.md | 4 ++-- .../API_docs_v33/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v33/methods/auth_sendSms.md | 4 ++-- .../API_docs_v33/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v33/methods/contacts_search.md | 4 ++-- .../API_docs_v33/methods/contacts_unblock.md | 4 ++-- .../API_docs_v33/methods/geochats_checkin.md | 4 ++-- .../methods/geochats_createGeoChat.md | 4 ++-- .../methods/geochats_editChatPhoto.md | 4 ++-- .../methods/geochats_editChatTitle.md | 4 ++-- .../methods/geochats_getFullChat.md | 4 ++-- .../methods/geochats_getHistory.md | 4 ++-- .../methods/geochats_getLocated.md | 4 ++-- .../methods/geochats_getRecents.md | 4 ++-- .../API_docs_v33/methods/geochats_search.md | 4 ++-- .../methods/geochats_sendMedia.md | 4 ++-- .../methods/geochats_sendMessage.md | 4 ++-- .../methods/geochats_setTyping.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v33/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v33/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v33/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v33/methods/help_getSupport.md | 4 ++-- .../API_docs_v33/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v33/methods/initConnection.md | 4 ++-- .../API_docs_v33/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v33/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v33/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v33/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../API_docs_v33/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v33/methods/messages_startBot.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v33/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v38/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v38/methods/auth_sendCall.md | 4 ++-- .../API_docs_v38/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v38/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v38/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v38/methods/contacts_search.md | 4 ++-- .../API_docs_v38/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v38/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v38/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v38/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v38/methods/help_getSupport.md | 4 ++-- .../API_docs_v38/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v38/methods/initConnection.md | 4 ++-- .../API_docs_v38/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v38/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v38/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v38/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v38/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v38/methods/messages_startBot.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v38/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v40/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v40/methods/auth_sendCall.md | 4 ++-- .../API_docs_v40/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v40/methods/auth_sendSms.md | 4 ++-- .../API_docs_v40/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v40/methods/contacts_search.md | 4 ++-- .../API_docs_v40/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v40/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v40/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v40/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v40/methods/help_getSupport.md | 4 ++-- .../API_docs_v40/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v40/methods/initConnection.md | 4 ++-- .../API_docs_v40/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v40/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v40/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChannel.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChannelMessages.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getChannelDialogs.md | 4 ++-- .../API_docs_v40/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getImportantHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_readChannelHistory.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../API_docs_v40/methods/messages_search.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v40/methods/messages_startBot.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v40/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v41/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v41/methods/auth_sendCall.md | 4 ++-- .../API_docs_v41/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v41/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v41/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v41/methods/contacts_search.md | 4 ++-- .../API_docs_v41/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v41/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v41/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v41/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v41/methods/help_getSupport.md | 4 ++-- .../API_docs_v41/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v41/methods/initConnection.md | 4 ++-- .../API_docs_v41/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v41/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v41/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deactivateChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v41/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v41/methods/messages_search.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v41/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v41/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v42/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v42/methods/auth_sendCall.md | 4 ++-- .../API_docs_v42/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v42/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v42/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v42/methods/contacts_search.md | 4 ++-- .../API_docs_v42/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v42/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v42/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v42/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v42/methods/help_getSupport.md | 4 ++-- .../API_docs_v42/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v42/methods/initConnection.md | 4 ++-- .../API_docs_v42/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v42/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v42/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v42/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v42/methods/messages_search.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v42/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v42/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v44/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v44/methods/auth_sendCall.md | 4 ++-- .../API_docs_v44/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v44/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v44/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v44/methods/contacts_search.md | 4 ++-- .../API_docs_v44/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v44/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v44/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v44/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v44/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v44/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v44/methods/initConnection.md | 4 ++-- .../API_docs_v44/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v44/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v44/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v44/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v44/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v44/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v44/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v45/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v45/methods/auth_sendCall.md | 4 ++-- .../API_docs_v45/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v45/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v45/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v45/methods/contacts_search.md | 4 ++-- .../API_docs_v45/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v45/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v45/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v45/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v45/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v45/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v45/methods/initConnection.md | 4 ++-- .../API_docs_v45/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v45/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v45/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v45/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v45/methods/messages_saveGif.md | 4 ++-- .../API_docs_v45/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v45/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v45/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v46/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v46/methods/auth_sendCall.md | 4 ++-- .../API_docs_v46/methods/auth_sendInvites.md | 4 ++-- old_docs/API_docs_v46/methods/auth_sendSms.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v46/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getSuggested.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v46/methods/contacts_search.md | 4 ++-- .../API_docs_v46/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v46/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v46/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v46/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v46/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v46/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v46/methods/initConnection.md | 4 ++-- .../API_docs_v46/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v46/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v46/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../API_docs_v46/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v46/methods/messages_saveGif.md | 4 ++-- .../API_docs_v46/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v46/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v46/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v51/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v51/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v51/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v51/methods/auth_sendInvites.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getDialogs.md | 4 ++-- .../methods/channels_getImportantHistory.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleComments.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v51/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../API_docs_v51/methods/contacts_search.md | 4 ++-- .../API_docs_v51/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v51/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v51/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v51/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v51/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v51/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v51/methods/initConnection.md | 4 ++-- .../API_docs_v51/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v51/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v51/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v51/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../API_docs_v51/methods/messages_saveGif.md | 4 ++-- .../API_docs_v51/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v51/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v51/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v53/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v53/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v53/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v53/methods/auth_sendInvites.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v53/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v53/methods/contacts_search.md | 4 ++-- .../API_docs_v53/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v53/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v53/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v53/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v53/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v53/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v53/methods/initConnection.md | 4 ++-- .../API_docs_v53/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v53/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v53/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v53/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v53/methods/messages_saveGif.md | 4 ++-- .../API_docs_v53/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v53/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v53/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v55/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v55/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v55/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v55/methods/auth_sendInvites.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v55/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v55/methods/contacts_search.md | 4 ++-- .../API_docs_v55/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v55/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v55/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v55/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v55/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v55/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v55/methods/initConnection.md | 4 ++-- .../API_docs_v55/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v55/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v55/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v55/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getStickers.md | 4 ++-- .../methods/messages_getUnusedStickers.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v55/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v55/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendBroadcast.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v55/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v55/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v57/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v57/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v57/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v57/methods/auth_sendInvites.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v57/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v57/methods/contacts_search.md | 4 ++-- .../API_docs_v57/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v57/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v57/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v57/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v57/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v57/methods/help_saveAppLog.md | 4 ++-- .../API_docs_v57/methods/initConnection.md | 4 ++-- .../API_docs_v57/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v57/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v57/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v57/methods/messages_getChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v57/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v57/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v57/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v57/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v62/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v62/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v62/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v62/methods/auth_sendInvites.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v62/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v62/methods/contacts_search.md | 4 ++-- .../API_docs_v62/methods/contacts_unblock.md | 4 ++-- .../API_docs_v62/methods/destroy_auth_key.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v62/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v62/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v62/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v62/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v62/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v62/methods/initConnection.md | 4 ++-- .../API_docs_v62/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v62/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v62/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v62/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v62/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v62/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v62/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../API_docs_v62/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v65/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v65/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v65/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v65/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v65/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v65/methods/contacts_search.md | 4 ++-- .../API_docs_v65/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v65/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v65/methods/destroy_session.md | 4 ++-- .../API_docs_v65/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v65/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v65/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v65/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v65/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v65/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v65/methods/initConnection.md | 4 ++-- .../API_docs_v65/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v65/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v65/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v65/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v65/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v65/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v65/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v65/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v65/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v65/methods/req_pq.md | 4 ++-- .../API_docs_v65/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../API_docs_v65/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v65/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v66/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v66/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v66/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v66/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_kickFromChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v66/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 18 ++++++++--------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v66/methods/contacts_search.md | 4 ++-- .../API_docs_v66/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v66/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v66/methods/destroy_session.md | 4 ++-- .../API_docs_v66/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v66/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v66/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v66/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v66/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v66/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v66/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v66/methods/initConnection.md | 4 ++-- .../API_docs_v66/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v66/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v66/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v66/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v66/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v66/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v66/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v66/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v66/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v66/methods/req_pq.md | 4 ++-- .../API_docs_v66/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../API_docs_v66/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v66/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v68/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v68/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v68/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v68/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editBanned.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v68/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 20 +++++++++---------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v68/methods/contacts_search.md | 4 ++-- .../API_docs_v68/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v68/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v68/methods/destroy_session.md | 4 ++-- .../API_docs_v68/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v68/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v68/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v68/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v68/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v68/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v68/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v68/methods/initConnection.md | 4 ++-- .../API_docs_v68/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v68/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v68/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- .../methods/langpack_getLangPack.md | 4 ++-- .../methods/langpack_getLanguages.md | 4 ++-- .../methods/langpack_getStrings.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v68/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v68/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v68/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v68/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v68/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v68/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v68/methods/req_pq.md | 4 ++-- .../API_docs_v68/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- .../API_docs_v68/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v68/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v70/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v70/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v70/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v70/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editBanned.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v70/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 20 +++++++++---------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v70/methods/contacts_search.md | 4 ++-- .../API_docs_v70/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v70/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v70/methods/destroy_session.md | 4 ++-- .../API_docs_v70/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v70/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v70/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v70/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v70/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v70/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v70/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v70/methods/initConnection.md | 4 ++-- .../API_docs_v70/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v70/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v70/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- .../methods/langpack_getLangPack.md | 4 ++-- .../methods/langpack_getLanguages.md | 4 ++-- .../methods/langpack_getStrings.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v70/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v70/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v70/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../messages_sendScreenshotNotification.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v70/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v70/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v70/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v70/methods/req_pq.md | 4 ++-- .../API_docs_v70/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- .../API_docs_v70/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v70/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v71/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v71/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v71/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v71/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editBanned.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_readMessageContents.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_setStickers.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v71/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 20 +++++++++---------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetSaved.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v71/methods/contacts_search.md | 4 ++-- .../API_docs_v71/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v71/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v71/methods/destroy_session.md | 4 ++-- .../API_docs_v71/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v71/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v71/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v71/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v71/methods/help_getNearestDc.md | 4 ++-- .../API_docs_v71/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v71/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v71/methods/initConnection.md | 4 ++-- .../API_docs_v71/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v71/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v71/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- .../methods/langpack_getLangPack.md | 4 ++-- .../methods/langpack_getLanguages.md | 4 ++-- .../methods/langpack_getStrings.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_faveSticker.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v71/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFavedStickers.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getUnreadMentions.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v71/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v71/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../messages_sendScreenshotNotification.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v71/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v71/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v71/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v71/methods/req_pq.md | 4 ++-- .../API_docs_v71/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- .../API_docs_v71/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v71/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v72/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v72/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v72/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v72/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteHistory.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editBanned.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_readMessageContents.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_setStickers.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../channels_togglePreHistoryHidden.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v72/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 20 +++++++++---------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetSaved.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v72/methods/contacts_search.md | 4 ++-- .../API_docs_v72/methods/contacts_unblock.md | 4 ++-- .../methods/contest_saveDeveloperInfo.md | 4 ++-- .../API_docs_v72/methods/destroy_auth_key.md | 4 ++-- .../API_docs_v72/methods/destroy_session.md | 4 ++-- .../API_docs_v72/methods/get_future_salts.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v72/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v72/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v72/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v72/methods/help_getNearestDc.md | 4 ++-- .../methods/help_getRecentMeUrls.md | 4 ++-- .../API_docs_v72/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v72/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v72/methods/initConnection.md | 4 ++-- .../API_docs_v72/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v72/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v72/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- .../methods/langpack_getLangPack.md | 4 ++-- .../methods/langpack_getLanguages.md | 4 ++-- .../methods/langpack_getStrings.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_faveSticker.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v72/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFavedStickers.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentLocations.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getUnreadMentions.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMentions.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v72/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v72/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../messages_sendScreenshotNotification.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v72/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- old_docs/API_docs_v72/methods/ping.md | 4 ++-- .../methods/ping_delay_disconnect.md | 4 ++-- .../API_docs_v72/methods/req_DH_params.md | 4 ++-- old_docs/API_docs_v72/methods/req_pq.md | 4 ++-- .../API_docs_v72/methods/rpc_drop_answer.md | 4 ++-- .../methods/set_client_DH_params.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- .../API_docs_v72/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v72/methods/users_getUsers.md | 4 ++-- .../methods/account_changePhone.md | 4 ++-- .../methods/account_checkUsername.md | 4 ++-- .../methods/account_confirmPhone.md | 4 ++-- .../methods/account_deleteAccount.md | 4 ++-- .../methods/account_getAccountTTL.md | 4 ++-- .../methods/account_getAuthorizations.md | 4 ++-- .../methods/account_getNotifySettings.md | 4 ++-- .../methods/account_getPassword.md | 4 ++-- .../methods/account_getPasswordSettings.md | 4 ++-- .../methods/account_getPrivacy.md | 4 ++-- .../methods/account_getTmpPassword.md | 4 ++-- .../methods/account_getWallPapers.md | 4 ++-- .../methods/account_registerDevice.md | 4 ++-- .../methods/account_reportPeer.md | 4 ++-- .../methods/account_resetAuthorization.md | 4 ++-- .../methods/account_resetNotifySettings.md | 4 ++-- .../methods/account_sendChangePhoneCode.md | 4 ++-- .../methods/account_sendConfirmPhoneCode.md | 4 ++-- .../methods/account_setAccountTTL.md | 4 ++-- .../methods/account_setPrivacy.md | 4 ++-- .../methods/account_unregisterDevice.md | 4 ++-- .../methods/account_updateDeviceLocked.md | 4 ++-- .../methods/account_updateNotifySettings.md | 4 ++-- .../methods/account_updatePasswordSettings.md | 4 ++-- .../methods/account_updateProfile.md | 4 ++-- .../methods/account_updateStatus.md | 4 ++-- .../methods/account_updateUsername.md | 4 ++-- .../API_docs_v73/methods/auth_cancelCode.md | 4 ++-- .../API_docs_v73/methods/auth_checkPhone.md | 4 ++-- .../methods/auth_dropTempAuthKeys.md | 4 ++-- .../methods/auth_recoverPassword.md | 4 ++-- .../methods/auth_requestPasswordRecovery.md | 4 ++-- .../API_docs_v73/methods/auth_resendCode.md | 4 ++-- .../methods/auth_resetAuthorizations.md | 4 ++-- .../API_docs_v73/methods/auth_sendInvites.md | 4 ++-- .../methods/bots_answerWebhookJSONQuery.md | 4 ++-- .../methods/bots_sendCustomRequest.md | 4 ++-- .../methods/channels_checkUsername.md | 4 ++-- .../methods/channels_createChannel.md | 4 ++-- .../methods/channels_deleteChannel.md | 4 ++-- .../methods/channels_deleteHistory.md | 4 ++-- .../methods/channels_deleteMessages.md | 4 ++-- .../methods/channels_deleteUserHistory.md | 4 ++-- .../methods/channels_editAbout.md | 4 ++-- .../methods/channels_editAdmin.md | 4 ++-- .../methods/channels_editBanned.md | 4 ++-- .../methods/channels_editPhoto.md | 4 ++-- .../methods/channels_editTitle.md | 4 ++-- .../methods/channels_exportInvite.md | 4 ++-- .../methods/channels_exportMessageLink.md | 4 ++-- .../methods/channels_getAdminLog.md | 4 ++-- .../channels_getAdminedPublicChannels.md | 4 ++-- .../methods/channels_getChannels.md | 4 ++-- .../methods/channels_getMessages.md | 4 ++-- .../methods/channels_getParticipant.md | 4 ++-- .../methods/channels_getParticipants.md | 4 ++-- .../methods/channels_inviteToChannel.md | 4 ++-- .../methods/channels_joinChannel.md | 4 ++-- .../methods/channels_leaveChannel.md | 4 ++-- .../methods/channels_readHistory.md | 4 ++-- .../methods/channels_readMessageContents.md | 4 ++-- .../methods/channels_reportSpam.md | 4 ++-- .../methods/channels_setStickers.md | 4 ++-- .../methods/channels_toggleInvites.md | 4 ++-- .../channels_togglePreHistoryHidden.md | 4 ++-- .../methods/channels_toggleSignatures.md | 4 ++-- .../methods/channels_updatePinnedMessage.md | 4 ++-- .../methods/channels_updateUsername.md | 4 ++-- .../API_docs_v73/methods/contacts_block.md | 4 ++-- .../methods/contacts_deleteContact.md | 4 ++-- .../methods/contacts_deleteContacts.md | 4 ++-- .../methods/contacts_exportCard.md | 4 ++-- .../methods/contacts_getBlocked.md | 4 ++-- .../methods/contacts_getContacts.md | 4 ++-- .../methods/contacts_getStatuses.md | 4 ++-- .../methods/contacts_getTopPeers.md | 20 +++++++++---------- .../methods/contacts_importCard.md | 4 ++-- .../methods/contacts_importContacts.md | 4 ++-- .../methods/contacts_resetSaved.md | 4 ++-- .../methods/contacts_resetTopPeerRating.md | 4 ++-- .../API_docs_v73/methods/contacts_search.md | 4 ++-- .../API_docs_v73/methods/contacts_unblock.md | 4 ++-- .../methods/help_getAppChangelog.md | 4 ++-- .../API_docs_v73/methods/help_getAppUpdate.md | 4 ++-- .../API_docs_v73/methods/help_getCdnConfig.md | 4 ++-- .../API_docs_v73/methods/help_getConfig.md | 4 ++-- .../methods/help_getInviteText.md | 4 ++-- .../API_docs_v73/methods/help_getNearestDc.md | 4 ++-- .../methods/help_getRecentMeUrls.md | 4 ++-- .../API_docs_v73/methods/help_getSupport.md | 4 ++-- .../methods/help_getTermsOfService.md | 4 ++-- .../API_docs_v73/methods/help_saveAppLog.md | 4 ++-- .../methods/help_setBotUpdatesStatus.md | 4 ++-- .../API_docs_v73/methods/initConnection.md | 4 ++-- .../API_docs_v73/methods/invokeAfterMsg.md | 4 ++-- .../API_docs_v73/methods/invokeAfterMsgs.md | 4 ++-- .../API_docs_v73/methods/invokeWithLayer.md | 4 ++-- .../methods/invokeWithoutUpdates.md | 4 ++-- .../methods/langpack_getDifference.md | 4 ++-- .../methods/langpack_getLangPack.md | 4 ++-- .../methods/langpack_getLanguages.md | 4 ++-- .../methods/langpack_getStrings.md | 4 ++-- .../methods/messages_addChatUser.md | 4 ++-- .../methods/messages_checkChatInvite.md | 4 ++-- .../methods/messages_clearRecentStickers.md | 4 ++-- .../methods/messages_createChat.md | 4 ++-- .../methods/messages_deleteChatUser.md | 4 ++-- .../methods/messages_deleteHistory.md | 4 ++-- .../methods/messages_deleteMessages.md | 4 ++-- .../methods/messages_editChatAdmin.md | 4 ++-- .../methods/messages_editChatPhoto.md | 4 ++-- .../methods/messages_editChatTitle.md | 4 ++-- .../methods/messages_editInlineBotMessage.md | 4 ++-- .../methods/messages_editMessage.md | 4 ++-- .../methods/messages_exportChatInvite.md | 4 ++-- .../methods/messages_faveSticker.md | 4 ++-- .../methods/messages_forwardMessage.md | 4 ++-- .../methods/messages_forwardMessages.md | 4 ++-- .../methods/messages_getAllChats.md | 4 ++-- .../methods/messages_getAllDrafts.md | 4 ++-- .../methods/messages_getAllStickers.md | 4 ++-- .../methods/messages_getArchivedStickers.md | 4 ++-- .../methods/messages_getAttachedStickers.md | 4 ++-- .../methods/messages_getBotCallbackAnswer.md | 4 ++-- .../API_docs_v73/methods/messages_getChats.md | 4 ++-- .../methods/messages_getCommonChats.md | 4 ++-- .../methods/messages_getDhConfig.md | 4 ++-- .../methods/messages_getDialogs.md | 4 ++-- .../methods/messages_getDocumentByHash.md | 4 ++-- .../methods/messages_getFavedStickers.md | 4 ++-- .../methods/messages_getFeaturedStickers.md | 4 ++-- .../methods/messages_getGameHighScores.md | 4 ++-- .../methods/messages_getHistory.md | 4 ++-- .../methods/messages_getInlineBotResults.md | 4 ++-- .../messages_getInlineGameHighScores.md | 4 ++-- .../methods/messages_getMaskStickers.md | 4 ++-- .../methods/messages_getMessageEditData.md | 4 ++-- .../methods/messages_getMessages.md | 4 ++-- .../methods/messages_getMessagesViews.md | 4 ++-- .../methods/messages_getPeerDialogs.md | 4 ++-- .../methods/messages_getPeerSettings.md | 4 ++-- .../methods/messages_getPinnedDialogs.md | 4 ++-- .../methods/messages_getRecentLocations.md | 4 ++-- .../methods/messages_getRecentStickers.md | 4 ++-- .../methods/messages_getSavedGifs.md | 4 ++-- .../methods/messages_getStickerSet.md | 4 ++-- .../methods/messages_getUnreadMentions.md | 4 ++-- .../methods/messages_getWebPage.md | 4 ++-- .../methods/messages_getWebPagePreview.md | 4 ++-- .../methods/messages_hideReportSpam.md | 4 ++-- .../methods/messages_importChatInvite.md | 4 ++-- .../methods/messages_installStickerSet.md | 4 ++-- .../methods/messages_migrateChat.md | 4 ++-- .../methods/messages_readEncryptedHistory.md | 4 ++-- .../methods/messages_readFeaturedStickers.md | 4 ++-- .../methods/messages_readHistory.md | 4 ++-- .../methods/messages_readMentions.md | 4 ++-- .../methods/messages_readMessageContents.md | 4 ++-- .../methods/messages_receivedMessages.md | 4 ++-- .../methods/messages_receivedQueue.md | 4 ++-- .../methods/messages_reorderPinnedDialogs.md | 4 ++-- .../methods/messages_reorderStickerSets.md | 4 ++-- .../methods/messages_reportEncryptedSpam.md | 4 ++-- .../methods/messages_reportSpam.md | 4 ++-- .../methods/messages_saveDraft.md | 4 ++-- .../API_docs_v73/methods/messages_saveGif.md | 4 ++-- .../methods/messages_saveRecentSticker.md | 4 ++-- .../API_docs_v73/methods/messages_search.md | 4 ++-- .../methods/messages_searchGifs.md | 4 ++-- .../methods/messages_searchGlobal.md | 4 ++-- .../methods/messages_sendEncrypted.md | 4 ++-- .../methods/messages_sendEncryptedFile.md | 4 ++-- .../methods/messages_sendEncryptedService.md | 4 ++-- .../methods/messages_sendInlineBotResult.md | 4 ++-- .../methods/messages_sendMedia.md | 4 ++-- .../methods/messages_sendMessage.md | 4 ++-- .../methods/messages_sendMultiMedia.md | 4 ++-- .../messages_sendScreenshotNotification.md | 4 ++-- .../methods/messages_setBotCallbackAnswer.md | 4 ++-- .../messages_setBotPrecheckoutResults.md | 4 ++-- .../methods/messages_setBotShippingResults.md | 4 ++-- .../methods/messages_setEncryptedTyping.md | 4 ++-- .../methods/messages_setGameScore.md | 4 ++-- .../methods/messages_setInlineBotResults.md | 4 ++-- .../methods/messages_setInlineGameScore.md | 4 ++-- .../methods/messages_setTyping.md | 4 ++-- .../API_docs_v73/methods/messages_startBot.md | 4 ++-- .../methods/messages_toggleChatAdmins.md | 4 ++-- .../methods/messages_toggleDialogPin.md | 4 ++-- .../methods/messages_uninstallStickerSet.md | 4 ++-- .../methods/messages_uploadEncryptedFile.md | 4 ++-- .../methods/messages_uploadMedia.md | 4 ++-- .../methods/payments_clearSavedInfo.md | 4 ++-- .../methods/payments_getPaymentForm.md | 4 ++-- .../methods/payments_getPaymentReceipt.md | 4 ++-- .../methods/payments_getSavedInfo.md | 4 ++-- .../methods/payments_sendPaymentForm.md | 4 ++-- .../methods/payments_validateRequestedInfo.md | 4 ++-- .../methods/phone_getCallConfig.md | 4 ++-- .../methods/phone_receivedCall.md | 4 ++-- .../methods/phone_saveCallDebug.md | 4 ++-- .../methods/phone_setCallRating.md | 4 ++-- .../methods/photos_deletePhotos.md | 4 ++-- .../methods/photos_getUserPhotos.md | 4 ++-- .../methods/photos_updateProfilePhoto.md | 4 ++-- .../methods/photos_uploadProfilePhoto.md | 4 ++-- .../methods/stickers_addStickerToSet.md | 4 ++-- .../methods/stickers_changeStickerPosition.md | 4 ++-- .../methods/stickers_createStickerSet.md | 4 ++-- .../methods/stickers_removeStickerFromSet.md | 4 ++-- .../API_docs_v73/methods/upload_getWebFile.md | 4 ++-- .../API_docs_v73/methods/users_getUsers.md | 4 ++-- .../MadelineProto/DocsBuilder/Methods.php | 4 ++-- 3817 files changed, 7724 insertions(+), 7724 deletions(-) diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_getWebAuthorizations.md b/docs/API_docs/methods/account_getWebAuthorizations.md index 856af6b2..8d54b0a7 100644 --- a/docs/API_docs/methods/account_getWebAuthorizations.md +++ b/docs/API_docs/methods/account_getWebAuthorizations.md @@ -15,7 +15,7 @@ Get telegram web login authorizations ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index b371a56e..7211e4a9 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -30,7 +30,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'app_sandbox' => Bool, 'other_uids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_resetWebAuthorization.md b/docs/API_docs/methods/account_resetWebAuthorization.md index ece956cb..4f37785a 100644 --- a/docs/API_docs/methods/account_resetWebAuthorization.md +++ b/docs/API_docs/methods/account_resetWebAuthorization.md @@ -20,7 +20,7 @@ Delete a certain telegram web login authorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetWebAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/account_resetWebAuthorizations.md b/docs/API_docs/methods/account_resetWebAuthorizations.md index 318c0cbf..7e82e637 100644 --- a/docs/API_docs/methods/account_resetWebAuthorizations.md +++ b/docs/API_docs/methods/account_resetWebAuthorizations.md @@ -15,7 +15,7 @@ Reset all telegram web login authorizations ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetWebAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index 0a571571..68c9b295 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -29,7 +29,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', 'other_uids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_checkPhone.md b/docs/API_docs/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/docs/API_docs/methods/auth_checkPhone.md +++ b/docs/API_docs/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/auth_sendInvites.md b/docs/API_docs/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/docs/API_docs/methods/auth_sendInvites.md +++ b/docs/API_docs/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_deleteHistory.md b/docs/API_docs/methods/channels_deleteHistory.md index d77a6a03..35fcf2f1 100644 --- a/docs/API_docs/methods/channels_deleteHistory.md +++ b/docs/API_docs/methods/channels_deleteHistory.md @@ -19,7 +19,7 @@ description: channels.deleteHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->deleteHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_editBanned.md b/docs/API_docs/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/docs/API_docs/methods/channels_editBanned.md +++ b/docs/API_docs/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_exportInvite.md b/docs/API_docs/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index 146eebdd..17524d88 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -27,7 +27,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, 'grouped' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_getAdminLog.md b/docs/API_docs/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/docs/API_docs/methods/channels_getAdminLog.md +++ b/docs/API_docs/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index 31ccc00a..2e18fbbe 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index fb295702..c2716da9 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -33,7 +33,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_readMessageContents.md b/docs/API_docs/methods/channels_readMessageContents.md index d36c4387..8d1d6891 100644 --- a/docs/API_docs/methods/channels_readMessageContents.md +++ b/docs/API_docs/methods/channels_readMessageContents.md @@ -27,7 +27,7 @@ description: channels.readMessageContents parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readMessageContents(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_setStickers.md b/docs/API_docs/methods/channels_setStickers.md index 9deb6fa3..1b900e48 100644 --- a/docs/API_docs/methods/channels_setStickers.md +++ b/docs/API_docs/methods/channels_setStickers.md @@ -27,7 +27,7 @@ description: channels.setStickers parameters, return type and example |PARTICIPANTS_TOO_FEW|Not enough participants| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->setStickers(['channel' => InputChannel, 'stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_togglePreHistoryHidden.md b/docs/API_docs/methods/channels_togglePreHistoryHidden.md index ab400991..489472b0 100644 --- a/docs/API_docs/methods/channels_togglePreHistoryHidden.md +++ b/docs/API_docs/methods/channels_togglePreHistoryHidden.md @@ -19,7 +19,7 @@ description: channels.togglePreHistoryHidden parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->togglePreHistoryHidden(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 6ccb9545..3e06bea4 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_importCard.md b/docs/API_docs/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index 858715b9..16ecd74b 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -20,7 +20,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_resetSaved.md b/docs/API_docs/methods/contacts_resetSaved.md index 7ad65cb1..eb07f34c 100644 --- a/docs/API_docs/methods/contacts_resetSaved.md +++ b/docs/API_docs/methods/contacts_resetSaved.md @@ -13,7 +13,7 @@ description: contacts.resetSaved parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetSaved(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getRecentMeUrls.md b/docs/API_docs/methods/help_getRecentMeUrls.md index 85a777b9..bec8a8e0 100644 --- a/docs/API_docs/methods/help_getRecentMeUrls.md +++ b/docs/API_docs/methods/help_getRecentMeUrls.md @@ -18,7 +18,7 @@ description: help.getRecentMeUrls parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_getTermsOfService.md b/docs/API_docs/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/docs/API_docs/methods/help_getTermsOfService.md +++ b/docs/API_docs/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/langpack_getDifference.md b/docs/API_docs/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/docs/API_docs/methods/langpack_getDifference.md +++ b/docs/API_docs/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/langpack_getLangPack.md b/docs/API_docs/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/docs/API_docs/methods/langpack_getLangPack.md +++ b/docs/API_docs/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/langpack_getLanguages.md b/docs/API_docs/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/docs/API_docs/methods/langpack_getLanguages.md +++ b/docs/API_docs/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/langpack_getStrings.md b/docs/API_docs/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/docs/API_docs/methods/langpack_getStrings.md +++ b/docs/API_docs/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index 8ae22d93..46ff9536 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -33,7 +33,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 1bb0c702..b97fe1c6 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -42,7 +42,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -62,7 +62,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_faveSticker.md b/docs/API_docs/methods/messages_faveSticker.md index 12000674..b9d9a033 100644 --- a/docs/API_docs/methods/messages_faveSticker.md +++ b/docs/API_docs/methods/messages_faveSticker.md @@ -26,7 +26,7 @@ description: messages.faveSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->faveSticker(['id' => InputDocument, 'unfave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index 9992b7ef..9f67e471 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -52,7 +52,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'grouped' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getAllChats.md b/docs/API_docs/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getFavedStickers.md b/docs/API_docs/methods/messages_getFavedStickers.md index a7a21952..e95d0133 100644 --- a/docs/API_docs/methods/messages_getFavedStickers.md +++ b/docs/API_docs/methods/messages_getFavedStickers.md @@ -18,7 +18,7 @@ description: messages.getFavedStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index 900a9d25..b145426a 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -37,7 +37,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index 15f87e60..54660219 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getRecentLocations.md b/docs/API_docs/methods/messages_getRecentLocations.md index b73fa066..3a8de92f 100644 --- a/docs/API_docs/methods/messages_getRecentLocations.md +++ b/docs/API_docs/methods/messages_getRecentLocations.md @@ -19,7 +19,7 @@ description: messages.getRecentLocations parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getStickers.md b/docs/API_docs/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/docs/API_docs/methods/messages_getStickers.md +++ b/docs/API_docs/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_getUnreadMentions.md b/docs/API_docs/methods/messages_getUnreadMentions.md index c63ea824..959c52fc 100644 --- a/docs/API_docs/methods/messages_getUnreadMentions.md +++ b/docs/API_docs/methods/messages_getUnreadMentions.md @@ -30,7 +30,7 @@ description: messages.getUnreadMentions parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index 4e6b070f..11764118 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -20,7 +20,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_readMentions.md b/docs/API_docs/methods/messages_readMentions.md index 0fec0465..113657e8 100644 --- a/docs/API_docs/methods/messages_readMentions.md +++ b/docs/API_docs/methods/messages_readMentions.md @@ -18,7 +18,7 @@ description: messages.readMentions parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_receivedQueue.md b/docs/API_docs/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/docs/API_docs/methods/messages_receivedQueue.md +++ b/docs/API_docs/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index a5aa36bd..67178dac 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -41,7 +41,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index 03c60c9e..389b3444 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -55,7 +55,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -75,7 +75,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendMultiMedia.md b/docs/API_docs/methods/messages_sendMultiMedia.md index 1b00eb4c..38babb1f 100644 --- a/docs/API_docs/methods/messages_sendMultiMedia.md +++ b/docs/API_docs/methods/messages_sendMultiMedia.md @@ -23,7 +23,7 @@ description: messages.sendMultiMedia parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMultiMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'multi_media' => [InputSingleMedia, InputSingleMedia], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_sendScreenshotNotification.md b/docs/API_docs/methods/messages_sendScreenshotNotification.md index e786f4be..c9d1d555 100644 --- a/docs/API_docs/methods/messages_sendScreenshotNotification.md +++ b/docs/API_docs/methods/messages_sendScreenshotNotification.md @@ -26,7 +26,7 @@ description: messages.sendScreenshotNotification parameters, return type and exa |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendScreenshotNotification(['peer' => InputPeer, 'reply_to_msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setBotShippingResults.md b/docs/API_docs/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_toggleChatAdmins.md b/docs/API_docs/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/messages_uploadEncryptedFile.md b/docs/API_docs/methods/messages_uploadEncryptedFile.md index cc5d62fe..a8bdc698 100644 --- a/docs/API_docs/methods/messages_uploadEncryptedFile.md +++ b/docs/API_docs/methods/messages_uploadEncryptedFile.md @@ -19,7 +19,7 @@ description: messages.uploadEncryptedFile parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $EncryptedFile = $MadelineProto->messages->uploadEncryptedFile(['peer' => InputEncryptedChat, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/messages_uploadMedia.md b/docs/API_docs/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/docs/API_docs/methods/messages_uploadMedia.md +++ b/docs/API_docs/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/payments_validateRequestedInfo.md b/docs/API_docs/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/stickers_addStickerToSet.md b/docs/API_docs/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/docs/API_docs/methods/stickers_addStickerToSet.md +++ b/docs/API_docs/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/stickers_changeStickerPosition.md b/docs/API_docs/methods/stickers_changeStickerPosition.md index a0947680..a1a663f7 100644 --- a/docs/API_docs/methods/stickers_changeStickerPosition.md +++ b/docs/API_docs/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/stickers_createStickerSet.md b/docs/API_docs/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/docs/API_docs/methods/stickers_createStickerSet.md +++ b/docs/API_docs/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/stickers_removeStickerFromSet.md b/docs/API_docs/methods/stickers_removeStickerFromSet.md index 6a37b6a4..34f85cb0 100644 --- a/docs/API_docs/methods/stickers_removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index 1b9c8fd1..b5dd94b0 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -22,7 +22,7 @@ Makes the server send messages waiting in the buffer ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $HttpWait = $MadelineProto->http_wait(['max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/ping.md b/docs/MTProto_docs/methods/ping.md index e08de68f..4ad52852 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/req_DH_params.md b/docs/MTProto_docs/methods/req_DH_params.md index e923ebf6..fde356a0 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'bytes', 'q' => 'bytes', 'public_key_fingerprint' => long, 'encrypted_data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/req_pq.md b/docs/MTProto_docs/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/req_pq_multi.md b/docs/MTProto_docs/methods/req_pq_multi.md index c926d55f..bcd915bb 100644 --- a/docs/MTProto_docs/methods/req_pq_multi.md +++ b/docs/MTProto_docs/methods/req_pq_multi.md @@ -20,7 +20,7 @@ Requests PQ for factorization (new version) ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq_multi(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/docs/MTProto_docs/methods/set_client_DH_params.md b/docs/MTProto_docs/methods/set_client_DH_params.md index eb878fe6..45d536ab 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/account_checkUsername.md b/old_docs/API_docs_v18/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_updateProfile.md b/old_docs/API_docs_v18/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_updateStatus.md b/old_docs/API_docs_v18/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/account_updateUsername.md b/old_docs/API_docs_v18/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/auth_sendSms.md b/old_docs/API_docs_v18/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContact.md b/old_docs/API_docs_v18/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_getContacts.md b/old_docs/API_docs_v18/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/contacts_importCard.md b/old_docs/API_docs_v18/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_importContacts.md b/old_docs/API_docs_v18/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_search.md b/old_docs/API_docs_v18/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/contacts_unblock.md b/old_docs/API_docs_v18/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/help_getAppUpdate.md b/old_docs/API_docs_v18/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/help_getConfig.md b/old_docs/API_docs_v18/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/help_getNearestDc.md b/old_docs/API_docs_v18/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsg.md b/old_docs/API_docs_v18/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/invokeWithLayer18.md b/old_docs/API_docs_v18/methods/invokeWithLayer18.md index 05d65a46..2c0bb74c 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -18,7 +18,7 @@ description: invokeWithLayer18 parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer18(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 1f22a056..2332446d 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_createChat.md b/old_docs/API_docs_v18/methods/messages_createChat.md index bc4b76bf..b5f0a4fc 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md index d53343b8..e610ac80 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_deleteHistory.md b/old_docs/API_docs_v18/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_deleteMessages.md b/old_docs/API_docs_v18/methods/messages_deleteMessages.md index 4ba2c964..0df7903b 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md index a94bf081..275109c9 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_editChatTitle.md b/old_docs/API_docs_v18/methods/messages_editChatTitle.md index f474982f..d39de10e 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessage.md b/old_docs/API_docs_v18/methods/messages_forwardMessage.md index 01cbe652..c5f6ed78 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessages.md b/old_docs/API_docs_v18/methods/messages_forwardMessages.md index 73031315..3c908222 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_getChats.md b/old_docs/API_docs_v18/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_getDhConfig.md b/old_docs/API_docs_v18/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v18/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index b266f8c6..db7a5932 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -30,7 +30,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index 0b1b8e92..d3684cd1 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -33,7 +33,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_getMessages.md b/old_docs/API_docs_v18/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_readHistory.md b/old_docs/API_docs_v18/methods/messages_readHistory.md index 2dd26c73..cbd911d3 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -29,7 +29,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_readMessageContents.md b/old_docs/API_docs_v18/methods/messages_readMessageContents.md index 20e661f2..3b22c4e0 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_receivedMessages.md b/old_docs/API_docs_v18/methods/messages_receivedMessages.md index 6afdd2fd..74c522cd 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_receivedQueue.md b/old_docs/API_docs_v18/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v18/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md index a3163ed0..b6d0c8b9 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_sendMedia.md b/old_docs/API_docs_v18/methods/messages_sendMedia.md index 72c3f1c2..e029e707 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -47,7 +47,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_sendMessage.md b/old_docs/API_docs_v18/methods/messages_sendMessage.md index 708123ae..8837ddda 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -46,7 +46,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -66,7 +66,7 @@ $MadelineProto->start(); $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/messages_setTyping.md b/old_docs/API_docs_v18/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/photos_deletePhotos.md b/old_docs/API_docs_v18/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md index b8e881e5..4b0db928 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/account_changePhone.md b/old_docs/API_docs_v23/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_checkUsername.md b/old_docs/API_docs_v23/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_deleteAccount.md b/old_docs/API_docs_v23/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_getPrivacy.md b/old_docs/API_docs_v23/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_reportPeer.md b/old_docs/API_docs_v23/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_setAccountTTL.md b/old_docs/API_docs_v23/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_setPrivacy.md b/old_docs/API_docs_v23/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_unregisterDevice.md b/old_docs/API_docs_v23/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_updateProfile.md b/old_docs/API_docs_v23/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_updateStatus.md b/old_docs/API_docs_v23/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/account_updateUsername.md b/old_docs/API_docs_v23/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/auth_sendSms.md b/old_docs/API_docs_v23/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContact.md b/old_docs/API_docs_v23/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_getContacts.md b/old_docs/API_docs_v23/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/contacts_importCard.md b/old_docs/API_docs_v23/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_importContacts.md b/old_docs/API_docs_v23/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/contacts_unblock.md b/old_docs/API_docs_v23/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/help_getAppUpdate.md b/old_docs/API_docs_v23/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/help_getConfig.md b/old_docs/API_docs_v23/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/help_getNearestDc.md b/old_docs/API_docs_v23/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsg.md b/old_docs/API_docs_v23/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/invokeWithLayer.md b/old_docs/API_docs_v23/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 1f22a056..2332446d 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_createChat.md b/old_docs/API_docs_v23/methods/messages_createChat.md index bc4b76bf..b5f0a4fc 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md index d53343b8..e610ac80 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_deleteHistory.md b/old_docs/API_docs_v23/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_deleteMessages.md b/old_docs/API_docs_v23/methods/messages_deleteMessages.md index 4ba2c964..0df7903b 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md index a94bf081..275109c9 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_editChatTitle.md b/old_docs/API_docs_v23/methods/messages_editChatTitle.md index f474982f..d39de10e 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessage.md b/old_docs/API_docs_v23/methods/messages_forwardMessage.md index 01cbe652..c5f6ed78 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessages.md b/old_docs/API_docs_v23/methods/messages_forwardMessages.md index 73031315..3c908222 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_getAllStickers.md b/old_docs/API_docs_v23/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_getChats.md b/old_docs/API_docs_v23/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_getDhConfig.md b/old_docs/API_docs_v23/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v23/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index b266f8c6..db7a5932 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -30,7 +30,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index 0b1b8e92..d3684cd1 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -33,7 +33,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_getMessages.md b/old_docs/API_docs_v23/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_getStickers.md b/old_docs/API_docs_v23/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_readHistory.md b/old_docs/API_docs_v23/methods/messages_readHistory.md index 2dd26c73..cbd911d3 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -29,7 +29,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_readMessageContents.md b/old_docs/API_docs_v23/methods/messages_readMessageContents.md index 20e661f2..3b22c4e0 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_receivedMessages.md b/old_docs/API_docs_v23/methods/messages_receivedMessages.md index 6afdd2fd..74c522cd 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_receivedQueue.md b/old_docs/API_docs_v23/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v23/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md index a3163ed0..b6d0c8b9 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_sendMedia.md b/old_docs/API_docs_v23/methods/messages_sendMedia.md index 72c3f1c2..e029e707 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -47,7 +47,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_sendMessage.md b/old_docs/API_docs_v23/methods/messages_sendMessage.md index 708123ae..8837ddda 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -46,7 +46,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -66,7 +66,7 @@ $MadelineProto->start(); $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/messages_setTyping.md b/old_docs/API_docs_v23/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/photos_deletePhotos.md b/old_docs/API_docs_v23/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md index b8e881e5..4b0db928 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/account_changePhone.md b/old_docs/API_docs_v25/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_checkUsername.md b/old_docs/API_docs_v25/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_deleteAccount.md b/old_docs/API_docs_v25/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_setAccountTTL.md b/old_docs/API_docs_v25/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_setPassword.md b/old_docs/API_docs_v25/methods/account_setPassword.md index 92bb06a7..a8fe3a65 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -21,7 +21,7 @@ description: account.setPassword parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setPassword(['current_password_hash' => 'bytes', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/account_setPrivacy.md b/old_docs/API_docs_v25/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_unregisterDevice.md b/old_docs/API_docs_v25/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_updateProfile.md b/old_docs/API_docs_v25/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_updateStatus.md b/old_docs/API_docs_v25/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/account_updateUsername.md b/old_docs/API_docs_v25/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/auth_sendSms.md b/old_docs/API_docs_v25/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContact.md b/old_docs/API_docs_v25/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_getContacts.md b/old_docs/API_docs_v25/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/contacts_importCard.md b/old_docs/API_docs_v25/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_importContacts.md b/old_docs/API_docs_v25/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/contacts_unblock.md b/old_docs/API_docs_v25/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/geochats_checkin.md b/old_docs/API_docs_v25/methods/geochats_checkin.md index bf8893fe..b706a2ad 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -18,7 +18,7 @@ description: geochats.checkin parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md index 4ae78246..ff1b3c59 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -21,7 +21,7 @@ description: geochats.createGeoChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md index 7662cfe4..863b43d3 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -19,7 +19,7 @@ description: geochats.editChatPhoto parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md index 445f9a09..6826a26d 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -20,7 +20,7 @@ description: geochats.editChatTitle parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_getFullChat.md b/old_docs/API_docs_v25/methods/geochats_getFullChat.md index d139b2ab..074679a5 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -18,7 +18,7 @@ description: geochats.getFullChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_getHistory.md b/old_docs/API_docs_v25/methods/geochats_getHistory.md index 67f4eeeb..72eea912 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -21,7 +21,7 @@ description: geochats.getHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_getLocated.md b/old_docs/API_docs_v25/methods/geochats_getLocated.md index 83869f72..840a06e5 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -20,7 +20,7 @@ description: geochats.getLocated parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_getRecents.md b/old_docs/API_docs_v25/methods/geochats_getRecents.md index 75d7be76..4ee8b613 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -19,7 +19,7 @@ description: geochats.getRecents parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_search.md b/old_docs/API_docs_v25/methods/geochats_search.md index f4673476..1faac869 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -25,7 +25,7 @@ description: geochats.search parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_sendMedia.md b/old_docs/API_docs_v25/methods/geochats_sendMedia.md index f7c08555..afec807c 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -19,7 +19,7 @@ description: geochats.sendMedia parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_sendMessage.md b/old_docs/API_docs_v25/methods/geochats_sendMessage.md index a7d73a1f..ba8de7da 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -19,7 +19,7 @@ description: geochats.sendMessage parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/geochats_setTyping.md b/old_docs/API_docs_v25/methods/geochats_setTyping.md index e9a4851e..8c96c216 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -19,7 +19,7 @@ description: geochats.setTyping parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/help_getAppUpdate.md b/old_docs/API_docs_v25/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/help_getConfig.md b/old_docs/API_docs_v25/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/help_getNearestDc.md b/old_docs/API_docs_v25/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsg.md b/old_docs/API_docs_v25/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/invokeWithLayer.md b/old_docs/API_docs_v25/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 1f22a056..2332446d 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_createChat.md b/old_docs/API_docs_v25/methods/messages_createChat.md index bc4b76bf..b5f0a4fc 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md index d53343b8..e610ac80 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_deleteHistory.md b/old_docs/API_docs_v25/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_deleteMessages.md b/old_docs/API_docs_v25/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md index a94bf081..275109c9 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_editChatTitle.md b/old_docs/API_docs_v25/methods/messages_editChatTitle.md index f474982f..d39de10e 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessage.md b/old_docs/API_docs_v25/methods/messages_forwardMessage.md index 01cbe652..c5f6ed78 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessages.md b/old_docs/API_docs_v25/methods/messages_forwardMessages.md index 73031315..3c908222 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_getAllStickers.md b/old_docs/API_docs_v25/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_getChats.md b/old_docs/API_docs_v25/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_getDhConfig.md b/old_docs/API_docs_v25/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v25/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index b266f8c6..db7a5932 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -30,7 +30,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index 0b1b8e92..d3684cd1 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -33,7 +33,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_getMessages.md b/old_docs/API_docs_v25/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_getStickers.md b/old_docs/API_docs_v25/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_readHistory.md b/old_docs/API_docs_v25/methods/messages_readHistory.md index a67b9036..9c49aa22 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -28,7 +28,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_readMessageContents.md b/old_docs/API_docs_v25/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_receivedMessages.md b/old_docs/API_docs_v25/methods/messages_receivedMessages.md index 6afdd2fd..74c522cd 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_receivedQueue.md b/old_docs/API_docs_v25/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v25/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md index a3163ed0..b6d0c8b9 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_sendMedia.md b/old_docs/API_docs_v25/methods/messages_sendMedia.md index a1eb158b..0bab592d 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -48,7 +48,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -68,7 +68,7 @@ $MadelineProto->start(); $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_sendMessage.md b/old_docs/API_docs_v25/methods/messages_sendMessage.md index 15dbdb22..0a2e5f1c 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -47,7 +47,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/messages_setTyping.md b/old_docs/API_docs_v25/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/photos_deletePhotos.md b/old_docs/API_docs_v25/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md index b8e881e5..4b0db928 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/account_changePhone.md b/old_docs/API_docs_v27/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_checkUsername.md b/old_docs/API_docs_v27/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_deleteAccount.md b/old_docs/API_docs_v27/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getPrivacy.md b/old_docs/API_docs_v27/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_resetAuthorization.md b/old_docs/API_docs_v27/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_setAccountTTL.md b/old_docs/API_docs_v27/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_setPrivacy.md b/old_docs/API_docs_v27/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_unregisterDevice.md b/old_docs/API_docs_v27/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updateProfile.md b/old_docs/API_docs_v27/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updateStatus.md b/old_docs/API_docs_v27/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/account_updateUsername.md b/old_docs/API_docs_v27/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/auth_sendSms.md b/old_docs/API_docs_v27/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContact.md b/old_docs/API_docs_v27/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_getContacts.md b/old_docs/API_docs_v27/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/contacts_importCard.md b/old_docs/API_docs_v27/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_importContacts.md b/old_docs/API_docs_v27/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/contacts_unblock.md b/old_docs/API_docs_v27/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/geochats_checkin.md b/old_docs/API_docs_v27/methods/geochats_checkin.md index bf8893fe..b706a2ad 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -18,7 +18,7 @@ description: geochats.checkin parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md index 4ae78246..ff1b3c59 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -21,7 +21,7 @@ description: geochats.createGeoChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md index 7662cfe4..863b43d3 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -19,7 +19,7 @@ description: geochats.editChatPhoto parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md index 445f9a09..6826a26d 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -20,7 +20,7 @@ description: geochats.editChatTitle parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_getFullChat.md b/old_docs/API_docs_v27/methods/geochats_getFullChat.md index d139b2ab..074679a5 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -18,7 +18,7 @@ description: geochats.getFullChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_getHistory.md b/old_docs/API_docs_v27/methods/geochats_getHistory.md index 67f4eeeb..72eea912 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -21,7 +21,7 @@ description: geochats.getHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_getLocated.md b/old_docs/API_docs_v27/methods/geochats_getLocated.md index 83869f72..840a06e5 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -20,7 +20,7 @@ description: geochats.getLocated parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_getRecents.md b/old_docs/API_docs_v27/methods/geochats_getRecents.md index 75d7be76..4ee8b613 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -19,7 +19,7 @@ description: geochats.getRecents parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_search.md b/old_docs/API_docs_v27/methods/geochats_search.md index f4673476..1faac869 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -25,7 +25,7 @@ description: geochats.search parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_sendMedia.md b/old_docs/API_docs_v27/methods/geochats_sendMedia.md index f7c08555..afec807c 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -19,7 +19,7 @@ description: geochats.sendMedia parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_sendMessage.md b/old_docs/API_docs_v27/methods/geochats_sendMessage.md index a7d73a1f..ba8de7da 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -19,7 +19,7 @@ description: geochats.sendMessage parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/geochats_setTyping.md b/old_docs/API_docs_v27/methods/geochats_setTyping.md index e9a4851e..8c96c216 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -19,7 +19,7 @@ description: geochats.setTyping parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/help_getAppUpdate.md b/old_docs/API_docs_v27/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/help_getConfig.md b/old_docs/API_docs_v27/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/help_getNearestDc.md b/old_docs/API_docs_v27/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsg.md b/old_docs/API_docs_v27/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/invokeWithLayer.md b/old_docs/API_docs_v27/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_createChat.md b/old_docs/API_docs_v27/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_deleteHistory.md b/old_docs/API_docs_v27/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_deleteMessages.md b/old_docs/API_docs_v27/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_editChatTitle.md b/old_docs/API_docs_v27/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessage.md b/old_docs/API_docs_v27/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessages.md b/old_docs/API_docs_v27/methods/messages_forwardMessages.md index 56545d35..5d9c6a90 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_getAllStickers.md b/old_docs/API_docs_v27/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_getChats.md b/old_docs/API_docs_v27/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_getDhConfig.md b/old_docs/API_docs_v27/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v27/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index b266f8c6..db7a5932 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -30,7 +30,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index 0b1b8e92..d3684cd1 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -33,7 +33,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_getMessages.md b/old_docs/API_docs_v27/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_getStickers.md b/old_docs/API_docs_v27/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_readHistory.md b/old_docs/API_docs_v27/methods/messages_readHistory.md index a67b9036..9c49aa22 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -28,7 +28,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_readMessageContents.md b/old_docs/API_docs_v27/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_receivedMessages.md b/old_docs/API_docs_v27/methods/messages_receivedMessages.md index 6afdd2fd..74c522cd 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_receivedQueue.md b/old_docs/API_docs_v27/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v27/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_sendMedia.md b/old_docs/API_docs_v27/methods/messages_sendMedia.md index dafd610d..3e20cc23 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -48,7 +48,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -68,7 +68,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_sendMessage.md b/old_docs/API_docs_v27/methods/messages_sendMessage.md index e94eed0c..7bed9305 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -47,7 +47,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/messages_setTyping.md b/old_docs/API_docs_v27/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/photos_deletePhotos.md b/old_docs/API_docs_v27/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md index b8e881e5..4b0db928 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/account_changePhone.md b/old_docs/API_docs_v33/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_checkUsername.md b/old_docs/API_docs_v33/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_deleteAccount.md b/old_docs/API_docs_v33/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getPrivacy.md b/old_docs/API_docs_v33/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_resetAuthorization.md b/old_docs/API_docs_v33/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_setAccountTTL.md b/old_docs/API_docs_v33/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_setPrivacy.md b/old_docs/API_docs_v33/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_unregisterDevice.md b/old_docs/API_docs_v33/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updateProfile.md b/old_docs/API_docs_v33/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updateStatus.md b/old_docs/API_docs_v33/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/account_updateUsername.md b/old_docs/API_docs_v33/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/auth_sendSms.md b/old_docs/API_docs_v33/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContact.md b/old_docs/API_docs_v33/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_getContacts.md b/old_docs/API_docs_v33/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/contacts_importCard.md b/old_docs/API_docs_v33/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_importContacts.md b/old_docs/API_docs_v33/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/contacts_unblock.md b/old_docs/API_docs_v33/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/geochats_checkin.md b/old_docs/API_docs_v33/methods/geochats_checkin.md index bf8893fe..b706a2ad 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -18,7 +18,7 @@ description: geochats.checkin parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md index 4ae78246..ff1b3c59 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -21,7 +21,7 @@ description: geochats.createGeoChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md index 7662cfe4..863b43d3 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -19,7 +19,7 @@ description: geochats.editChatPhoto parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md index 445f9a09..6826a26d 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -20,7 +20,7 @@ description: geochats.editChatTitle parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_getFullChat.md b/old_docs/API_docs_v33/methods/geochats_getFullChat.md index d139b2ab..074679a5 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -18,7 +18,7 @@ description: geochats.getFullChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_getHistory.md b/old_docs/API_docs_v33/methods/geochats_getHistory.md index 67f4eeeb..72eea912 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -21,7 +21,7 @@ description: geochats.getHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_getLocated.md b/old_docs/API_docs_v33/methods/geochats_getLocated.md index 83869f72..840a06e5 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -20,7 +20,7 @@ description: geochats.getLocated parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_getRecents.md b/old_docs/API_docs_v33/methods/geochats_getRecents.md index 75d7be76..4ee8b613 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -19,7 +19,7 @@ description: geochats.getRecents parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_search.md b/old_docs/API_docs_v33/methods/geochats_search.md index f4673476..1faac869 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -25,7 +25,7 @@ description: geochats.search parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_sendMedia.md b/old_docs/API_docs_v33/methods/geochats_sendMedia.md index f7c08555..afec807c 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -19,7 +19,7 @@ description: geochats.sendMedia parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_sendMessage.md b/old_docs/API_docs_v33/methods/geochats_sendMessage.md index a7d73a1f..ba8de7da 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -19,7 +19,7 @@ description: geochats.sendMessage parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/geochats_setTyping.md b/old_docs/API_docs_v33/methods/geochats_setTyping.md index e9a4851e..8c96c216 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -19,7 +19,7 @@ description: geochats.setTyping parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/help_getAppChangelog.md b/old_docs/API_docs_v33/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/help_getAppUpdate.md b/old_docs/API_docs_v33/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/help_getConfig.md b/old_docs/API_docs_v33/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/help_getNearestDc.md b/old_docs/API_docs_v33/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsg.md b/old_docs/API_docs_v33/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/invokeWithLayer.md b/old_docs/API_docs_v33/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_createChat.md b/old_docs/API_docs_v33/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_deleteHistory.md b/old_docs/API_docs_v33/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_deleteMessages.md b/old_docs/API_docs_v33/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_editChatTitle.md b/old_docs/API_docs_v33/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessage.md b/old_docs/API_docs_v33/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessages.md b/old_docs/API_docs_v33/methods/messages_forwardMessages.md index 56545d35..5d9c6a90 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_getAllStickers.md b/old_docs/API_docs_v33/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_getChats.md b/old_docs/API_docs_v33/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_getDhConfig.md b/old_docs/API_docs_v33/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v33/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index b266f8c6..db7a5932 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -30,7 +30,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index 0b1b8e92..d3684cd1 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -33,7 +33,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_getMessages.md b/old_docs/API_docs_v33/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_getStickerSet.md b/old_docs/API_docs_v33/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_getStickers.md b/old_docs/API_docs_v33/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_importChatInvite.md b/old_docs/API_docs_v33/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_installStickerSet.md b/old_docs/API_docs_v33/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_readHistory.md b/old_docs/API_docs_v33/methods/messages_readHistory.md index a67b9036..9c49aa22 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -28,7 +28,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_readMessageContents.md b/old_docs/API_docs_v33/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_receivedMessages.md b/old_docs/API_docs_v33/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_receivedQueue.md b/old_docs/API_docs_v33/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v33/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_sendMedia.md b/old_docs/API_docs_v33/methods/messages_sendMedia.md index 075ef55d..23ae6a9b 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_sendMessage.md b/old_docs/API_docs_v33/methods/messages_sendMessage.md index 141ed959..de851a3d 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -48,7 +48,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -68,7 +68,7 @@ $MadelineProto->start(); $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_setTyping.md b/old_docs/API_docs_v33/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/messages_startBot.md b/old_docs/API_docs_v33/methods/messages_startBot.md index 6afa0857..74f1019a 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/photos_deletePhotos.md b/old_docs/API_docs_v33/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/account_changePhone.md b/old_docs/API_docs_v38/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_checkUsername.md b/old_docs/API_docs_v38/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_deleteAccount.md b/old_docs/API_docs_v38/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getPrivacy.md b/old_docs/API_docs_v38/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_resetAuthorization.md b/old_docs/API_docs_v38/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_setAccountTTL.md b/old_docs/API_docs_v38/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_setPrivacy.md b/old_docs/API_docs_v38/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_unregisterDevice.md b/old_docs/API_docs_v38/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updateProfile.md b/old_docs/API_docs_v38/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updateStatus.md b/old_docs/API_docs_v38/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/account_updateUsername.md b/old_docs/API_docs_v38/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/auth_sendSms.md b/old_docs/API_docs_v38/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_createChannel.md b/old_docs/API_docs_v38/methods/channels_createChannel.md index 0afac677..0d476166 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -28,7 +28,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['title' => 'string', 'about' => 'string', 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_deleteChannel.md b/old_docs/API_docs_v38/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_deleteMessages.md b/old_docs/API_docs_v38/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_editAbout.md b/old_docs/API_docs_v38/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_editAdmin.md b/old_docs/API_docs_v38/methods/channels_editAdmin.md index 4b3ed54b..1ebbbaf7 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_editPhoto.md b/old_docs/API_docs_v38/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_editTitle.md b/old_docs/API_docs_v38/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_exportInvite.md b/old_docs/API_docs_v38/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getChannels.md b/old_docs/API_docs_v38/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getDialogs.md b/old_docs/API_docs_v38/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getMessages.md b/old_docs/API_docs_v38/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getParticipant.md b/old_docs/API_docs_v38/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_joinChannel.md b/old_docs/API_docs_v38/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_leaveChannel.md b/old_docs/API_docs_v38/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_readHistory.md b/old_docs/API_docs_v38/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_reportSpam.md b/old_docs/API_docs_v38/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/channels_toggleComments.md b/old_docs/API_docs_v38/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/channels_updateUsername.md b/old_docs/API_docs_v38/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_block.md b/old_docs/API_docs_v38/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContact.md b/old_docs/API_docs_v38/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_getContacts.md b/old_docs/API_docs_v38/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/contacts_importCard.md b/old_docs/API_docs_v38/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_importContacts.md b/old_docs/API_docs_v38/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/contacts_unblock.md b/old_docs/API_docs_v38/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_getAppChangelog.md b/old_docs/API_docs_v38/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_getAppUpdate.md b/old_docs/API_docs_v38/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_getConfig.md b/old_docs/API_docs_v38/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_getNearestDc.md b/old_docs/API_docs_v38/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsg.md b/old_docs/API_docs_v38/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/invokeWithLayer.md b/old_docs/API_docs_v38/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_createChat.md b/old_docs/API_docs_v38/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_deleteHistory.md b/old_docs/API_docs_v38/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_deleteMessages.md b/old_docs/API_docs_v38/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_editChatTitle.md b/old_docs/API_docs_v38/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessage.md b/old_docs/API_docs_v38/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessages.md b/old_docs/API_docs_v38/methods/messages_forwardMessages.md index 6048ad11..186f7bb0 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -48,7 +48,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -68,7 +68,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_getAllStickers.md b/old_docs/API_docs_v38/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_getChats.md b/old_docs/API_docs_v38/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_getDhConfig.md b/old_docs/API_docs_v38/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v38/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index e08d625f..70d285ff 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -29,7 +29,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_getMessages.md b/old_docs/API_docs_v38/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_getStickerSet.md b/old_docs/API_docs_v38/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_getStickers.md b/old_docs/API_docs_v38/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_importChatInvite.md b/old_docs/API_docs_v38/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_installStickerSet.md b/old_docs/API_docs_v38/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_readHistory.md b/old_docs/API_docs_v38/methods/messages_readHistory.md index a67b9036..9c49aa22 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -28,7 +28,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_readMessageContents.md b/old_docs/API_docs_v38/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_receivedMessages.md b/old_docs/API_docs_v38/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_receivedQueue.md b/old_docs/API_docs_v38/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v38/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_sendMedia.md b/old_docs/API_docs_v38/methods/messages_sendMedia.md index 075ef55d..23ae6a9b 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index 4260195e..4ded7f6b 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -50,7 +50,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_setTyping.md b/old_docs/API_docs_v38/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/messages_startBot.md b/old_docs/API_docs_v38/methods/messages_startBot.md index 6afa0857..74f1019a 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/photos_deletePhotos.md b/old_docs/API_docs_v38/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/account_changePhone.md b/old_docs/API_docs_v40/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_checkUsername.md b/old_docs/API_docs_v40/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_deleteAccount.md b/old_docs/API_docs_v40/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getPrivacy.md b/old_docs/API_docs_v40/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_resetAuthorization.md b/old_docs/API_docs_v40/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_setAccountTTL.md b/old_docs/API_docs_v40/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_setPrivacy.md b/old_docs/API_docs_v40/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_unregisterDevice.md b/old_docs/API_docs_v40/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updateProfile.md b/old_docs/API_docs_v40/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updateStatus.md b/old_docs/API_docs_v40/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/account_updateUsername.md b/old_docs/API_docs_v40/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/auth_sendSms.md b/old_docs/API_docs_v40/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContact.md b/old_docs/API_docs_v40/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_getContacts.md b/old_docs/API_docs_v40/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/contacts_importCard.md b/old_docs/API_docs_v40/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_importContacts.md b/old_docs/API_docs_v40/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/contacts_unblock.md b/old_docs/API_docs_v40/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_getAppChangelog.md b/old_docs/API_docs_v40/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_getAppUpdate.md b/old_docs/API_docs_v40/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_getConfig.md b/old_docs/API_docs_v40/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_getNearestDc.md b/old_docs/API_docs_v40/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsg.md b/old_docs/API_docs_v40/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/invokeWithLayer.md b/old_docs/API_docs_v40/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_createChannel.md b/old_docs/API_docs_v40/methods/messages_createChannel.md index 454992aa..e607e441 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -18,7 +18,7 @@ description: messages.createChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChannel(['title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_createChat.md b/old_docs/API_docs_v40/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md index 731f3c25..f99e8c5f 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -19,7 +19,7 @@ description: messages.deleteChannelMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteChannelMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_deleteHistory.md b/old_docs/API_docs_v40/methods/messages_deleteHistory.md index 75e27344..96263ff6 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_deleteMessages.md b/old_docs/API_docs_v40/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_editChatTitle.md b/old_docs/API_docs_v40/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessage.md b/old_docs/API_docs_v40/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessages.md b/old_docs/API_docs_v40/methods/messages_forwardMessages.md index 56545d35..5d9c6a90 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -47,7 +47,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -67,7 +67,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getAllStickers.md b/old_docs/API_docs_v40/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md index 390aa1d1..fcd50c52 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -19,7 +19,7 @@ description: messages.getChannelDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getChannelDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getChats.md b/old_docs/API_docs_v40/methods/messages_getChats.md index 200c9ead..4baf4978 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [InputChat, InputChat], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getDhConfig.md b/old_docs/API_docs_v40/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v40/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index e08d625f..70d285ff 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -29,7 +29,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index b56977bd..f01ad90a 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -34,7 +34,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md index c53616ea..d18707e4 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -21,7 +21,7 @@ description: messages.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getImportantHistory(['peer' => InputPeer, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getMessages.md b/old_docs/API_docs_v40/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getStickerSet.md b/old_docs/API_docs_v40/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getStickers.md b/old_docs/API_docs_v40/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_importChatInvite.md b/old_docs/API_docs_v40/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_installStickerSet.md b/old_docs/API_docs_v40/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md index ac135d34..6f8f3209 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -19,7 +19,7 @@ description: messages.readChannelHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readChannelHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_readHistory.md b/old_docs/API_docs_v40/methods/messages_readHistory.md index a67b9036..9c49aa22 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -28,7 +28,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_readMessageContents.md b/old_docs/API_docs_v40/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_receivedMessages.md b/old_docs/API_docs_v40/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_receivedQueue.md b/old_docs/API_docs_v40/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v40/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_sendMedia.md b/old_docs/API_docs_v40/methods/messages_sendMedia.md index 075ef55d..23ae6a9b 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -49,7 +49,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index 4260195e..4ded7f6b 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -50,7 +50,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_setTyping.md b/old_docs/API_docs_v40/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/messages_startBot.md b/old_docs/API_docs_v40/methods/messages_startBot.md index 6afa0857..74f1019a 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/photos_deletePhotos.md b/old_docs/API_docs_v40/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/account_changePhone.md b/old_docs/API_docs_v41/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_checkUsername.md b/old_docs/API_docs_v41/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_deleteAccount.md b/old_docs/API_docs_v41/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getPrivacy.md b/old_docs/API_docs_v41/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_resetAuthorization.md b/old_docs/API_docs_v41/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_setAccountTTL.md b/old_docs/API_docs_v41/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_setPrivacy.md b/old_docs/API_docs_v41/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_unregisterDevice.md b/old_docs/API_docs_v41/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updateProfile.md b/old_docs/API_docs_v41/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updateStatus.md b/old_docs/API_docs_v41/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/account_updateUsername.md b/old_docs/API_docs_v41/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/auth_sendSms.md b/old_docs/API_docs_v41/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_createChannel.md b/old_docs/API_docs_v41/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_deleteChannel.md b/old_docs/API_docs_v41/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_deleteMessages.md b/old_docs/API_docs_v41/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_editAbout.md b/old_docs/API_docs_v41/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_editAdmin.md b/old_docs/API_docs_v41/methods/channels_editAdmin.md index 4b3ed54b..1ebbbaf7 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_editPhoto.md b/old_docs/API_docs_v41/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_editTitle.md b/old_docs/API_docs_v41/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_exportInvite.md b/old_docs/API_docs_v41/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getChannels.md b/old_docs/API_docs_v41/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getDialogs.md b/old_docs/API_docs_v41/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getMessages.md b/old_docs/API_docs_v41/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getParticipant.md b/old_docs/API_docs_v41/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_joinChannel.md b/old_docs/API_docs_v41/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_leaveChannel.md b/old_docs/API_docs_v41/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_readHistory.md b/old_docs/API_docs_v41/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_reportSpam.md b/old_docs/API_docs_v41/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/channels_toggleComments.md b/old_docs/API_docs_v41/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/channels_updateUsername.md b/old_docs/API_docs_v41/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_block.md b/old_docs/API_docs_v41/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContact.md b/old_docs/API_docs_v41/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_getContacts.md b/old_docs/API_docs_v41/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/contacts_importCard.md b/old_docs/API_docs_v41/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_importContacts.md b/old_docs/API_docs_v41/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/contacts_unblock.md b/old_docs/API_docs_v41/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_getAppChangelog.md b/old_docs/API_docs_v41/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_getAppUpdate.md b/old_docs/API_docs_v41/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_getConfig.md b/old_docs/API_docs_v41/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_getNearestDc.md b/old_docs/API_docs_v41/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsg.md b/old_docs/API_docs_v41/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/invokeWithLayer.md b/old_docs/API_docs_v41/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_createChat.md b/old_docs/API_docs_v41/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_deactivateChat.md b/old_docs/API_docs_v41/methods/messages_deactivateChat.md index 8639a743..9d1cc414 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -19,7 +19,7 @@ description: messages.deactivateChat parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deactivateChat(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_deleteHistory.md b/old_docs/API_docs_v41/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_deleteMessages.md b/old_docs/API_docs_v41/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_editChatTitle.md b/old_docs/API_docs_v41/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessage.md b/old_docs/API_docs_v41/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessages.md b/old_docs/API_docs_v41/methods/messages_forwardMessages.md index 20e01204..c3f27aa7 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_getAllStickers.md b/old_docs/API_docs_v41/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_getChats.md b/old_docs/API_docs_v41/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_getDhConfig.md b/old_docs/API_docs_v41/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v41/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index e08d625f..70d285ff 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -29,7 +29,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_getMessages.md b/old_docs/API_docs_v41/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_getStickerSet.md b/old_docs/API_docs_v41/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_getStickers.md b/old_docs/API_docs_v41/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_importChatInvite.md b/old_docs/API_docs_v41/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_installStickerSet.md b/old_docs/API_docs_v41/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_migrateChat.md b/old_docs/API_docs_v41/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_readHistory.md b/old_docs/API_docs_v41/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_readMessageContents.md b/old_docs/API_docs_v41/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_receivedMessages.md b/old_docs/API_docs_v41/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_receivedQueue.md b/old_docs/API_docs_v41/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v41/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_searchGlobal.md b/old_docs/API_docs_v41/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_sendMedia.md b/old_docs/API_docs_v41/methods/messages_sendMedia.md index 7d1d8045..aeb09d5e 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -50,7 +50,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index 44d73ff9..3c19ccdf 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -52,7 +52,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_setTyping.md b/old_docs/API_docs_v41/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/messages_startBot.md b/old_docs/API_docs_v41/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/photos_deletePhotos.md b/old_docs/API_docs_v41/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/account_changePhone.md b/old_docs/API_docs_v42/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_checkUsername.md b/old_docs/API_docs_v42/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_deleteAccount.md b/old_docs/API_docs_v42/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getPrivacy.md b/old_docs/API_docs_v42/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_resetAuthorization.md b/old_docs/API_docs_v42/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_setAccountTTL.md b/old_docs/API_docs_v42/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_setPrivacy.md b/old_docs/API_docs_v42/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_unregisterDevice.md b/old_docs/API_docs_v42/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updateProfile.md b/old_docs/API_docs_v42/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updateStatus.md b/old_docs/API_docs_v42/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/account_updateUsername.md b/old_docs/API_docs_v42/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/auth_sendSms.md b/old_docs/API_docs_v42/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_createChannel.md b/old_docs/API_docs_v42/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_deleteChannel.md b/old_docs/API_docs_v42/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_deleteMessages.md b/old_docs/API_docs_v42/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_editAbout.md b/old_docs/API_docs_v42/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_editAdmin.md b/old_docs/API_docs_v42/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_editPhoto.md b/old_docs/API_docs_v42/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_editTitle.md b/old_docs/API_docs_v42/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_exportInvite.md b/old_docs/API_docs_v42/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getChannels.md b/old_docs/API_docs_v42/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getDialogs.md b/old_docs/API_docs_v42/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getMessages.md b/old_docs/API_docs_v42/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getParticipant.md b/old_docs/API_docs_v42/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_joinChannel.md b/old_docs/API_docs_v42/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_leaveChannel.md b/old_docs/API_docs_v42/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_readHistory.md b/old_docs/API_docs_v42/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_reportSpam.md b/old_docs/API_docs_v42/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/channels_toggleComments.md b/old_docs/API_docs_v42/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/channels_updateUsername.md b/old_docs/API_docs_v42/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_block.md b/old_docs/API_docs_v42/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContact.md b/old_docs/API_docs_v42/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_getContacts.md b/old_docs/API_docs_v42/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/contacts_importCard.md b/old_docs/API_docs_v42/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_importContacts.md b/old_docs/API_docs_v42/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/contacts_unblock.md b/old_docs/API_docs_v42/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_getAppChangelog.md b/old_docs/API_docs_v42/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_getAppUpdate.md b/old_docs/API_docs_v42/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_getConfig.md b/old_docs/API_docs_v42/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_getNearestDc.md b/old_docs/API_docs_v42/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsg.md b/old_docs/API_docs_v42/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/invokeWithLayer.md b/old_docs/API_docs_v42/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_createChat.md b/old_docs/API_docs_v42/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_deleteHistory.md b/old_docs/API_docs_v42/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_deleteMessages.md b/old_docs/API_docs_v42/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_editChatTitle.md b/old_docs/API_docs_v42/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessage.md b/old_docs/API_docs_v42/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessages.md b/old_docs/API_docs_v42/methods/messages_forwardMessages.md index 20e01204..c3f27aa7 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_getAllStickers.md b/old_docs/API_docs_v42/methods/messages_getAllStickers.md index aa5c6663..5e526f92 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_getChats.md b/old_docs/API_docs_v42/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_getDhConfig.md b/old_docs/API_docs_v42/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v42/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_getMessages.md b/old_docs/API_docs_v42/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_getStickerSet.md b/old_docs/API_docs_v42/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_getStickers.md b/old_docs/API_docs_v42/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_importChatInvite.md b/old_docs/API_docs_v42/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_installStickerSet.md b/old_docs/API_docs_v42/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_migrateChat.md b/old_docs/API_docs_v42/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_readHistory.md b/old_docs/API_docs_v42/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_readMessageContents.md b/old_docs/API_docs_v42/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_receivedMessages.md b/old_docs/API_docs_v42/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_receivedQueue.md b/old_docs/API_docs_v42/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v42/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_searchGlobal.md b/old_docs/API_docs_v42/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_sendMedia.md b/old_docs/API_docs_v42/methods/messages_sendMedia.md index 7d1d8045..aeb09d5e 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -50,7 +50,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index 44d73ff9..3c19ccdf 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -52,7 +52,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_setTyping.md b/old_docs/API_docs_v42/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/messages_startBot.md b/old_docs/API_docs_v42/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/photos_deletePhotos.md b/old_docs/API_docs_v42/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/account_changePhone.md b/old_docs/API_docs_v44/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_checkUsername.md b/old_docs/API_docs_v44/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_deleteAccount.md b/old_docs/API_docs_v44/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getPrivacy.md b/old_docs/API_docs_v44/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_reportPeer.md b/old_docs/API_docs_v44/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_resetAuthorization.md b/old_docs/API_docs_v44/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_setAccountTTL.md b/old_docs/API_docs_v44/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_setPrivacy.md b/old_docs/API_docs_v44/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_unregisterDevice.md b/old_docs/API_docs_v44/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updateProfile.md b/old_docs/API_docs_v44/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updateStatus.md b/old_docs/API_docs_v44/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/account_updateUsername.md b/old_docs/API_docs_v44/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/auth_sendSms.md b/old_docs/API_docs_v44/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_createChannel.md b/old_docs/API_docs_v44/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_deleteChannel.md b/old_docs/API_docs_v44/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_deleteMessages.md b/old_docs/API_docs_v44/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_editAbout.md b/old_docs/API_docs_v44/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_editAdmin.md b/old_docs/API_docs_v44/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_editPhoto.md b/old_docs/API_docs_v44/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_editTitle.md b/old_docs/API_docs_v44/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_exportInvite.md b/old_docs/API_docs_v44/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getChannels.md b/old_docs/API_docs_v44/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getDialogs.md b/old_docs/API_docs_v44/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getMessages.md b/old_docs/API_docs_v44/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getParticipant.md b/old_docs/API_docs_v44/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_joinChannel.md b/old_docs/API_docs_v44/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_leaveChannel.md b/old_docs/API_docs_v44/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_readHistory.md b/old_docs/API_docs_v44/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_reportSpam.md b/old_docs/API_docs_v44/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/channels_toggleComments.md b/old_docs/API_docs_v44/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/channels_updateUsername.md b/old_docs/API_docs_v44/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_block.md b/old_docs/API_docs_v44/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContact.md b/old_docs/API_docs_v44/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_getContacts.md b/old_docs/API_docs_v44/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/contacts_importCard.md b/old_docs/API_docs_v44/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_importContacts.md b/old_docs/API_docs_v44/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/contacts_unblock.md b/old_docs/API_docs_v44/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getAppChangelog.md b/old_docs/API_docs_v44/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getAppUpdate.md b/old_docs/API_docs_v44/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getConfig.md b/old_docs/API_docs_v44/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getNearestDc.md b/old_docs/API_docs_v44/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index e7e6314d..3a1b355d 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -18,7 +18,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/help_saveAppLog.md b/old_docs/API_docs_v44/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsg.md b/old_docs/API_docs_v44/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/invokeWithLayer.md b/old_docs/API_docs_v44/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_createChat.md b/old_docs/API_docs_v44/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_deleteHistory.md b/old_docs/API_docs_v44/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_deleteMessages.md b/old_docs/API_docs_v44/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_editChatTitle.md b/old_docs/API_docs_v44/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessage.md b/old_docs/API_docs_v44/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessages.md b/old_docs/API_docs_v44/methods/messages_forwardMessages.md index 20e01204..c3f27aa7 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getAllStickers.md b/old_docs/API_docs_v44/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_getChats.md b/old_docs/API_docs_v44/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getDhConfig.md b/old_docs/API_docs_v44/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v44/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_getMessages.md b/old_docs/API_docs_v44/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_getStickerSet.md b/old_docs/API_docs_v44/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getStickers.md b/old_docs/API_docs_v44/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_importChatInvite.md b/old_docs/API_docs_v44/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_installStickerSet.md b/old_docs/API_docs_v44/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_migrateChat.md b/old_docs/API_docs_v44/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_readHistory.md b/old_docs/API_docs_v44/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_readMessageContents.md b/old_docs/API_docs_v44/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_receivedMessages.md b/old_docs/API_docs_v44/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_receivedQueue.md b/old_docs/API_docs_v44/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v44/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_reportSpam.md b/old_docs/API_docs_v44/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_searchGifs.md b/old_docs/API_docs_v44/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_searchGlobal.md b/old_docs/API_docs_v44/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_sendMedia.md b/old_docs/API_docs_v44/methods/messages_sendMedia.md index 7d1d8045..aeb09d5e 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -50,7 +50,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index 44d73ff9..3c19ccdf 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -52,7 +52,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_setTyping.md b/old_docs/API_docs_v44/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/messages_startBot.md b/old_docs/API_docs_v44/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/photos_deletePhotos.md b/old_docs/API_docs_v44/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/account_changePhone.md b/old_docs/API_docs_v45/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_checkUsername.md b/old_docs/API_docs_v45/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_deleteAccount.md b/old_docs/API_docs_v45/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getPrivacy.md b/old_docs/API_docs_v45/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_reportPeer.md b/old_docs/API_docs_v45/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_resetAuthorization.md b/old_docs/API_docs_v45/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_setAccountTTL.md b/old_docs/API_docs_v45/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_setPrivacy.md b/old_docs/API_docs_v45/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_unregisterDevice.md b/old_docs/API_docs_v45/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updateProfile.md b/old_docs/API_docs_v45/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updateStatus.md b/old_docs/API_docs_v45/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/account_updateUsername.md b/old_docs/API_docs_v45/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/auth_sendSms.md b/old_docs/API_docs_v45/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_createChannel.md b/old_docs/API_docs_v45/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_deleteChannel.md b/old_docs/API_docs_v45/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_deleteMessages.md b/old_docs/API_docs_v45/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_editAbout.md b/old_docs/API_docs_v45/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_editAdmin.md b/old_docs/API_docs_v45/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_editPhoto.md b/old_docs/API_docs_v45/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_editTitle.md b/old_docs/API_docs_v45/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_exportInvite.md b/old_docs/API_docs_v45/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getChannels.md b/old_docs/API_docs_v45/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getDialogs.md b/old_docs/API_docs_v45/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getMessages.md b/old_docs/API_docs_v45/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getParticipant.md b/old_docs/API_docs_v45/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_joinChannel.md b/old_docs/API_docs_v45/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_leaveChannel.md b/old_docs/API_docs_v45/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_readHistory.md b/old_docs/API_docs_v45/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_reportSpam.md b/old_docs/API_docs_v45/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/channels_toggleComments.md b/old_docs/API_docs_v45/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/channels_updateUsername.md b/old_docs/API_docs_v45/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_block.md b/old_docs/API_docs_v45/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContact.md b/old_docs/API_docs_v45/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_getContacts.md b/old_docs/API_docs_v45/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/contacts_importCard.md b/old_docs/API_docs_v45/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_importContacts.md b/old_docs/API_docs_v45/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/contacts_unblock.md b/old_docs/API_docs_v45/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getAppChangelog.md b/old_docs/API_docs_v45/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getAppUpdate.md b/old_docs/API_docs_v45/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getConfig.md b/old_docs/API_docs_v45/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getNearestDc.md b/old_docs/API_docs_v45/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index e7e6314d..3a1b355d 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -18,7 +18,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/help_saveAppLog.md b/old_docs/API_docs_v45/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsg.md b/old_docs/API_docs_v45/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/invokeWithLayer.md b/old_docs/API_docs_v45/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_createChat.md b/old_docs/API_docs_v45/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_deleteHistory.md b/old_docs/API_docs_v45/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_deleteMessages.md b/old_docs/API_docs_v45/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_editChatTitle.md b/old_docs/API_docs_v45/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessage.md b/old_docs/API_docs_v45/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessages.md b/old_docs/API_docs_v45/methods/messages_forwardMessages.md index 20e01204..c3f27aa7 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getAllStickers.md b/old_docs/API_docs_v45/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getChats.md b/old_docs/API_docs_v45/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getDhConfig.md b/old_docs/API_docs_v45/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v45/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md index e475b5bf..8a6608c0 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -30,7 +30,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getMessages.md b/old_docs/API_docs_v45/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_getStickerSet.md b/old_docs/API_docs_v45/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getStickers.md b/old_docs/API_docs_v45/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_importChatInvite.md b/old_docs/API_docs_v45/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_installStickerSet.md b/old_docs/API_docs_v45/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_migrateChat.md b/old_docs/API_docs_v45/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_readHistory.md b/old_docs/API_docs_v45/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_readMessageContents.md b/old_docs/API_docs_v45/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_receivedMessages.md b/old_docs/API_docs_v45/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_receivedQueue.md b/old_docs/API_docs_v45/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v45/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_reportSpam.md b/old_docs/API_docs_v45/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_search.md b/old_docs/API_docs_v45/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_searchGifs.md b/old_docs/API_docs_v45/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_searchGlobal.md b/old_docs/API_docs_v45/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index 212c1d93..31437347 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -34,7 +34,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_sendMedia.md b/old_docs/API_docs_v45/methods/messages_sendMedia.md index 7d1d8045..aeb09d5e 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -50,7 +50,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index 44d73ff9..3c19ccdf 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -52,7 +52,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md index 393b0083..cbcb63cc 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -40,7 +40,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_setTyping.md b/old_docs/API_docs_v45/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/messages_startBot.md b/old_docs/API_docs_v45/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/photos_deletePhotos.md b/old_docs/API_docs_v45/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/account_changePhone.md b/old_docs/API_docs_v46/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_checkUsername.md b/old_docs/API_docs_v46/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_deleteAccount.md b/old_docs/API_docs_v46/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getPrivacy.md b/old_docs/API_docs_v46/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_reportPeer.md b/old_docs/API_docs_v46/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_resetAuthorization.md b/old_docs/API_docs_v46/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 81846556..0b384269 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -27,7 +27,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_setAccountTTL.md b/old_docs/API_docs_v46/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_setPrivacy.md b/old_docs/API_docs_v46/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_unregisterDevice.md b/old_docs/API_docs_v46/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updateProfile.md b/old_docs/API_docs_v46/methods/account_updateProfile.md index 86552e1c..f16398ed 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -29,7 +29,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updateStatus.md b/old_docs/API_docs_v46/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/account_updateUsername.md b/old_docs/API_docs_v46/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index 3bab952d..c60199eb 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -19,7 +19,7 @@ description: auth.sendCall parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendCall(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/auth_sendSms.md b/old_docs/API_docs_v46/methods/auth_sendSms.md index 34450af2..348b1360 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -19,7 +19,7 @@ description: auth.sendSms parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendSms(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_createChannel.md b/old_docs/API_docs_v46/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_deleteChannel.md b/old_docs/API_docs_v46/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_deleteMessages.md b/old_docs/API_docs_v46/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_editAbout.md b/old_docs/API_docs_v46/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_editAdmin.md b/old_docs/API_docs_v46/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_editPhoto.md b/old_docs/API_docs_v46/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_editTitle.md b/old_docs/API_docs_v46/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_exportInvite.md b/old_docs/API_docs_v46/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getChannels.md b/old_docs/API_docs_v46/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getDialogs.md b/old_docs/API_docs_v46/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index 99d6fcaf..a3c9ed38 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -23,7 +23,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getMessages.md b/old_docs/API_docs_v46/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getParticipant.md b/old_docs/API_docs_v46/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_joinChannel.md b/old_docs/API_docs_v46/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_leaveChannel.md b/old_docs/API_docs_v46/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_readHistory.md b/old_docs/API_docs_v46/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_reportSpam.md b/old_docs/API_docs_v46/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/channels_toggleComments.md b/old_docs/API_docs_v46/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/channels_updateUsername.md b/old_docs/API_docs_v46/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_block.md b/old_docs/API_docs_v46/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContact.md b/old_docs/API_docs_v46/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_getContacts.md b/old_docs/API_docs_v46/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index c324bc67..8c73b1e8 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -18,7 +18,7 @@ description: contacts.getSuggested parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/contacts_importCard.md b/old_docs/API_docs_v46/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_importContacts.md b/old_docs/API_docs_v46/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/contacts_unblock.md b/old_docs/API_docs_v46/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getAppChangelog.md b/old_docs/API_docs_v46/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getAppUpdate.md b/old_docs/API_docs_v46/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getConfig.md b/old_docs/API_docs_v46/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getNearestDc.md b/old_docs/API_docs_v46/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index e7e6314d..3a1b355d 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -18,7 +18,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/help_saveAppLog.md b/old_docs/API_docs_v46/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsg.md b/old_docs/API_docs_v46/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/invokeWithLayer.md b/old_docs/API_docs_v46/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_createChat.md b/old_docs/API_docs_v46/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_deleteHistory.md b/old_docs/API_docs_v46/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_deleteMessages.md b/old_docs/API_docs_v46/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_editChatTitle.md b/old_docs/API_docs_v46/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessage.md b/old_docs/API_docs_v46/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessages.md b/old_docs/API_docs_v46/methods/messages_forwardMessages.md index 20e01204..c3f27aa7 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -49,7 +49,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -69,7 +69,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getAllStickers.md b/old_docs/API_docs_v46/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getChats.md b/old_docs/API_docs_v46/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getDhConfig.md b/old_docs/API_docs_v46/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v46/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index c6d44846..37093c17 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -35,7 +35,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md index e475b5bf..8a6608c0 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -30,7 +30,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getMessages.md b/old_docs/API_docs_v46/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_getStickerSet.md b/old_docs/API_docs_v46/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getStickers.md b/old_docs/API_docs_v46/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_importChatInvite.md b/old_docs/API_docs_v46/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_installStickerSet.md b/old_docs/API_docs_v46/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_migrateChat.md b/old_docs/API_docs_v46/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_readHistory.md b/old_docs/API_docs_v46/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_readMessageContents.md b/old_docs/API_docs_v46/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_receivedMessages.md b/old_docs/API_docs_v46/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_receivedQueue.md b/old_docs/API_docs_v46/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v46/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_reportSpam.md b/old_docs/API_docs_v46/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_search.md b/old_docs/API_docs_v46/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_searchGifs.md b/old_docs/API_docs_v46/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_searchGlobal.md b/old_docs/API_docs_v46/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index 212c1d93..31437347 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -34,7 +34,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_sendMedia.md b/old_docs/API_docs_v46/methods/messages_sendMedia.md index 7d1d8045..aeb09d5e 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -50,7 +50,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index 44d73ff9..3c19ccdf 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -52,7 +52,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md index 393b0083..cbcb63cc 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -40,7 +40,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_setTyping.md b/old_docs/API_docs_v46/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/messages_startBot.md b/old_docs/API_docs_v46/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/photos_deletePhotos.md b/old_docs/API_docs_v46/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/account_changePhone.md b/old_docs/API_docs_v51/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_checkUsername.md b/old_docs/API_docs_v51/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_deleteAccount.md b/old_docs/API_docs_v51/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getPrivacy.md b/old_docs/API_docs_v51/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index 47623cd9..1752afde 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -33,7 +33,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'app_sandbox' => Bool, 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_reportPeer.md b/old_docs/API_docs_v51/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_resetAuthorization.md b/old_docs/API_docs_v51/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_setAccountTTL.md b/old_docs/API_docs_v51/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_setPrivacy.md b/old_docs/API_docs_v51/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_unregisterDevice.md b/old_docs/API_docs_v51/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updateProfile.md b/old_docs/API_docs_v51/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updateStatus.md b/old_docs/API_docs_v51/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/account_updateUsername.md b/old_docs/API_docs_v51/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_createChannel.md b/old_docs/API_docs_v51/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_deleteChannel.md b/old_docs/API_docs_v51/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_deleteMessages.md b/old_docs/API_docs_v51/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_editAbout.md b/old_docs/API_docs_v51/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_editAdmin.md b/old_docs/API_docs_v51/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_editPhoto.md b/old_docs/API_docs_v51/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_editTitle.md b/old_docs/API_docs_v51/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_exportInvite.md b/old_docs/API_docs_v51/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_getChannels.md b/old_docs/API_docs_v51/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_getDialogs.md b/old_docs/API_docs_v51/methods/channels_getDialogs.md index 1a551e4d..ad4b7142 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -19,7 +19,7 @@ description: channels.getDialogs parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index f8d6c388..d97cc8ea 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -24,7 +24,7 @@ description: channels.getImportantHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -44,7 +44,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_getMessages.md b/old_docs/API_docs_v51/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_getParticipant.md b/old_docs/API_docs_v51/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_joinChannel.md b/old_docs/API_docs_v51/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_leaveChannel.md b/old_docs/API_docs_v51/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_readHistory.md b/old_docs/API_docs_v51/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_reportSpam.md b/old_docs/API_docs_v51/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_toggleComments.md b/old_docs/API_docs_v51/methods/channels_toggleComments.md index fddbb1a9..f5a54b85 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -19,7 +19,7 @@ description: channels.toggleComments parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_toggleInvites.md b/old_docs/API_docs_v51/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/channels_updateUsername.md b/old_docs/API_docs_v51/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_block.md b/old_docs/API_docs_v51/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContact.md b/old_docs/API_docs_v51/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_getContacts.md b/old_docs/API_docs_v51/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_importContacts.md b/old_docs/API_docs_v51/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/contacts_unblock.md b/old_docs/API_docs_v51/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getAppChangelog.md b/old_docs/API_docs_v51/methods/help_getAppChangelog.md index 99c637ec..ec71a905 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -21,7 +21,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getAppUpdate.md b/old_docs/API_docs_v51/methods/help_getAppUpdate.md index cfc73e28..d13d6263 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -21,7 +21,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getConfig.md b/old_docs/API_docs_v51/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index 4604ff21..aeebae28 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -18,7 +18,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getNearestDc.md b/old_docs/API_docs_v51/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index e7e6314d..3a1b355d 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -18,7 +18,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/help_saveAppLog.md b/old_docs/API_docs_v51/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsg.md b/old_docs/API_docs_v51/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/invokeWithLayer.md b/old_docs/API_docs_v51/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_createChat.md b/old_docs/API_docs_v51/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_deleteHistory.md b/old_docs/API_docs_v51/methods/messages_deleteHistory.md index 5904df0d..b7f374f5 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -26,7 +26,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_deleteMessages.md b/old_docs/API_docs_v51/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_editChatTitle.md b/old_docs/API_docs_v51/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessage.md b/old_docs/API_docs_v51/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessages.md b/old_docs/API_docs_v51/methods/messages_forwardMessages.md index deefb9f1..032bf5a7 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getAllStickers.md b/old_docs/API_docs_v51/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md index 3025db93..eb3094e6 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -31,7 +31,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getChats.md b/old_docs/API_docs_v51/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getDhConfig.md b/old_docs/API_docs_v51/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v51/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getMessages.md b/old_docs/API_docs_v51/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_getStickerSet.md b/old_docs/API_docs_v51/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getStickers.md b/old_docs/API_docs_v51/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_importChatInvite.md b/old_docs/API_docs_v51/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_installStickerSet.md b/old_docs/API_docs_v51/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_migrateChat.md b/old_docs/API_docs_v51/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_readHistory.md b/old_docs/API_docs_v51/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_readMessageContents.md b/old_docs/API_docs_v51/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_receivedMessages.md b/old_docs/API_docs_v51/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_receivedQueue.md b/old_docs/API_docs_v51/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v51/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_reportSpam.md b/old_docs/API_docs_v51/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_search.md b/old_docs/API_docs_v51/methods/messages_search.md index 3dc3f782..bed6f4c1 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_searchGifs.md b/old_docs/API_docs_v51/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_searchGlobal.md b/old_docs/API_docs_v51/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index c2cbe93a..bcbeb12d 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_sendMedia.md b/old_docs/API_docs_v51/methods/messages_sendMedia.md index 1027955d..bef89cc6 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 420c631a..e082bdae 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md index c81860f5..14907301 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -27,7 +27,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_setTyping.md b/old_docs/API_docs_v51/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/messages_startBot.md b/old_docs/API_docs_v51/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/photos_deletePhotos.md b/old_docs/API_docs_v51/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/account_changePhone.md b/old_docs/API_docs_v53/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_checkUsername.md b/old_docs/API_docs_v53/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_deleteAccount.md b/old_docs/API_docs_v53/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getPrivacy.md b/old_docs/API_docs_v53/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_reportPeer.md b/old_docs/API_docs_v53/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_resetAuthorization.md b/old_docs/API_docs_v53/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_setAccountTTL.md b/old_docs/API_docs_v53/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_setPrivacy.md b/old_docs/API_docs_v53/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_unregisterDevice.md b/old_docs/API_docs_v53/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updateProfile.md b/old_docs/API_docs_v53/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updateStatus.md b/old_docs/API_docs_v53/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/account_updateUsername.md b/old_docs/API_docs_v53/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_createChannel.md b/old_docs/API_docs_v53/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_deleteChannel.md b/old_docs/API_docs_v53/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_deleteMessages.md b/old_docs/API_docs_v53/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_editAbout.md b/old_docs/API_docs_v53/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_editAdmin.md b/old_docs/API_docs_v53/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_editPhoto.md b/old_docs/API_docs_v53/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_editTitle.md b/old_docs/API_docs_v53/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_exportInvite.md b/old_docs/API_docs_v53/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_getChannels.md b/old_docs/API_docs_v53/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_getParticipant.md b/old_docs/API_docs_v53/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_joinChannel.md b/old_docs/API_docs_v53/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_leaveChannel.md b/old_docs/API_docs_v53/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_readHistory.md b/old_docs/API_docs_v53/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_reportSpam.md b/old_docs/API_docs_v53/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_toggleInvites.md b/old_docs/API_docs_v53/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/channels_updateUsername.md b/old_docs/API_docs_v53/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_block.md b/old_docs/API_docs_v53/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContact.md b/old_docs/API_docs_v53/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_getContacts.md b/old_docs/API_docs_v53/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_importCard.md b/old_docs/API_docs_v53/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_importContacts.md b/old_docs/API_docs_v53/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/contacts_unblock.md b/old_docs/API_docs_v53/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getAppChangelog.md b/old_docs/API_docs_v53/methods/help_getAppChangelog.md index 840b79f7..7378f490 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -13,7 +13,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsg.md b/old_docs/API_docs_v53/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/invokeWithLayer.md b/old_docs/API_docs_v53/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_createChat.md b/old_docs/API_docs_v53/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_deleteHistory.md b/old_docs/API_docs_v53/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_deleteMessages.md b/old_docs/API_docs_v53/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_editChatTitle.md b/old_docs/API_docs_v53/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessage.md b/old_docs/API_docs_v53/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessages.md b/old_docs/API_docs_v53/methods/messages_forwardMessages.md index 2f6e3856..139f6e9a 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md index 3025db93..eb3094e6 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -31,7 +31,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getChats.md b/old_docs/API_docs_v53/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getDhConfig.md b/old_docs/API_docs_v53/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v53/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getMessages.md b/old_docs/API_docs_v53/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_getStickerSet.md b/old_docs/API_docs_v53/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getStickers.md b/old_docs/API_docs_v53/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_importChatInvite.md b/old_docs/API_docs_v53/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_installStickerSet.md b/old_docs/API_docs_v53/methods/messages_installStickerSet.md index c0b5e3d8..857aa738 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_migrateChat.md b/old_docs/API_docs_v53/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_readHistory.md b/old_docs/API_docs_v53/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_readMessageContents.md b/old_docs/API_docs_v53/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_receivedMessages.md b/old_docs/API_docs_v53/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_receivedQueue.md b/old_docs/API_docs_v53/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v53/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_reportSpam.md b/old_docs/API_docs_v53/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_saveGif.md b/old_docs/API_docs_v53/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_search.md b/old_docs/API_docs_v53/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_searchGifs.md b/old_docs/API_docs_v53/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_searchGlobal.md b/old_docs/API_docs_v53/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_sendMedia.md b/old_docs/API_docs_v53/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md index c81860f5..14907301 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -27,7 +27,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_setTyping.md b/old_docs/API_docs_v53/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/messages_startBot.md b/old_docs/API_docs_v53/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/photos_deletePhotos.md b/old_docs/API_docs_v53/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/account_changePhone.md b/old_docs/API_docs_v55/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_checkUsername.md b/old_docs/API_docs_v55/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_confirmPhone.md b/old_docs/API_docs_v55/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_deleteAccount.md b/old_docs/API_docs_v55/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getPrivacy.md b/old_docs/API_docs_v55/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_reportPeer.md b/old_docs/API_docs_v55/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_resetAuthorization.md b/old_docs/API_docs_v55/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_setAccountTTL.md b/old_docs/API_docs_v55/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_setPrivacy.md b/old_docs/API_docs_v55/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_unregisterDevice.md b/old_docs/API_docs_v55/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updateProfile.md b/old_docs/API_docs_v55/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updateStatus.md b/old_docs/API_docs_v55/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/account_updateUsername.md b/old_docs/API_docs_v55/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_createChannel.md b/old_docs/API_docs_v55/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_deleteChannel.md b/old_docs/API_docs_v55/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_deleteMessages.md b/old_docs/API_docs_v55/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_editAbout.md b/old_docs/API_docs_v55/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_editAdmin.md b/old_docs/API_docs_v55/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_editPhoto.md b/old_docs/API_docs_v55/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_editTitle.md b/old_docs/API_docs_v55/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_exportInvite.md b/old_docs/API_docs_v55/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_getChannels.md b/old_docs/API_docs_v55/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_getParticipant.md b/old_docs/API_docs_v55/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_joinChannel.md b/old_docs/API_docs_v55/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_leaveChannel.md b/old_docs/API_docs_v55/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_readHistory.md b/old_docs/API_docs_v55/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_reportSpam.md b/old_docs/API_docs_v55/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_toggleInvites.md b/old_docs/API_docs_v55/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/channels_updateUsername.md b/old_docs/API_docs_v55/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_block.md b/old_docs/API_docs_v55/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContact.md b/old_docs/API_docs_v55/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_getContacts.md b/old_docs/API_docs_v55/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_importCard.md b/old_docs/API_docs_v55/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_importContacts.md b/old_docs/API_docs_v55/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/contacts_unblock.md b/old_docs/API_docs_v55/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getAppChangelog.md b/old_docs/API_docs_v55/methods/help_getAppChangelog.md index 840b79f7..7378f490 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -13,7 +13,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsg.md b/old_docs/API_docs_v55/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/invokeWithLayer.md b/old_docs/API_docs_v55/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md index d6039212..91c78dbf 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -13,7 +13,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_deleteHistory.md b/old_docs/API_docs_v55/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_deleteMessages.md b/old_docs/API_docs_v55/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_editChatTitle.md b/old_docs/API_docs_v55/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessage.md b/old_docs/API_docs_v55/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessages.md b/old_docs/API_docs_v55/methods/messages_forwardMessages.md index 2f6e3856..139f6e9a 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -50,7 +50,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -70,7 +70,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md index 94d520df..e87ab096 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -19,7 +19,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md index 3025db93..eb3094e6 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -31,7 +31,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getChats.md b/old_docs/API_docs_v55/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getDhConfig.md b/old_docs/API_docs_v55/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v55/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getMessages.md b/old_docs/API_docs_v55/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md index c2af95b6..3316aa66 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -18,7 +18,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_getStickerSet.md b/old_docs/API_docs_v55/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getStickers.md b/old_docs/API_docs_v55/methods/messages_getStickers.md index 5f70bcba..178b897c 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -19,7 +19,7 @@ description: messages.getStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md index b84ffdda..bf29d017 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -18,7 +18,7 @@ description: messages.getUnusedStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getUnusedStickers(['limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_importChatInvite.md b/old_docs/API_docs_v55/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_installStickerSet.md b/old_docs/API_docs_v55/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_migrateChat.md b/old_docs/API_docs_v55/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md index 7a016e4c..81ecee3f 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -13,7 +13,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_readMessageContents.md b/old_docs/API_docs_v55/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_receivedMessages.md b/old_docs/API_docs_v55/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_receivedQueue.md b/old_docs/API_docs_v55/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v55/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index d0e3ca9c..ad5df9fa 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -18,7 +18,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_reportSpam.md b/old_docs/API_docs_v55/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_saveGif.md b/old_docs/API_docs_v55/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md index 8857411a..8e9b0948 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -26,7 +26,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_search.md b/old_docs/API_docs_v55/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_searchGifs.md b/old_docs/API_docs_v55/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_searchGlobal.md b/old_docs/API_docs_v55/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md index 16a244d9..cab26ebe 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -20,7 +20,7 @@ description: messages.sendBroadcast parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_sendMedia.md b/old_docs/API_docs_v55/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md index 81db8afd..1d168e42 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_setTyping.md b/old_docs/API_docs_v55/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/messages_startBot.md b/old_docs/API_docs_v55/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/photos_deletePhotos.md b/old_docs/API_docs_v55/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md index 74f9d4a6..386970d5 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -19,7 +19,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md index fe4392f0..07b9936c 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -31,7 +31,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/account_changePhone.md b/old_docs/API_docs_v57/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_checkUsername.md b/old_docs/API_docs_v57/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_confirmPhone.md b/old_docs/API_docs_v57/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_deleteAccount.md b/old_docs/API_docs_v57/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getPrivacy.md b/old_docs/API_docs_v57/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_reportPeer.md b/old_docs/API_docs_v57/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_resetAuthorization.md b/old_docs/API_docs_v57/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_setAccountTTL.md b/old_docs/API_docs_v57/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_setPrivacy.md b/old_docs/API_docs_v57/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_unregisterDevice.md b/old_docs/API_docs_v57/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updateProfile.md b/old_docs/API_docs_v57/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updateStatus.md b/old_docs/API_docs_v57/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/account_updateUsername.md b/old_docs/API_docs_v57/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_createChannel.md b/old_docs/API_docs_v57/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_deleteChannel.md b/old_docs/API_docs_v57/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_deleteMessages.md b/old_docs/API_docs_v57/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_editAbout.md b/old_docs/API_docs_v57/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_editAdmin.md b/old_docs/API_docs_v57/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_editPhoto.md b/old_docs/API_docs_v57/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_editTitle.md b/old_docs/API_docs_v57/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_exportInvite.md b/old_docs/API_docs_v57/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_getParticipant.md b/old_docs/API_docs_v57/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_joinChannel.md b/old_docs/API_docs_v57/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_leaveChannel.md b/old_docs/API_docs_v57/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_readHistory.md b/old_docs/API_docs_v57/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_reportSpam.md b/old_docs/API_docs_v57/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_toggleInvites.md b/old_docs/API_docs_v57/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/channels_updateUsername.md b/old_docs/API_docs_v57/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_block.md b/old_docs/API_docs_v57/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContact.md b/old_docs/API_docs_v57/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_getContacts.md b/old_docs/API_docs_v57/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_importCard.md b/old_docs/API_docs_v57/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_importContacts.md b/old_docs/API_docs_v57/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/contacts_unblock.md b/old_docs/API_docs_v57/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getAppChangelog.md b/old_docs/API_docs_v57/methods/help_getAppChangelog.md index 840b79f7..7378f490 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -13,7 +13,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsg.md b/old_docs/API_docs_v57/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/invokeWithLayer.md b/old_docs/API_docs_v57/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_createChat.md b/old_docs/API_docs_v57/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_deleteHistory.md b/old_docs/API_docs_v57/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_deleteMessages.md b/old_docs/API_docs_v57/methods/messages_deleteMessages.md index fd6402c6..8df8b1ee 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -25,7 +25,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_editChatTitle.md b/old_docs/API_docs_v57/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessage.md b/old_docs/API_docs_v57/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessages.md b/old_docs/API_docs_v57/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getChats.md b/old_docs/API_docs_v57/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getDhConfig.md b/old_docs/API_docs_v57/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v57/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index ede02f84..b22a7306 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -31,7 +31,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getHistory.md b/old_docs/API_docs_v57/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getMessages.md b/old_docs/API_docs_v57/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_getStickerSet.md b/old_docs/API_docs_v57/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_importChatInvite.md b/old_docs/API_docs_v57/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_installStickerSet.md b/old_docs/API_docs_v57/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_migrateChat.md b/old_docs/API_docs_v57/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_readHistory.md b/old_docs/API_docs_v57/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_readMessageContents.md b/old_docs/API_docs_v57/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_receivedMessages.md b/old_docs/API_docs_v57/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_receivedQueue.md b/old_docs/API_docs_v57/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v57/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_reportSpam.md b/old_docs/API_docs_v57/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_saveGif.md b/old_docs/API_docs_v57/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_search.md b/old_docs/API_docs_v57/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_searchGifs.md b/old_docs/API_docs_v57/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_searchGlobal.md b/old_docs/API_docs_v57/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_sendMedia.md b/old_docs/API_docs_v57/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md index 81db8afd..1d168e42 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -28,7 +28,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_setGameScore.md b/old_docs/API_docs_v57/methods/messages_setGameScore.md index 1a2b1ecb..0a236469 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -30,7 +30,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md index c4a0b3dc..b1825f1d 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -29,7 +29,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_setTyping.md b/old_docs/API_docs_v57/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/messages_startBot.md b/old_docs/API_docs_v57/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/photos_deletePhotos.md b/old_docs/API_docs_v57/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/account_changePhone.md b/old_docs/API_docs_v62/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_checkUsername.md b/old_docs/API_docs_v62/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_confirmPhone.md b/old_docs/API_docs_v62/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_deleteAccount.md b/old_docs/API_docs_v62/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getPrivacy.md b/old_docs/API_docs_v62/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_reportPeer.md b/old_docs/API_docs_v62/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_resetAuthorization.md b/old_docs/API_docs_v62/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_setAccountTTL.md b/old_docs/API_docs_v62/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_setPrivacy.md b/old_docs/API_docs_v62/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_unregisterDevice.md b/old_docs/API_docs_v62/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updateProfile.md b/old_docs/API_docs_v62/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updateStatus.md b/old_docs/API_docs_v62/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/account_updateUsername.md b/old_docs/API_docs_v62/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_createChannel.md b/old_docs/API_docs_v62/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_deleteChannel.md b/old_docs/API_docs_v62/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_deleteMessages.md b/old_docs/API_docs_v62/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_editAbout.md b/old_docs/API_docs_v62/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_editAdmin.md b/old_docs/API_docs_v62/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_editPhoto.md b/old_docs/API_docs_v62/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_editTitle.md b/old_docs/API_docs_v62/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_exportInvite.md b/old_docs/API_docs_v62/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_getParticipant.md b/old_docs/API_docs_v62/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_joinChannel.md b/old_docs/API_docs_v62/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_leaveChannel.md b/old_docs/API_docs_v62/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_readHistory.md b/old_docs/API_docs_v62/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_reportSpam.md b/old_docs/API_docs_v62/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_toggleInvites.md b/old_docs/API_docs_v62/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/channels_updateUsername.md b/old_docs/API_docs_v62/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_block.md b/old_docs/API_docs_v62/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContact.md b/old_docs/API_docs_v62/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_getContacts.md b/old_docs/API_docs_v62/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_importCard.md b/old_docs/API_docs_v62/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_importContacts.md b/old_docs/API_docs_v62/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/contacts_unblock.md b/old_docs/API_docs_v62/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): 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 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index 840b79f7..7378f490 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -13,7 +13,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppChangelog = $MadelineProto->help->getAppChangelog(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/initConnection.md b/old_docs/API_docs_v62/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsg.md b/old_docs/API_docs_v62/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/invokeWithLayer.md b/old_docs/API_docs_v62/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_createChat.md b/old_docs/API_docs_v62/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_deleteHistory.md b/old_docs/API_docs_v62/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_deleteMessages.md b/old_docs/API_docs_v62/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_editChatTitle.md b/old_docs/API_docs_v62/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessage.md b/old_docs/API_docs_v62/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessages.md b/old_docs/API_docs_v62/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getAllChats.md b/old_docs/API_docs_v62/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getChats.md b/old_docs/API_docs_v62/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getCommonChats.md b/old_docs/API_docs_v62/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getDhConfig.md b/old_docs/API_docs_v62/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v62/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getHistory.md b/old_docs/API_docs_v62/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getMessages.md b/old_docs/API_docs_v62/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getStickerSet.md b/old_docs/API_docs_v62/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_getWebPage.md b/old_docs/API_docs_v62/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_importChatInvite.md b/old_docs/API_docs_v62/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_installStickerSet.md b/old_docs/API_docs_v62/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_migrateChat.md b/old_docs/API_docs_v62/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_readHistory.md b/old_docs/API_docs_v62/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_readMessageContents.md b/old_docs/API_docs_v62/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_receivedMessages.md b/old_docs/API_docs_v62/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_receivedQueue.md b/old_docs/API_docs_v62/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v62/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_reportSpam.md b/old_docs/API_docs_v62/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_saveGif.md b/old_docs/API_docs_v62/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_search.md b/old_docs/API_docs_v62/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_searchGifs.md b/old_docs/API_docs_v62/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_searchGlobal.md b/old_docs/API_docs_v62/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_sendMedia.md b/old_docs/API_docs_v62/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_setGameScore.md b/old_docs/API_docs_v62/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_setTyping.md b/old_docs/API_docs_v62/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/messages_startBot.md b/old_docs/API_docs_v62/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/account_changePhone.md b/old_docs/API_docs_v65/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_checkUsername.md b/old_docs/API_docs_v65/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_confirmPhone.md b/old_docs/API_docs_v65/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_deleteAccount.md b/old_docs/API_docs_v65/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getPrivacy.md b/old_docs/API_docs_v65/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getTmpPassword.md b/old_docs/API_docs_v65/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_reportPeer.md b/old_docs/API_docs_v65/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_resetAuthorization.md b/old_docs/API_docs_v65/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_setAccountTTL.md b/old_docs/API_docs_v65/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_setPrivacy.md b/old_docs/API_docs_v65/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_unregisterDevice.md b/old_docs/API_docs_v65/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updateProfile.md b/old_docs/API_docs_v65/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updateStatus.md b/old_docs/API_docs_v65/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/account_updateUsername.md b/old_docs/API_docs_v65/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_checkUsername.md b/old_docs/API_docs_v65/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_createChannel.md b/old_docs/API_docs_v65/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_deleteChannel.md b/old_docs/API_docs_v65/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_deleteMessages.md b/old_docs/API_docs_v65/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_editAbout.md b/old_docs/API_docs_v65/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_editAdmin.md b/old_docs/API_docs_v65/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_editPhoto.md b/old_docs/API_docs_v65/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_editTitle.md b/old_docs/API_docs_v65/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_exportInvite.md b/old_docs/API_docs_v65/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_getParticipant.md b/old_docs/API_docs_v65/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_joinChannel.md b/old_docs/API_docs_v65/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_leaveChannel.md b/old_docs/API_docs_v65/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_readHistory.md b/old_docs/API_docs_v65/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_reportSpam.md b/old_docs/API_docs_v65/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_toggleInvites.md b/old_docs/API_docs_v65/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/channels_updateUsername.md b/old_docs/API_docs_v65/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_block.md b/old_docs/API_docs_v65/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContact.md b/old_docs/API_docs_v65/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_getContacts.md b/old_docs/API_docs_v65/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_importCard.md b/old_docs/API_docs_v65/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_importContacts.md b/old_docs/API_docs_v65/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contacts_unblock.md b/old_docs/API_docs_v65/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/help_getAppChangelog.md b/old_docs/API_docs_v65/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_getAppUpdate.md b/old_docs/API_docs_v65/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/initConnection.md b/old_docs/API_docs_v65/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsg.md b/old_docs/API_docs_v65/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/invokeWithLayer.md b/old_docs/API_docs_v65/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_createChat.md b/old_docs/API_docs_v65/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_deleteHistory.md b/old_docs/API_docs_v65/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_deleteMessages.md b/old_docs/API_docs_v65/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_editChatTitle.md b/old_docs/API_docs_v65/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessage.md b/old_docs/API_docs_v65/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessages.md b/old_docs/API_docs_v65/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getAllChats.md b/old_docs/API_docs_v65/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getChats.md b/old_docs/API_docs_v65/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getCommonChats.md b/old_docs/API_docs_v65/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getDhConfig.md b/old_docs/API_docs_v65/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v65/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getHistory.md b/old_docs/API_docs_v65/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getMessages.md b/old_docs/API_docs_v65/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getStickerSet.md b/old_docs/API_docs_v65/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_getWebPage.md b/old_docs/API_docs_v65/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_importChatInvite.md b/old_docs/API_docs_v65/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_installStickerSet.md b/old_docs/API_docs_v65/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_migrateChat.md b/old_docs/API_docs_v65/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_readHistory.md b/old_docs/API_docs_v65/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_readMessageContents.md b/old_docs/API_docs_v65/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_receivedMessages.md b/old_docs/API_docs_v65/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_receivedQueue.md b/old_docs/API_docs_v65/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v65/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_reportSpam.md b/old_docs/API_docs_v65/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_saveGif.md b/old_docs/API_docs_v65/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_search.md b/old_docs/API_docs_v65/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_searchGifs.md b/old_docs/API_docs_v65/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_searchGlobal.md b/old_docs/API_docs_v65/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_sendMedia.md b/old_docs/API_docs_v65/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_setGameScore.md b/old_docs/API_docs_v65/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_setTyping.md b/old_docs/API_docs_v65/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/messages_startBot.md b/old_docs/API_docs_v65/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/phone_setCallRating.md b/old_docs/API_docs_v65/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/photos_deletePhotos.md b/old_docs/API_docs_v65/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 e3438a12..b0951488 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/req_pq.md b/old_docs/API_docs_v65/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: 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 2bd7a152..c201a02c 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 @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/account_changePhone.md b/old_docs/API_docs_v66/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v66/methods/account_changePhone.md +++ b/old_docs/API_docs_v66/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_checkUsername.md b/old_docs/API_docs_v66/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v66/methods/account_checkUsername.md +++ b/old_docs/API_docs_v66/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_confirmPhone.md b/old_docs/API_docs_v66/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v66/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v66/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_deleteAccount.md b/old_docs/API_docs_v66/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v66/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v66/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getAccountTTL.md b/old_docs/API_docs_v66/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getPassword.md b/old_docs/API_docs_v66/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getPrivacy.md b/old_docs/API_docs_v66/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v66/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getTmpPassword.md b/old_docs/API_docs_v66/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v66/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_getWallPapers.md b/old_docs/API_docs_v66/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_registerDevice.md b/old_docs/API_docs_v66/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v66/methods/account_registerDevice.md +++ b/old_docs/API_docs_v66/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_reportPeer.md b/old_docs/API_docs_v66/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v66/methods/account_reportPeer.md +++ b/old_docs/API_docs_v66/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_resetAuthorization.md b/old_docs/API_docs_v66/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v66/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v66/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_setAccountTTL.md b/old_docs/API_docs_v66/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v66/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_setPrivacy.md b/old_docs/API_docs_v66/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v66/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_unregisterDevice.md b/old_docs/API_docs_v66/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v66/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v66/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updateProfile.md b/old_docs/API_docs_v66/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v66/methods/account_updateProfile.md +++ b/old_docs/API_docs_v66/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updateStatus.md b/old_docs/API_docs_v66/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v66/methods/account_updateStatus.md +++ b/old_docs/API_docs_v66/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/account_updateUsername.md b/old_docs/API_docs_v66/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v66/methods/account_updateUsername.md +++ b/old_docs/API_docs_v66/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_cancelCode.md b/old_docs/API_docs_v66/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v66/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v66/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_checkPhone.md b/old_docs/API_docs_v66/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/auth_recoverPassword.md b/old_docs/API_docs_v66/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v66/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_resendCode.md b/old_docs/API_docs_v66/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v66/methods/auth_resendCode.md +++ b/old_docs/API_docs_v66/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/auth_sendInvites.md b/old_docs/API_docs_v66/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v66/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v66/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_checkUsername.md b/old_docs/API_docs_v66/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v66/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v66/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_createChannel.md b/old_docs/API_docs_v66/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v66/methods/channels_createChannel.md +++ b/old_docs/API_docs_v66/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_deleteChannel.md b/old_docs/API_docs_v66/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v66/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_deleteMessages.md b/old_docs/API_docs_v66/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_editAbout.md b/old_docs/API_docs_v66/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v66/methods/channels_editAbout.md +++ b/old_docs/API_docs_v66/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_editAdmin.md b/old_docs/API_docs_v66/methods/channels_editAdmin.md index 8bf2f7e9..e1917c89 100644 --- a/old_docs/API_docs_v66/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v66/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_editPhoto.md b/old_docs/API_docs_v66/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v66/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v66/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_editTitle.md b/old_docs/API_docs_v66/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v66/methods/channels_editTitle.md +++ b/old_docs/API_docs_v66/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_exportInvite.md b/old_docs/API_docs_v66/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v66/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v66/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_getChannels.md b/old_docs/API_docs_v66/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v66/methods/channels_getChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_getMessages.md b/old_docs/API_docs_v66/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v66/methods/channels_getMessages.md +++ b/old_docs/API_docs_v66/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_getParticipant.md b/old_docs/API_docs_v66/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_joinChannel.md b/old_docs/API_docs_v66/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v66/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v66/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md index db90706b..62370530 100644 --- a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md @@ -20,7 +20,7 @@ description: channels.kickFromChannel parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_leaveChannel.md b/old_docs/API_docs_v66/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v66/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v66/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_readHistory.md b/old_docs/API_docs_v66/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v66/methods/channels_readHistory.md +++ b/old_docs/API_docs_v66/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_reportSpam.md b/old_docs/API_docs_v66/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v66/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v66/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_toggleInvites.md b/old_docs/API_docs_v66/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v66/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/channels_updateUsername.md b/old_docs/API_docs_v66/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v66/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v66/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_block.md b/old_docs/API_docs_v66/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v66/methods/contacts_block.md +++ b/old_docs/API_docs_v66/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContact.md b/old_docs/API_docs_v66/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_exportCard.md b/old_docs/API_docs_v66/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_getBlocked.md b/old_docs/API_docs_v66/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v66/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_getContacts.md b/old_docs/API_docs_v66/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v66/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_getStatuses.md b/old_docs/API_docs_v66/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md index 195d150c..462f8425 100644 --- a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md @@ -12,13 +12,13 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -34,7 +34,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -54,7 +54,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_importCard.md b/old_docs/API_docs_v66/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v66/methods/contacts_importCard.md +++ b/old_docs/API_docs_v66/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_importContacts.md b/old_docs/API_docs_v66/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v66/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_search.md b/old_docs/API_docs_v66/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v66/methods/contacts_search.md +++ b/old_docs/API_docs_v66/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contacts_unblock.md b/old_docs/API_docs_v66/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v66/methods/contacts_unblock.md +++ b/old_docs/API_docs_v66/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/destroy_auth_key.md b/old_docs/API_docs_v66/methods/destroy_auth_key.md index 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v66/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v66/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/destroy_session.md b/old_docs/API_docs_v66/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v66/methods/destroy_session.md +++ b/old_docs/API_docs_v66/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/get_future_salts.md b/old_docs/API_docs_v66/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v66/methods/get_future_salts.md +++ b/old_docs/API_docs_v66/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/help_getAppChangelog.md b/old_docs/API_docs_v66/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v66/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v66/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_getAppUpdate.md b/old_docs/API_docs_v66/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v66/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_getCdnConfig.md b/old_docs/API_docs_v66/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v66/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v66/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/help_getConfig.md b/old_docs/API_docs_v66/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v66/methods/help_getConfig.md +++ b/old_docs/API_docs_v66/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/help_getInviteText.md b/old_docs/API_docs_v66/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v66/methods/help_getInviteText.md +++ b/old_docs/API_docs_v66/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_getNearestDc.md b/old_docs/API_docs_v66/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v66/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v66/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_getSupport.md b/old_docs/API_docs_v66/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v66/methods/help_getSupport.md +++ b/old_docs/API_docs_v66/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_getTermsOfService.md b/old_docs/API_docs_v66/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v66/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_saveAppLog.md b/old_docs/API_docs_v66/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v66/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v66/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/initConnection.md b/old_docs/API_docs_v66/methods/initConnection.md index e6e4a6d9..2d3d86ad 100644 --- a/old_docs/API_docs_v66/methods/initConnection.md +++ b/old_docs/API_docs_v66/methods/initConnection.md @@ -33,7 +33,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsg.md b/old_docs/API_docs_v66/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/invokeWithLayer.md b/old_docs/API_docs_v66/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v66/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v66/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_addChatUser.md b/old_docs/API_docs_v66/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v66/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_createChat.md b/old_docs/API_docs_v66/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v66/methods/messages_createChat.md +++ b/old_docs/API_docs_v66/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_deleteHistory.md b/old_docs/API_docs_v66/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_deleteMessages.md b/old_docs/API_docs_v66/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_editChatTitle.md b/old_docs/API_docs_v66/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v66/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_editMessage.md b/old_docs/API_docs_v66/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessage.md b/old_docs/API_docs_v66/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessages.md b/old_docs/API_docs_v66/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getAllChats.md b/old_docs/API_docs_v66/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getAllStickers.md b/old_docs/API_docs_v66/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getChats.md b/old_docs/API_docs_v66/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v66/methods/messages_getChats.md +++ b/old_docs/API_docs_v66/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getCommonChats.md b/old_docs/API_docs_v66/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v66/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getDhConfig.md b/old_docs/API_docs_v66/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v66/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v66/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getHistory.md b/old_docs/API_docs_v66/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v66/methods/messages_getHistory.md +++ b/old_docs/API_docs_v66/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getMessages.md b/old_docs/API_docs_v66/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessages.md +++ b/old_docs/API_docs_v66/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getStickerSet.md b/old_docs/API_docs_v66/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v66/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_getWebPage.md b/old_docs/API_docs_v66/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_importChatInvite.md b/old_docs/API_docs_v66/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v66/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_installStickerSet.md b/old_docs/API_docs_v66/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v66/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_migrateChat.md b/old_docs/API_docs_v66/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v66/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v66/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_readHistory.md b/old_docs/API_docs_v66/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v66/methods/messages_readHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_readMessageContents.md b/old_docs/API_docs_v66/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v66/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_receivedMessages.md b/old_docs/API_docs_v66/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v66/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_receivedQueue.md b/old_docs/API_docs_v66/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v66/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_reportSpam.md b/old_docs/API_docs_v66/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v66/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_saveGif.md b/old_docs/API_docs_v66/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v66/methods/messages_saveGif.md +++ b/old_docs/API_docs_v66/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_search.md b/old_docs/API_docs_v66/methods/messages_search.md index a59ea798..5fe59e8a 100644 --- a/old_docs/API_docs_v66/methods/messages_search.md +++ b/old_docs/API_docs_v66/methods/messages_search.md @@ -38,7 +38,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_searchGifs.md b/old_docs/API_docs_v66/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_searchGlobal.md b/old_docs/API_docs_v66/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_sendMedia.md b/old_docs/API_docs_v66/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v66/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_sendMessage.md b/old_docs/API_docs_v66/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_setGameScore.md b/old_docs/API_docs_v66/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v66/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_setTyping.md b/old_docs/API_docs_v66/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v66/methods/messages_setTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/messages_startBot.md b/old_docs/API_docs_v66/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v66/methods/messages_startBot.md +++ b/old_docs/API_docs_v66/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/phone_getCallConfig.md b/old_docs/API_docs_v66/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v66/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v66/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/phone_receivedCall.md b/old_docs/API_docs_v66/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v66/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v66/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/phone_setCallRating.md b/old_docs/API_docs_v66/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v66/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v66/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/photos_deletePhotos.md b/old_docs/API_docs_v66/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v66/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v66/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/ping.md b/old_docs/API_docs_v66/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v66/methods/ping.md +++ b/old_docs/API_docs_v66/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/req_DH_params.md b/old_docs/API_docs_v66/methods/req_DH_params.md index 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v66/methods/req_DH_params.md +++ b/old_docs/API_docs_v66/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/req_pq.md b/old_docs/API_docs_v66/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v66/methods/req_pq.md +++ b/old_docs/API_docs_v66/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/rpc_drop_answer.md b/old_docs/API_docs_v66/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v66/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v66/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/set_client_DH_params.md b/old_docs/API_docs_v66/methods/set_client_DH_params.md index 2bd7a152..c201a02c 100644 --- a/old_docs/API_docs_v66/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v66/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v66/methods/upload_getWebFile.md b/old_docs/API_docs_v66/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v66/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v66/methods/users_getUsers.md b/old_docs/API_docs_v66/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v66/methods/users_getUsers.md +++ b/old_docs/API_docs_v66/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/account_changePhone.md b/old_docs/API_docs_v68/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v68/methods/account_changePhone.md +++ b/old_docs/API_docs_v68/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_checkUsername.md b/old_docs/API_docs_v68/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v68/methods/account_checkUsername.md +++ b/old_docs/API_docs_v68/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_confirmPhone.md b/old_docs/API_docs_v68/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v68/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v68/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_deleteAccount.md b/old_docs/API_docs_v68/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v68/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v68/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getAccountTTL.md b/old_docs/API_docs_v68/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v68/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getAuthorizations.md b/old_docs/API_docs_v68/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v68/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v68/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getNotifySettings.md b/old_docs/API_docs_v68/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v68/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getPassword.md b/old_docs/API_docs_v68/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v68/methods/account_getPassword.md +++ b/old_docs/API_docs_v68/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v68/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getPrivacy.md b/old_docs/API_docs_v68/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v68/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getTmpPassword.md b/old_docs/API_docs_v68/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v68/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v68/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_getWallPapers.md b/old_docs/API_docs_v68/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v68/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v68/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_registerDevice.md b/old_docs/API_docs_v68/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v68/methods/account_registerDevice.md +++ b/old_docs/API_docs_v68/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_reportPeer.md b/old_docs/API_docs_v68/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v68/methods/account_reportPeer.md +++ b/old_docs/API_docs_v68/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_resetAuthorization.md b/old_docs/API_docs_v68/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v68/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v68/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_setAccountTTL.md b/old_docs/API_docs_v68/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v68/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_setPrivacy.md b/old_docs/API_docs_v68/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v68/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_unregisterDevice.md b/old_docs/API_docs_v68/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v68/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v68/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updateProfile.md b/old_docs/API_docs_v68/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v68/methods/account_updateProfile.md +++ b/old_docs/API_docs_v68/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updateStatus.md b/old_docs/API_docs_v68/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v68/methods/account_updateStatus.md +++ b/old_docs/API_docs_v68/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/account_updateUsername.md b/old_docs/API_docs_v68/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v68/methods/account_updateUsername.md +++ b/old_docs/API_docs_v68/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_cancelCode.md b/old_docs/API_docs_v68/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v68/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v68/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_checkPhone.md b/old_docs/API_docs_v68/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v68/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v68/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/auth_recoverPassword.md b/old_docs/API_docs_v68/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v68/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v68/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_resendCode.md b/old_docs/API_docs_v68/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v68/methods/auth_resendCode.md +++ b/old_docs/API_docs_v68/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/auth_sendInvites.md b/old_docs/API_docs_v68/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v68/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v68/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_checkUsername.md b/old_docs/API_docs_v68/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v68/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v68/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_createChannel.md b/old_docs/API_docs_v68/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v68/methods/channels_createChannel.md +++ b/old_docs/API_docs_v68/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_deleteChannel.md b/old_docs/API_docs_v68/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v68/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_deleteMessages.md b/old_docs/API_docs_v68/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_editAbout.md b/old_docs/API_docs_v68/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v68/methods/channels_editAbout.md +++ b/old_docs/API_docs_v68/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_editAdmin.md b/old_docs/API_docs_v68/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/old_docs/API_docs_v68/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v68/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_editBanned.md b/old_docs/API_docs_v68/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/old_docs/API_docs_v68/methods/channels_editBanned.md +++ b/old_docs/API_docs_v68/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_editPhoto.md b/old_docs/API_docs_v68/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v68/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v68/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_editTitle.md b/old_docs/API_docs_v68/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v68/methods/channels_editTitle.md +++ b/old_docs/API_docs_v68/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_exportInvite.md b/old_docs/API_docs_v68/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v68/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v68/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_getAdminLog.md b/old_docs/API_docs_v68/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_getChannels.md b/old_docs/API_docs_v68/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v68/methods/channels_getChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_getMessages.md b/old_docs/API_docs_v68/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v68/methods/channels_getMessages.md +++ b/old_docs/API_docs_v68/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_getParticipant.md b/old_docs/API_docs_v68/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_getParticipants.md b/old_docs/API_docs_v68/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_joinChannel.md b/old_docs/API_docs_v68/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v68/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v68/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_leaveChannel.md b/old_docs/API_docs_v68/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v68/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v68/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_readHistory.md b/old_docs/API_docs_v68/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v68/methods/channels_readHistory.md +++ b/old_docs/API_docs_v68/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_reportSpam.md b/old_docs/API_docs_v68/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v68/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v68/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_toggleInvites.md b/old_docs/API_docs_v68/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v68/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/channels_updateUsername.md b/old_docs/API_docs_v68/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v68/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v68/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_block.md b/old_docs/API_docs_v68/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v68/methods/contacts_block.md +++ b/old_docs/API_docs_v68/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContact.md b/old_docs/API_docs_v68/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_exportCard.md b/old_docs/API_docs_v68/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v68/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v68/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_getBlocked.md b/old_docs/API_docs_v68/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v68/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v68/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_getContacts.md b/old_docs/API_docs_v68/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v68/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_getStatuses.md b/old_docs/API_docs_v68/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v68/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v68/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_importCard.md b/old_docs/API_docs_v68/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v68/methods/contacts_importCard.md +++ b/old_docs/API_docs_v68/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_importContacts.md b/old_docs/API_docs_v68/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v68/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_search.md b/old_docs/API_docs_v68/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v68/methods/contacts_search.md +++ b/old_docs/API_docs_v68/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contacts_unblock.md b/old_docs/API_docs_v68/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v68/methods/contacts_unblock.md +++ b/old_docs/API_docs_v68/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/destroy_auth_key.md b/old_docs/API_docs_v68/methods/destroy_auth_key.md index 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v68/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v68/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/destroy_session.md b/old_docs/API_docs_v68/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v68/methods/destroy_session.md +++ b/old_docs/API_docs_v68/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/get_future_salts.md b/old_docs/API_docs_v68/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v68/methods/get_future_salts.md +++ b/old_docs/API_docs_v68/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/help_getAppChangelog.md b/old_docs/API_docs_v68/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v68/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v68/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_getAppUpdate.md b/old_docs/API_docs_v68/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v68/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v68/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_getCdnConfig.md b/old_docs/API_docs_v68/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v68/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v68/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/help_getConfig.md b/old_docs/API_docs_v68/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v68/methods/help_getConfig.md +++ b/old_docs/API_docs_v68/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/help_getInviteText.md b/old_docs/API_docs_v68/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v68/methods/help_getInviteText.md +++ b/old_docs/API_docs_v68/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_getNearestDc.md b/old_docs/API_docs_v68/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v68/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v68/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_getSupport.md b/old_docs/API_docs_v68/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v68/methods/help_getSupport.md +++ b/old_docs/API_docs_v68/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_getTermsOfService.md b/old_docs/API_docs_v68/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v68/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v68/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_saveAppLog.md b/old_docs/API_docs_v68/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v68/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v68/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/initConnection.md b/old_docs/API_docs_v68/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/old_docs/API_docs_v68/methods/initConnection.md +++ b/old_docs/API_docs_v68/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsg.md b/old_docs/API_docs_v68/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/invokeWithLayer.md b/old_docs/API_docs_v68/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v68/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v68/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/langpack_getDifference.md b/old_docs/API_docs_v68/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/old_docs/API_docs_v68/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v68/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/langpack_getLangPack.md b/old_docs/API_docs_v68/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v68/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/langpack_getLanguages.md b/old_docs/API_docs_v68/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v68/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/langpack_getStrings.md b/old_docs/API_docs_v68/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/old_docs/API_docs_v68/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v68/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_addChatUser.md b/old_docs/API_docs_v68/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v68/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_createChat.md b/old_docs/API_docs_v68/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v68/methods/messages_createChat.md +++ b/old_docs/API_docs_v68/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_deleteHistory.md b/old_docs/API_docs_v68/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v68/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_deleteMessages.md b/old_docs/API_docs_v68/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_editChatTitle.md b/old_docs/API_docs_v68/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v68/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_editMessage.md b/old_docs/API_docs_v68/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v68/methods/messages_editMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessage.md b/old_docs/API_docs_v68/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessages.md b/old_docs/API_docs_v68/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getAllChats.md b/old_docs/API_docs_v68/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v68/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getAllStickers.md b/old_docs/API_docs_v68/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getChats.md b/old_docs/API_docs_v68/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v68/methods/messages_getChats.md +++ b/old_docs/API_docs_v68/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getCommonChats.md b/old_docs/API_docs_v68/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v68/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v68/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getDhConfig.md b/old_docs/API_docs_v68/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v68/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v68/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getDialogs.md b/old_docs/API_docs_v68/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v68/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getHistory.md b/old_docs/API_docs_v68/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v68/methods/messages_getHistory.md +++ b/old_docs/API_docs_v68/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getMessages.md b/old_docs/API_docs_v68/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessages.md +++ b/old_docs/API_docs_v68/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getStickerSet.md b/old_docs/API_docs_v68/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v68/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_getWebPage.md b/old_docs/API_docs_v68/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_importChatInvite.md b/old_docs/API_docs_v68/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v68/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_installStickerSet.md b/old_docs/API_docs_v68/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v68/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_migrateChat.md b/old_docs/API_docs_v68/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v68/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v68/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_readHistory.md b/old_docs/API_docs_v68/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v68/methods/messages_readHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_readMessageContents.md b/old_docs/API_docs_v68/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v68/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v68/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_receivedMessages.md b/old_docs/API_docs_v68/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v68/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v68/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_receivedQueue.md b/old_docs/API_docs_v68/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v68/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v68/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_reportSpam.md b/old_docs/API_docs_v68/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v68/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_saveDraft.md b/old_docs/API_docs_v68/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v68/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v68/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_saveGif.md b/old_docs/API_docs_v68/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v68/methods/messages_saveGif.md +++ b/old_docs/API_docs_v68/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_search.md b/old_docs/API_docs_v68/methods/messages_search.md index 00295d82..7b58095a 100644 --- a/old_docs/API_docs_v68/methods/messages_search.md +++ b/old_docs/API_docs_v68/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_searchGifs.md b/old_docs/API_docs_v68/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v68/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_searchGlobal.md b/old_docs/API_docs_v68/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v68/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_sendMedia.md b/old_docs/API_docs_v68/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v68/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_sendMessage.md b/old_docs/API_docs_v68/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v68/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_setGameScore.md b/old_docs/API_docs_v68/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v68/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_setTyping.md b/old_docs/API_docs_v68/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v68/methods/messages_setTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/messages_startBot.md b/old_docs/API_docs_v68/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v68/methods/messages_startBot.md +++ b/old_docs/API_docs_v68/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/messages_uploadMedia.md b/old_docs/API_docs_v68/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/old_docs/API_docs_v68/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v68/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/phone_getCallConfig.md b/old_docs/API_docs_v68/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v68/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v68/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/phone_receivedCall.md b/old_docs/API_docs_v68/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v68/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v68/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/phone_setCallRating.md b/old_docs/API_docs_v68/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v68/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v68/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/photos_deletePhotos.md b/old_docs/API_docs_v68/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v68/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v68/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/ping.md b/old_docs/API_docs_v68/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v68/methods/ping.md +++ b/old_docs/API_docs_v68/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/ping_delay_disconnect.md b/old_docs/API_docs_v68/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/old_docs/API_docs_v68/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v68/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/req_DH_params.md b/old_docs/API_docs_v68/methods/req_DH_params.md index 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v68/methods/req_DH_params.md +++ b/old_docs/API_docs_v68/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/req_pq.md b/old_docs/API_docs_v68/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v68/methods/req_pq.md +++ b/old_docs/API_docs_v68/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/rpc_drop_answer.md b/old_docs/API_docs_v68/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v68/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v68/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/set_client_DH_params.md b/old_docs/API_docs_v68/methods/set_client_DH_params.md index 2bd7a152..c201a02c 100644 --- a/old_docs/API_docs_v68/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v68/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md index 03911fe7..197e2d19 100644 --- a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md index 300a2c70..8dbbd1f3 100644 --- a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v68/methods/upload_getWebFile.md b/old_docs/API_docs_v68/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v68/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v68/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v68/methods/users_getUsers.md b/old_docs/API_docs_v68/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v68/methods/users_getUsers.md +++ b/old_docs/API_docs_v68/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/account_changePhone.md b/old_docs/API_docs_v70/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v70/methods/account_changePhone.md +++ b/old_docs/API_docs_v70/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_checkUsername.md b/old_docs/API_docs_v70/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v70/methods/account_checkUsername.md +++ b/old_docs/API_docs_v70/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_confirmPhone.md b/old_docs/API_docs_v70/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v70/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v70/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_deleteAccount.md b/old_docs/API_docs_v70/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v70/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v70/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getAccountTTL.md b/old_docs/API_docs_v70/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v70/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getAuthorizations.md b/old_docs/API_docs_v70/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v70/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v70/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getNotifySettings.md b/old_docs/API_docs_v70/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v70/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getPassword.md b/old_docs/API_docs_v70/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v70/methods/account_getPassword.md +++ b/old_docs/API_docs_v70/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v70/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getPrivacy.md b/old_docs/API_docs_v70/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v70/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getTmpPassword.md b/old_docs/API_docs_v70/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v70/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v70/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_getWallPapers.md b/old_docs/API_docs_v70/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v70/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v70/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_registerDevice.md b/old_docs/API_docs_v70/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v70/methods/account_registerDevice.md +++ b/old_docs/API_docs_v70/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_reportPeer.md b/old_docs/API_docs_v70/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v70/methods/account_reportPeer.md +++ b/old_docs/API_docs_v70/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_resetAuthorization.md b/old_docs/API_docs_v70/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v70/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v70/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_setAccountTTL.md b/old_docs/API_docs_v70/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v70/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_setPrivacy.md b/old_docs/API_docs_v70/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v70/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_unregisterDevice.md b/old_docs/API_docs_v70/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v70/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v70/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updateProfile.md b/old_docs/API_docs_v70/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v70/methods/account_updateProfile.md +++ b/old_docs/API_docs_v70/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updateStatus.md b/old_docs/API_docs_v70/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v70/methods/account_updateStatus.md +++ b/old_docs/API_docs_v70/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/account_updateUsername.md b/old_docs/API_docs_v70/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v70/methods/account_updateUsername.md +++ b/old_docs/API_docs_v70/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_cancelCode.md b/old_docs/API_docs_v70/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v70/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v70/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_checkPhone.md b/old_docs/API_docs_v70/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v70/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v70/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/auth_recoverPassword.md b/old_docs/API_docs_v70/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v70/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v70/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_resendCode.md b/old_docs/API_docs_v70/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v70/methods/auth_resendCode.md +++ b/old_docs/API_docs_v70/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/auth_sendInvites.md b/old_docs/API_docs_v70/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v70/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v70/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_checkUsername.md b/old_docs/API_docs_v70/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v70/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v70/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_createChannel.md b/old_docs/API_docs_v70/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v70/methods/channels_createChannel.md +++ b/old_docs/API_docs_v70/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_deleteChannel.md b/old_docs/API_docs_v70/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v70/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_deleteMessages.md b/old_docs/API_docs_v70/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_editAbout.md b/old_docs/API_docs_v70/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v70/methods/channels_editAbout.md +++ b/old_docs/API_docs_v70/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_editAdmin.md b/old_docs/API_docs_v70/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/old_docs/API_docs_v70/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v70/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_editBanned.md b/old_docs/API_docs_v70/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/old_docs/API_docs_v70/methods/channels_editBanned.md +++ b/old_docs/API_docs_v70/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_editPhoto.md b/old_docs/API_docs_v70/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v70/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v70/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_editTitle.md b/old_docs/API_docs_v70/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v70/methods/channels_editTitle.md +++ b/old_docs/API_docs_v70/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_exportInvite.md b/old_docs/API_docs_v70/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v70/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v70/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_getAdminLog.md b/old_docs/API_docs_v70/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_getChannels.md b/old_docs/API_docs_v70/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v70/methods/channels_getChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_getMessages.md b/old_docs/API_docs_v70/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v70/methods/channels_getMessages.md +++ b/old_docs/API_docs_v70/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_getParticipant.md b/old_docs/API_docs_v70/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_getParticipants.md b/old_docs/API_docs_v70/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_joinChannel.md b/old_docs/API_docs_v70/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v70/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v70/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_leaveChannel.md b/old_docs/API_docs_v70/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v70/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v70/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_readHistory.md b/old_docs/API_docs_v70/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v70/methods/channels_readHistory.md +++ b/old_docs/API_docs_v70/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_reportSpam.md b/old_docs/API_docs_v70/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v70/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v70/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_toggleInvites.md b/old_docs/API_docs_v70/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v70/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/channels_updateUsername.md b/old_docs/API_docs_v70/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v70/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v70/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_block.md b/old_docs/API_docs_v70/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v70/methods/contacts_block.md +++ b/old_docs/API_docs_v70/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContact.md b/old_docs/API_docs_v70/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_exportCard.md b/old_docs/API_docs_v70/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v70/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v70/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_getBlocked.md b/old_docs/API_docs_v70/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v70/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v70/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_getContacts.md b/old_docs/API_docs_v70/methods/contacts_getContacts.md index 47552bdb..e06b6485 100644 --- a/old_docs/API_docs_v70/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_getStatuses.md b/old_docs/API_docs_v70/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v70/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v70/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_importCard.md b/old_docs/API_docs_v70/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v70/methods/contacts_importCard.md +++ b/old_docs/API_docs_v70/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_importContacts.md b/old_docs/API_docs_v70/methods/contacts_importContacts.md index 67ebd599..0403436b 100644 --- a/old_docs/API_docs_v70/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_importContacts.md @@ -21,7 +21,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_search.md b/old_docs/API_docs_v70/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v70/methods/contacts_search.md +++ b/old_docs/API_docs_v70/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contacts_unblock.md b/old_docs/API_docs_v70/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v70/methods/contacts_unblock.md +++ b/old_docs/API_docs_v70/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/destroy_auth_key.md b/old_docs/API_docs_v70/methods/destroy_auth_key.md index 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v70/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v70/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/destroy_session.md b/old_docs/API_docs_v70/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v70/methods/destroy_session.md +++ b/old_docs/API_docs_v70/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/get_future_salts.md b/old_docs/API_docs_v70/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v70/methods/get_future_salts.md +++ b/old_docs/API_docs_v70/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/help_getAppChangelog.md b/old_docs/API_docs_v70/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v70/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v70/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_getAppUpdate.md b/old_docs/API_docs_v70/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v70/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v70/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_getCdnConfig.md b/old_docs/API_docs_v70/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v70/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v70/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/help_getConfig.md b/old_docs/API_docs_v70/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v70/methods/help_getConfig.md +++ b/old_docs/API_docs_v70/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/help_getInviteText.md b/old_docs/API_docs_v70/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v70/methods/help_getInviteText.md +++ b/old_docs/API_docs_v70/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_getNearestDc.md b/old_docs/API_docs_v70/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v70/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v70/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_getSupport.md b/old_docs/API_docs_v70/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v70/methods/help_getSupport.md +++ b/old_docs/API_docs_v70/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_getTermsOfService.md b/old_docs/API_docs_v70/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v70/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v70/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_saveAppLog.md b/old_docs/API_docs_v70/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v70/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v70/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/initConnection.md b/old_docs/API_docs_v70/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/old_docs/API_docs_v70/methods/initConnection.md +++ b/old_docs/API_docs_v70/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsg.md b/old_docs/API_docs_v70/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/invokeWithLayer.md b/old_docs/API_docs_v70/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v70/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v70/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/langpack_getDifference.md b/old_docs/API_docs_v70/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/old_docs/API_docs_v70/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v70/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/langpack_getLangPack.md b/old_docs/API_docs_v70/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v70/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/langpack_getLanguages.md b/old_docs/API_docs_v70/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v70/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/langpack_getStrings.md b/old_docs/API_docs_v70/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/old_docs/API_docs_v70/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v70/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_addChatUser.md b/old_docs/API_docs_v70/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v70/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_createChat.md b/old_docs/API_docs_v70/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v70/methods/messages_createChat.md +++ b/old_docs/API_docs_v70/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_deleteHistory.md b/old_docs/API_docs_v70/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v70/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_deleteMessages.md b/old_docs/API_docs_v70/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_editChatTitle.md b/old_docs/API_docs_v70/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v70/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_editMessage.md b/old_docs/API_docs_v70/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v70/methods/messages_editMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessage.md b/old_docs/API_docs_v70/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessages.md b/old_docs/API_docs_v70/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getAllChats.md b/old_docs/API_docs_v70/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v70/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getAllStickers.md b/old_docs/API_docs_v70/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getChats.md b/old_docs/API_docs_v70/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v70/methods/messages_getChats.md +++ b/old_docs/API_docs_v70/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getCommonChats.md b/old_docs/API_docs_v70/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v70/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v70/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getDhConfig.md b/old_docs/API_docs_v70/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v70/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v70/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getDialogs.md b/old_docs/API_docs_v70/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v70/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getHistory.md b/old_docs/API_docs_v70/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v70/methods/messages_getHistory.md +++ b/old_docs/API_docs_v70/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getMessages.md b/old_docs/API_docs_v70/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessages.md +++ b/old_docs/API_docs_v70/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getStickerSet.md b/old_docs/API_docs_v70/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v70/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_getWebPage.md b/old_docs/API_docs_v70/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_importChatInvite.md b/old_docs/API_docs_v70/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v70/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_installStickerSet.md b/old_docs/API_docs_v70/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v70/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_migrateChat.md b/old_docs/API_docs_v70/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v70/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v70/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_readHistory.md b/old_docs/API_docs_v70/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v70/methods/messages_readHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_readMessageContents.md b/old_docs/API_docs_v70/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v70/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v70/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_receivedMessages.md b/old_docs/API_docs_v70/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v70/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v70/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_receivedQueue.md b/old_docs/API_docs_v70/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v70/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v70/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_reportSpam.md b/old_docs/API_docs_v70/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v70/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_saveDraft.md b/old_docs/API_docs_v70/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v70/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v70/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_saveGif.md b/old_docs/API_docs_v70/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v70/methods/messages_saveGif.md +++ b/old_docs/API_docs_v70/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_search.md b/old_docs/API_docs_v70/methods/messages_search.md index 00295d82..7b58095a 100644 --- a/old_docs/API_docs_v70/methods/messages_search.md +++ b/old_docs/API_docs_v70/methods/messages_search.md @@ -39,7 +39,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -59,7 +59,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_searchGifs.md b/old_docs/API_docs_v70/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v70/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_searchGlobal.md b/old_docs/API_docs_v70/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v70/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_sendMedia.md b/old_docs/API_docs_v70/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v70/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_sendMessage.md b/old_docs/API_docs_v70/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v70/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md index e786f4be..c9d1d555 100644 --- a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md @@ -26,7 +26,7 @@ description: messages.sendScreenshotNotification parameters, return type and exa |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendScreenshotNotification(['peer' => InputPeer, 'reply_to_msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_setGameScore.md b/old_docs/API_docs_v70/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v70/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_setTyping.md b/old_docs/API_docs_v70/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v70/methods/messages_setTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/messages_startBot.md b/old_docs/API_docs_v70/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v70/methods/messages_startBot.md +++ b/old_docs/API_docs_v70/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/messages_uploadMedia.md b/old_docs/API_docs_v70/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/old_docs/API_docs_v70/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v70/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/phone_getCallConfig.md b/old_docs/API_docs_v70/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v70/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v70/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/phone_receivedCall.md b/old_docs/API_docs_v70/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v70/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v70/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/phone_setCallRating.md b/old_docs/API_docs_v70/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v70/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v70/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/photos_deletePhotos.md b/old_docs/API_docs_v70/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v70/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v70/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/ping.md b/old_docs/API_docs_v70/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v70/methods/ping.md +++ b/old_docs/API_docs_v70/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/ping_delay_disconnect.md b/old_docs/API_docs_v70/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/old_docs/API_docs_v70/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v70/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/req_DH_params.md b/old_docs/API_docs_v70/methods/req_DH_params.md index 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v70/methods/req_DH_params.md +++ b/old_docs/API_docs_v70/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/req_pq.md b/old_docs/API_docs_v70/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v70/methods/req_pq.md +++ b/old_docs/API_docs_v70/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/rpc_drop_answer.md b/old_docs/API_docs_v70/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v70/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v70/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/set_client_DH_params.md b/old_docs/API_docs_v70/methods/set_client_DH_params.md index 2bd7a152..c201a02c 100644 --- a/old_docs/API_docs_v70/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v70/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md index a0947680..a1a663f7 100644 --- a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md index 6a37b6a4..34f85cb0 100644 --- a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v70/methods/upload_getWebFile.md b/old_docs/API_docs_v70/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v70/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v70/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v70/methods/users_getUsers.md b/old_docs/API_docs_v70/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v70/methods/users_getUsers.md +++ b/old_docs/API_docs_v70/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/account_changePhone.md b/old_docs/API_docs_v71/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v71/methods/account_changePhone.md +++ b/old_docs/API_docs_v71/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_checkUsername.md b/old_docs/API_docs_v71/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v71/methods/account_checkUsername.md +++ b/old_docs/API_docs_v71/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_confirmPhone.md b/old_docs/API_docs_v71/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v71/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v71/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_deleteAccount.md b/old_docs/API_docs_v71/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v71/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v71/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getAccountTTL.md b/old_docs/API_docs_v71/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v71/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getAuthorizations.md b/old_docs/API_docs_v71/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v71/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v71/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getNotifySettings.md b/old_docs/API_docs_v71/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v71/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getPassword.md b/old_docs/API_docs_v71/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v71/methods/account_getPassword.md +++ b/old_docs/API_docs_v71/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v71/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getPrivacy.md b/old_docs/API_docs_v71/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v71/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getTmpPassword.md b/old_docs/API_docs_v71/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v71/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v71/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_getWallPapers.md b/old_docs/API_docs_v71/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v71/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v71/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_registerDevice.md b/old_docs/API_docs_v71/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v71/methods/account_registerDevice.md +++ b/old_docs/API_docs_v71/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_reportPeer.md b/old_docs/API_docs_v71/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v71/methods/account_reportPeer.md +++ b/old_docs/API_docs_v71/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_resetAuthorization.md b/old_docs/API_docs_v71/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v71/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v71/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_setAccountTTL.md b/old_docs/API_docs_v71/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v71/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_setPrivacy.md b/old_docs/API_docs_v71/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v71/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_unregisterDevice.md b/old_docs/API_docs_v71/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v71/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v71/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updateProfile.md b/old_docs/API_docs_v71/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v71/methods/account_updateProfile.md +++ b/old_docs/API_docs_v71/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updateStatus.md b/old_docs/API_docs_v71/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v71/methods/account_updateStatus.md +++ b/old_docs/API_docs_v71/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/account_updateUsername.md b/old_docs/API_docs_v71/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v71/methods/account_updateUsername.md +++ b/old_docs/API_docs_v71/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_cancelCode.md b/old_docs/API_docs_v71/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v71/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v71/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_checkPhone.md b/old_docs/API_docs_v71/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v71/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v71/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/auth_recoverPassword.md b/old_docs/API_docs_v71/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v71/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v71/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_resendCode.md b/old_docs/API_docs_v71/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v71/methods/auth_resendCode.md +++ b/old_docs/API_docs_v71/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/auth_sendInvites.md b/old_docs/API_docs_v71/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v71/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v71/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_checkUsername.md b/old_docs/API_docs_v71/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v71/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v71/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_createChannel.md b/old_docs/API_docs_v71/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v71/methods/channels_createChannel.md +++ b/old_docs/API_docs_v71/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_deleteChannel.md b/old_docs/API_docs_v71/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v71/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_deleteMessages.md b/old_docs/API_docs_v71/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_editAbout.md b/old_docs/API_docs_v71/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v71/methods/channels_editAbout.md +++ b/old_docs/API_docs_v71/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_editAdmin.md b/old_docs/API_docs_v71/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/old_docs/API_docs_v71/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v71/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_editBanned.md b/old_docs/API_docs_v71/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/old_docs/API_docs_v71/methods/channels_editBanned.md +++ b/old_docs/API_docs_v71/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_editPhoto.md b/old_docs/API_docs_v71/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v71/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v71/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_editTitle.md b/old_docs/API_docs_v71/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v71/methods/channels_editTitle.md +++ b/old_docs/API_docs_v71/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_exportInvite.md b/old_docs/API_docs_v71/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v71/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v71/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_getAdminLog.md b/old_docs/API_docs_v71/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_getChannels.md b/old_docs/API_docs_v71/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v71/methods/channels_getChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_getMessages.md b/old_docs/API_docs_v71/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v71/methods/channels_getMessages.md +++ b/old_docs/API_docs_v71/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_getParticipant.md b/old_docs/API_docs_v71/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_getParticipants.md b/old_docs/API_docs_v71/methods/channels_getParticipants.md index bfd09c2f..7ec8a980 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipants.md @@ -32,7 +32,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_joinChannel.md b/old_docs/API_docs_v71/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v71/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v71/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_leaveChannel.md b/old_docs/API_docs_v71/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v71/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v71/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_readHistory.md b/old_docs/API_docs_v71/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v71/methods/channels_readHistory.md +++ b/old_docs/API_docs_v71/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_readMessageContents.md b/old_docs/API_docs_v71/methods/channels_readMessageContents.md index d36c4387..8d1d6891 100644 --- a/old_docs/API_docs_v71/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/channels_readMessageContents.md @@ -27,7 +27,7 @@ description: channels.readMessageContents parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readMessageContents(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_reportSpam.md b/old_docs/API_docs_v71/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v71/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v71/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_setStickers.md b/old_docs/API_docs_v71/methods/channels_setStickers.md index 9deb6fa3..1b900e48 100644 --- a/old_docs/API_docs_v71/methods/channels_setStickers.md +++ b/old_docs/API_docs_v71/methods/channels_setStickers.md @@ -27,7 +27,7 @@ description: channels.setStickers parameters, return type and example |PARTICIPANTS_TOO_FEW|Not enough participants| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->setStickers(['channel' => InputChannel, 'stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_toggleInvites.md b/old_docs/API_docs_v71/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v71/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/channels_updateUsername.md b/old_docs/API_docs_v71/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v71/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v71/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_block.md b/old_docs/API_docs_v71/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v71/methods/contacts_block.md +++ b/old_docs/API_docs_v71/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContact.md b/old_docs/API_docs_v71/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_exportCard.md b/old_docs/API_docs_v71/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v71/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v71/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_getBlocked.md b/old_docs/API_docs_v71/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v71/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v71/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_getContacts.md b/old_docs/API_docs_v71/methods/contacts_getContacts.md index 6ccb9545..3e06bea4 100644 --- a/old_docs/API_docs_v71/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_getStatuses.md b/old_docs/API_docs_v71/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v71/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v71/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_importCard.md b/old_docs/API_docs_v71/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v71/methods/contacts_importCard.md +++ b/old_docs/API_docs_v71/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_importContacts.md b/old_docs/API_docs_v71/methods/contacts_importContacts.md index 858715b9..16ecd74b 100644 --- a/old_docs/API_docs_v71/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_importContacts.md @@ -20,7 +20,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_resetSaved.md b/old_docs/API_docs_v71/methods/contacts_resetSaved.md index 7ad65cb1..eb07f34c 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v71/methods/contacts_resetSaved.md @@ -13,7 +13,7 @@ description: contacts.resetSaved parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetSaved(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_search.md b/old_docs/API_docs_v71/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v71/methods/contacts_search.md +++ b/old_docs/API_docs_v71/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contacts_unblock.md b/old_docs/API_docs_v71/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v71/methods/contacts_unblock.md +++ b/old_docs/API_docs_v71/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/destroy_auth_key.md b/old_docs/API_docs_v71/methods/destroy_auth_key.md index 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v71/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v71/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/destroy_session.md b/old_docs/API_docs_v71/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v71/methods/destroy_session.md +++ b/old_docs/API_docs_v71/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/get_future_salts.md b/old_docs/API_docs_v71/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v71/methods/get_future_salts.md +++ b/old_docs/API_docs_v71/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/help_getAppChangelog.md b/old_docs/API_docs_v71/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v71/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v71/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_getAppUpdate.md b/old_docs/API_docs_v71/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v71/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v71/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_getCdnConfig.md b/old_docs/API_docs_v71/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v71/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v71/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/help_getConfig.md b/old_docs/API_docs_v71/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v71/methods/help_getConfig.md +++ b/old_docs/API_docs_v71/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/help_getInviteText.md b/old_docs/API_docs_v71/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v71/methods/help_getInviteText.md +++ b/old_docs/API_docs_v71/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_getNearestDc.md b/old_docs/API_docs_v71/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v71/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v71/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_getSupport.md b/old_docs/API_docs_v71/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v71/methods/help_getSupport.md +++ b/old_docs/API_docs_v71/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_getTermsOfService.md b/old_docs/API_docs_v71/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v71/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v71/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_saveAppLog.md b/old_docs/API_docs_v71/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v71/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v71/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/initConnection.md b/old_docs/API_docs_v71/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/old_docs/API_docs_v71/methods/initConnection.md +++ b/old_docs/API_docs_v71/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsg.md b/old_docs/API_docs_v71/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/invokeWithLayer.md b/old_docs/API_docs_v71/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v71/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v71/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/langpack_getDifference.md b/old_docs/API_docs_v71/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/old_docs/API_docs_v71/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v71/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/langpack_getLangPack.md b/old_docs/API_docs_v71/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v71/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/langpack_getLanguages.md b/old_docs/API_docs_v71/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v71/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/langpack_getStrings.md b/old_docs/API_docs_v71/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/old_docs/API_docs_v71/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v71/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_addChatUser.md b/old_docs/API_docs_v71/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v71/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_createChat.md b/old_docs/API_docs_v71/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v71/methods/messages_createChat.md +++ b/old_docs/API_docs_v71/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_deleteHistory.md b/old_docs/API_docs_v71/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v71/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_deleteMessages.md b/old_docs/API_docs_v71/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_editChatTitle.md b/old_docs/API_docs_v71/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v71/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_editMessage.md b/old_docs/API_docs_v71/methods/messages_editMessage.md index 9245b241..7ea847ed 100644 --- a/old_docs/API_docs_v71/methods/messages_editMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editMessage.md @@ -40,7 +40,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -60,7 +60,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_faveSticker.md b/old_docs/API_docs_v71/methods/messages_faveSticker.md index 12000674..b9d9a033 100644 --- a/old_docs/API_docs_v71/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v71/methods/messages_faveSticker.md @@ -26,7 +26,7 @@ description: messages.faveSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->faveSticker(['id' => InputDocument, 'unfave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessage.md b/old_docs/API_docs_v71/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessages.md b/old_docs/API_docs_v71/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getAllChats.md b/old_docs/API_docs_v71/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v71/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getAllStickers.md b/old_docs/API_docs_v71/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getChats.md b/old_docs/API_docs_v71/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v71/methods/messages_getChats.md +++ b/old_docs/API_docs_v71/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getCommonChats.md b/old_docs/API_docs_v71/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v71/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v71/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getDhConfig.md b/old_docs/API_docs_v71/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v71/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v71/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getDialogs.md b/old_docs/API_docs_v71/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v71/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md index a7a21952..e95d0133 100644 --- a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md @@ -18,7 +18,7 @@ description: messages.getFavedStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getHistory.md b/old_docs/API_docs_v71/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v71/methods/messages_getHistory.md +++ b/old_docs/API_docs_v71/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getMessages.md b/old_docs/API_docs_v71/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessages.md +++ b/old_docs/API_docs_v71/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getStickerSet.md b/old_docs/API_docs_v71/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v71/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md index c63ea824..959c52fc 100644 --- a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md @@ -30,7 +30,7 @@ description: messages.getUnreadMentions parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getWebPage.md b/old_docs/API_docs_v71/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_importChatInvite.md b/old_docs/API_docs_v71/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v71/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_installStickerSet.md b/old_docs/API_docs_v71/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v71/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_migrateChat.md b/old_docs/API_docs_v71/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v71/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v71/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_readHistory.md b/old_docs/API_docs_v71/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v71/methods/messages_readHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_readMessageContents.md b/old_docs/API_docs_v71/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v71/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_receivedMessages.md b/old_docs/API_docs_v71/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v71/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v71/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_receivedQueue.md b/old_docs/API_docs_v71/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v71/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v71/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_reportSpam.md b/old_docs/API_docs_v71/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v71/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_saveDraft.md b/old_docs/API_docs_v71/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v71/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v71/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_saveGif.md b/old_docs/API_docs_v71/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v71/methods/messages_saveGif.md +++ b/old_docs/API_docs_v71/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_search.md b/old_docs/API_docs_v71/methods/messages_search.md index a5aa36bd..67178dac 100644 --- a/old_docs/API_docs_v71/methods/messages_search.md +++ b/old_docs/API_docs_v71/methods/messages_search.md @@ -41,7 +41,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_searchGifs.md b/old_docs/API_docs_v71/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v71/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_searchGlobal.md b/old_docs/API_docs_v71/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v71/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_sendMedia.md b/old_docs/API_docs_v71/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v71/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_sendMessage.md b/old_docs/API_docs_v71/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v71/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md index e786f4be..c9d1d555 100644 --- a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md @@ -26,7 +26,7 @@ description: messages.sendScreenshotNotification parameters, return type and exa |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendScreenshotNotification(['peer' => InputPeer, 'reply_to_msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_setGameScore.md b/old_docs/API_docs_v71/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v71/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_setTyping.md b/old_docs/API_docs_v71/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v71/methods/messages_setTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/messages_startBot.md b/old_docs/API_docs_v71/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v71/methods/messages_startBot.md +++ b/old_docs/API_docs_v71/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/messages_uploadMedia.md b/old_docs/API_docs_v71/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/old_docs/API_docs_v71/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v71/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/phone_getCallConfig.md b/old_docs/API_docs_v71/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v71/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v71/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/phone_receivedCall.md b/old_docs/API_docs_v71/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v71/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v71/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/phone_setCallRating.md b/old_docs/API_docs_v71/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v71/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v71/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/photos_deletePhotos.md b/old_docs/API_docs_v71/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v71/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v71/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/ping.md b/old_docs/API_docs_v71/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v71/methods/ping.md +++ b/old_docs/API_docs_v71/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/ping_delay_disconnect.md b/old_docs/API_docs_v71/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/old_docs/API_docs_v71/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v71/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/req_DH_params.md b/old_docs/API_docs_v71/methods/req_DH_params.md index 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v71/methods/req_DH_params.md +++ b/old_docs/API_docs_v71/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/req_pq.md b/old_docs/API_docs_v71/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v71/methods/req_pq.md +++ b/old_docs/API_docs_v71/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/rpc_drop_answer.md b/old_docs/API_docs_v71/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v71/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v71/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/set_client_DH_params.md b/old_docs/API_docs_v71/methods/set_client_DH_params.md index 2bd7a152..c201a02c 100644 --- a/old_docs/API_docs_v71/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v71/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md index a0947680..a1a663f7 100644 --- a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md index 6a37b6a4..34f85cb0 100644 --- a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v71/methods/upload_getWebFile.md b/old_docs/API_docs_v71/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v71/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v71/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v71/methods/users_getUsers.md b/old_docs/API_docs_v71/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v71/methods/users_getUsers.md +++ b/old_docs/API_docs_v71/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/account_changePhone.md b/old_docs/API_docs_v72/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v72/methods/account_changePhone.md +++ b/old_docs/API_docs_v72/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_checkUsername.md b/old_docs/API_docs_v72/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v72/methods/account_checkUsername.md +++ b/old_docs/API_docs_v72/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_confirmPhone.md b/old_docs/API_docs_v72/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v72/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v72/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_deleteAccount.md b/old_docs/API_docs_v72/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v72/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v72/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getAccountTTL.md b/old_docs/API_docs_v72/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v72/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getAuthorizations.md b/old_docs/API_docs_v72/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v72/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v72/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getNotifySettings.md b/old_docs/API_docs_v72/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v72/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getPassword.md b/old_docs/API_docs_v72/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v72/methods/account_getPassword.md +++ b/old_docs/API_docs_v72/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v72/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getPrivacy.md b/old_docs/API_docs_v72/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v72/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getTmpPassword.md b/old_docs/API_docs_v72/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v72/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v72/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_getWallPapers.md b/old_docs/API_docs_v72/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v72/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v72/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_registerDevice.md b/old_docs/API_docs_v72/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v72/methods/account_registerDevice.md +++ b/old_docs/API_docs_v72/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_reportPeer.md b/old_docs/API_docs_v72/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v72/methods/account_reportPeer.md +++ b/old_docs/API_docs_v72/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_resetAuthorization.md b/old_docs/API_docs_v72/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v72/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v72/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_setAccountTTL.md b/old_docs/API_docs_v72/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v72/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_setPrivacy.md b/old_docs/API_docs_v72/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v72/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_unregisterDevice.md b/old_docs/API_docs_v72/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v72/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v72/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updateProfile.md b/old_docs/API_docs_v72/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v72/methods/account_updateProfile.md +++ b/old_docs/API_docs_v72/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updateStatus.md b/old_docs/API_docs_v72/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v72/methods/account_updateStatus.md +++ b/old_docs/API_docs_v72/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/account_updateUsername.md b/old_docs/API_docs_v72/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v72/methods/account_updateUsername.md +++ b/old_docs/API_docs_v72/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_cancelCode.md b/old_docs/API_docs_v72/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v72/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v72/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_checkPhone.md b/old_docs/API_docs_v72/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v72/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v72/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/auth_recoverPassword.md b/old_docs/API_docs_v72/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v72/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v72/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_resendCode.md b/old_docs/API_docs_v72/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v72/methods/auth_resendCode.md +++ b/old_docs/API_docs_v72/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/auth_sendInvites.md b/old_docs/API_docs_v72/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v72/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v72/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_checkUsername.md b/old_docs/API_docs_v72/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v72/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v72/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_createChannel.md b/old_docs/API_docs_v72/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v72/methods/channels_createChannel.md +++ b/old_docs/API_docs_v72/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_deleteChannel.md b/old_docs/API_docs_v72/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v72/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_deleteHistory.md b/old_docs/API_docs_v72/methods/channels_deleteHistory.md index d77a6a03..35fcf2f1 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteHistory.md @@ -19,7 +19,7 @@ description: channels.deleteHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->deleteHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_deleteMessages.md b/old_docs/API_docs_v72/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_editAbout.md b/old_docs/API_docs_v72/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v72/methods/channels_editAbout.md +++ b/old_docs/API_docs_v72/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_editAdmin.md b/old_docs/API_docs_v72/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/old_docs/API_docs_v72/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v72/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_editBanned.md b/old_docs/API_docs_v72/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/old_docs/API_docs_v72/methods/channels_editBanned.md +++ b/old_docs/API_docs_v72/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_editPhoto.md b/old_docs/API_docs_v72/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v72/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v72/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_editTitle.md b/old_docs/API_docs_v72/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v72/methods/channels_editTitle.md +++ b/old_docs/API_docs_v72/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_exportInvite.md b/old_docs/API_docs_v72/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v72/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v72/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_getAdminLog.md b/old_docs/API_docs_v72/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_getChannels.md b/old_docs/API_docs_v72/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v72/methods/channels_getChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_getMessages.md b/old_docs/API_docs_v72/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v72/methods/channels_getMessages.md +++ b/old_docs/API_docs_v72/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_getParticipant.md b/old_docs/API_docs_v72/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_getParticipants.md b/old_docs/API_docs_v72/methods/channels_getParticipants.md index fb295702..c2716da9 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipants.md @@ -33,7 +33,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_joinChannel.md b/old_docs/API_docs_v72/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v72/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v72/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_leaveChannel.md b/old_docs/API_docs_v72/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v72/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v72/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_readHistory.md b/old_docs/API_docs_v72/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v72/methods/channels_readHistory.md +++ b/old_docs/API_docs_v72/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_readMessageContents.md b/old_docs/API_docs_v72/methods/channels_readMessageContents.md index d36c4387..8d1d6891 100644 --- a/old_docs/API_docs_v72/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/channels_readMessageContents.md @@ -27,7 +27,7 @@ description: channels.readMessageContents parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readMessageContents(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_reportSpam.md b/old_docs/API_docs_v72/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v72/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v72/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_setStickers.md b/old_docs/API_docs_v72/methods/channels_setStickers.md index 9deb6fa3..1b900e48 100644 --- a/old_docs/API_docs_v72/methods/channels_setStickers.md +++ b/old_docs/API_docs_v72/methods/channels_setStickers.md @@ -27,7 +27,7 @@ description: channels.setStickers parameters, return type and example |PARTICIPANTS_TOO_FEW|Not enough participants| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->setStickers(['channel' => InputChannel, 'stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_toggleInvites.md b/old_docs/API_docs_v72/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v72/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md index ab400991..489472b0 100644 --- a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md @@ -19,7 +19,7 @@ description: channels.togglePreHistoryHidden parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->togglePreHistoryHidden(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/channels_updateUsername.md b/old_docs/API_docs_v72/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v72/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v72/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_block.md b/old_docs/API_docs_v72/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v72/methods/contacts_block.md +++ b/old_docs/API_docs_v72/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContact.md b/old_docs/API_docs_v72/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_exportCard.md b/old_docs/API_docs_v72/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v72/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v72/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_getBlocked.md b/old_docs/API_docs_v72/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v72/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v72/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_getContacts.md b/old_docs/API_docs_v72/methods/contacts_getContacts.md index 6ccb9545..3e06bea4 100644 --- a/old_docs/API_docs_v72/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_getStatuses.md b/old_docs/API_docs_v72/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v72/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v72/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_importCard.md b/old_docs/API_docs_v72/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v72/methods/contacts_importCard.md +++ b/old_docs/API_docs_v72/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_importContacts.md b/old_docs/API_docs_v72/methods/contacts_importContacts.md index 858715b9..16ecd74b 100644 --- a/old_docs/API_docs_v72/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_importContacts.md @@ -20,7 +20,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_resetSaved.md b/old_docs/API_docs_v72/methods/contacts_resetSaved.md index 7ad65cb1..eb07f34c 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v72/methods/contacts_resetSaved.md @@ -13,7 +13,7 @@ description: contacts.resetSaved parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetSaved(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_search.md b/old_docs/API_docs_v72/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v72/methods/contacts_search.md +++ b/old_docs/API_docs_v72/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contacts_unblock.md b/old_docs/API_docs_v72/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v72/methods/contacts_unblock.md +++ b/old_docs/API_docs_v72/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md index 1ed74773..19d24a50 100644 --- a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md @@ -22,7 +22,7 @@ description: contest.saveDeveloperInfo parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => 'string', 'phone_number' => 'string', 'age' => int, 'city' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/destroy_auth_key.md b/old_docs/API_docs_v72/methods/destroy_auth_key.md index 0304d9a1..6f545045 100644 --- a/old_docs/API_docs_v72/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v72/methods/destroy_auth_key.md @@ -13,7 +13,7 @@ description: destroy_auth_key parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/destroy_session.md b/old_docs/API_docs_v72/methods/destroy_session.md index 97e5c64e..326e8d8e 100644 --- a/old_docs/API_docs_v72/methods/destroy_session.md +++ b/old_docs/API_docs_v72/methods/destroy_session.md @@ -20,7 +20,7 @@ Destroy the current MTProto session ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/get_future_salts.md b/old_docs/API_docs_v72/methods/get_future_salts.md index 520bfbce..9d4be95e 100644 --- a/old_docs/API_docs_v72/methods/get_future_salts.md +++ b/old_docs/API_docs_v72/methods/get_future_salts.md @@ -20,7 +20,7 @@ Get future salts ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/help_getAppChangelog.md b/old_docs/API_docs_v72/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v72/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v72/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_getAppUpdate.md b/old_docs/API_docs_v72/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v72/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v72/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_getCdnConfig.md b/old_docs/API_docs_v72/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v72/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v72/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/help_getConfig.md b/old_docs/API_docs_v72/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v72/methods/help_getConfig.md +++ b/old_docs/API_docs_v72/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/help_getInviteText.md b/old_docs/API_docs_v72/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v72/methods/help_getInviteText.md +++ b/old_docs/API_docs_v72/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_getNearestDc.md b/old_docs/API_docs_v72/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v72/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v72/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md index 85a777b9..bec8a8e0 100644 --- a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md @@ -18,7 +18,7 @@ description: help.getRecentMeUrls parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/help_getSupport.md b/old_docs/API_docs_v72/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v72/methods/help_getSupport.md +++ b/old_docs/API_docs_v72/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_getTermsOfService.md b/old_docs/API_docs_v72/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v72/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v72/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_saveAppLog.md b/old_docs/API_docs_v72/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v72/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v72/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/initConnection.md b/old_docs/API_docs_v72/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/old_docs/API_docs_v72/methods/initConnection.md +++ b/old_docs/API_docs_v72/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsg.md b/old_docs/API_docs_v72/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/invokeWithLayer.md b/old_docs/API_docs_v72/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v72/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v72/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/langpack_getDifference.md b/old_docs/API_docs_v72/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/old_docs/API_docs_v72/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v72/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/langpack_getLangPack.md b/old_docs/API_docs_v72/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v72/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/langpack_getLanguages.md b/old_docs/API_docs_v72/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v72/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/langpack_getStrings.md b/old_docs/API_docs_v72/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/old_docs/API_docs_v72/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v72/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_addChatUser.md b/old_docs/API_docs_v72/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v72/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_createChat.md b/old_docs/API_docs_v72/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v72/methods/messages_createChat.md +++ b/old_docs/API_docs_v72/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_deleteHistory.md b/old_docs/API_docs_v72/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_deleteMessages.md b/old_docs/API_docs_v72/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_editChatTitle.md b/old_docs/API_docs_v72/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v72/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md index 42e5a485..201736cc 100644 --- a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md @@ -31,7 +31,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_editMessage.md b/old_docs/API_docs_v72/methods/messages_editMessage.md index 1bb0c702..b97fe1c6 100644 --- a/old_docs/API_docs_v72/methods/messages_editMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editMessage.md @@ -42,7 +42,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -62,7 +62,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_faveSticker.md b/old_docs/API_docs_v72/methods/messages_faveSticker.md index 12000674..b9d9a033 100644 --- a/old_docs/API_docs_v72/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v72/methods/messages_faveSticker.md @@ -26,7 +26,7 @@ description: messages.faveSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->faveSticker(['id' => InputDocument, 'unfave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessage.md b/old_docs/API_docs_v72/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessages.md b/old_docs/API_docs_v72/methods/messages_forwardMessages.md index bc2f0995..c8e90c10 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessages.md @@ -51,7 +51,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -71,7 +71,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getAllChats.md b/old_docs/API_docs_v72/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v72/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getAllStickers.md b/old_docs/API_docs_v72/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getChats.md b/old_docs/API_docs_v72/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v72/methods/messages_getChats.md +++ b/old_docs/API_docs_v72/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getCommonChats.md b/old_docs/API_docs_v72/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v72/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v72/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getDhConfig.md b/old_docs/API_docs_v72/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v72/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v72/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getDialogs.md b/old_docs/API_docs_v72/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v72/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md index a7a21952..e95d0133 100644 --- a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md @@ -18,7 +18,7 @@ description: messages.getFavedStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getHistory.md b/old_docs/API_docs_v72/methods/messages_getHistory.md index 46548372..62feee28 100644 --- a/old_docs/API_docs_v72/methods/messages_getHistory.md +++ b/old_docs/API_docs_v72/methods/messages_getHistory.md @@ -36,7 +36,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getMessages.md b/old_docs/API_docs_v72/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessages.md +++ b/old_docs/API_docs_v72/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md index b73fa066..3a8de92f 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md @@ -19,7 +19,7 @@ description: messages.getRecentLocations parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getStickerSet.md b/old_docs/API_docs_v72/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v72/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md index c63ea824..959c52fc 100644 --- a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md @@ -30,7 +30,7 @@ description: messages.getUnreadMentions parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getWebPage.md b/old_docs/API_docs_v72/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_importChatInvite.md b/old_docs/API_docs_v72/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v72/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_installStickerSet.md b/old_docs/API_docs_v72/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v72/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_migrateChat.md b/old_docs/API_docs_v72/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v72/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v72/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_readHistory.md b/old_docs/API_docs_v72/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v72/methods/messages_readHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_readMentions.md b/old_docs/API_docs_v72/methods/messages_readMentions.md index 0fec0465..113657e8 100644 --- a/old_docs/API_docs_v72/methods/messages_readMentions.md +++ b/old_docs/API_docs_v72/methods/messages_readMentions.md @@ -18,7 +18,7 @@ description: messages.readMentions parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_readMessageContents.md b/old_docs/API_docs_v72/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v72/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_receivedMessages.md b/old_docs/API_docs_v72/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v72/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v72/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_receivedQueue.md b/old_docs/API_docs_v72/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v72/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v72/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_reportSpam.md b/old_docs/API_docs_v72/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v72/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_saveDraft.md b/old_docs/API_docs_v72/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v72/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v72/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_saveGif.md b/old_docs/API_docs_v72/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v72/methods/messages_saveGif.md +++ b/old_docs/API_docs_v72/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_search.md b/old_docs/API_docs_v72/methods/messages_search.md index a5aa36bd..67178dac 100644 --- a/old_docs/API_docs_v72/methods/messages_search.md +++ b/old_docs/API_docs_v72/methods/messages_search.md @@ -41,7 +41,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_searchGifs.md b/old_docs/API_docs_v72/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v72/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_searchGlobal.md b/old_docs/API_docs_v72/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v72/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_sendMedia.md b/old_docs/API_docs_v72/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v72/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_sendMessage.md b/old_docs/API_docs_v72/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v72/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md index e786f4be..c9d1d555 100644 --- a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md @@ -26,7 +26,7 @@ description: messages.sendScreenshotNotification parameters, return type and exa |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendScreenshotNotification(['peer' => InputPeer, 'reply_to_msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_setGameScore.md b/old_docs/API_docs_v72/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v72/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_setTyping.md b/old_docs/API_docs_v72/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v72/methods/messages_setTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/messages_startBot.md b/old_docs/API_docs_v72/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v72/methods/messages_startBot.md +++ b/old_docs/API_docs_v72/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/messages_uploadMedia.md b/old_docs/API_docs_v72/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/old_docs/API_docs_v72/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v72/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/phone_getCallConfig.md b/old_docs/API_docs_v72/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v72/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v72/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/phone_receivedCall.md b/old_docs/API_docs_v72/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v72/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v72/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/phone_setCallRating.md b/old_docs/API_docs_v72/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v72/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v72/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/photos_deletePhotos.md b/old_docs/API_docs_v72/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v72/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v72/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/ping.md b/old_docs/API_docs_v72/methods/ping.md index e08de68f..4ad52852 100644 --- a/old_docs/API_docs_v72/methods/ping.md +++ b/old_docs/API_docs_v72/methods/ping.md @@ -20,7 +20,7 @@ pings the server ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/ping_delay_disconnect.md b/old_docs/API_docs_v72/methods/ping_delay_disconnect.md index e3438a12..b0951488 100644 --- a/old_docs/API_docs_v72/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v72/methods/ping_delay_disconnect.md @@ -21,7 +21,7 @@ Pings the server and causes disconection if the same method is not called within ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/req_DH_params.md b/old_docs/API_docs_v72/methods/req_DH_params.md index 8bd36af2..0560d9d4 100644 --- a/old_docs/API_docs_v72/methods/req_DH_params.md +++ b/old_docs/API_docs_v72/methods/req_DH_params.md @@ -25,7 +25,7 @@ Requests Diffie-hellman parameters for key exchange ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => 'string', 'q' => 'string', 'public_key_fingerprint' => long, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/req_pq.md b/old_docs/API_docs_v72/methods/req_pq.md index 170f38d5..72a31c0b 100644 --- a/old_docs/API_docs_v72/methods/req_pq.md +++ b/old_docs/API_docs_v72/methods/req_pq.md @@ -20,7 +20,7 @@ Requests PQ for factorization ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/rpc_drop_answer.md b/old_docs/API_docs_v72/methods/rpc_drop_answer.md index f12fd85f..381d7ee4 100644 --- a/old_docs/API_docs_v72/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v72/methods/rpc_drop_answer.md @@ -20,7 +20,7 @@ Do not send answer to provided request ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/set_client_DH_params.md b/old_docs/API_docs_v72/methods/set_client_DH_params.md index 2bd7a152..c201a02c 100644 --- a/old_docs/API_docs_v72/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v72/methods/set_client_DH_params.md @@ -22,7 +22,7 @@ Sets client diffie-hellman parameters ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md index a0947680..a1a663f7 100644 --- a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md index 6a37b6a4..34f85cb0 100644 --- a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v72/methods/upload_getWebFile.md b/old_docs/API_docs_v72/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v72/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v72/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v72/methods/users_getUsers.md b/old_docs/API_docs_v72/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v72/methods/users_getUsers.md +++ b/old_docs/API_docs_v72/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/account_changePhone.md b/old_docs/API_docs_v73/methods/account_changePhone.md index aed4814e..aeb5c4bc 100644 --- a/old_docs/API_docs_v73/methods/account_changePhone.md +++ b/old_docs/API_docs_v73/methods/account_changePhone.md @@ -29,7 +29,7 @@ Change the phone number associated to this account |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->changePhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_checkUsername.md b/old_docs/API_docs_v73/methods/account_checkUsername.md index d8146536..0124bb38 100644 --- a/old_docs/API_docs_v73/methods/account_checkUsername.md +++ b/old_docs/API_docs_v73/methods/account_checkUsername.md @@ -27,7 +27,7 @@ Check if this username is available |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->checkUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_confirmPhone.md b/old_docs/API_docs_v73/methods/account_confirmPhone.md index e9c724b1..c6a1dba6 100644 --- a/old_docs/API_docs_v73/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v73/methods/account_confirmPhone.md @@ -29,7 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash |PHONE_CODE_EMPTY|phone_code is missing| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_deleteAccount.md b/old_docs/API_docs_v73/methods/account_deleteAccount.md index 43c5a9ca..e8b46c24 100644 --- a/old_docs/API_docs_v73/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v73/methods/account_deleteAccount.md @@ -20,7 +20,7 @@ Delete this account ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->deleteAccount(['reason' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getAccountTTL.md b/old_docs/API_docs_v73/methods/account_getAccountTTL.md index dbf76d9e..0cdd0b98 100644 --- a/old_docs/API_docs_v73/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_getAccountTTL.md @@ -15,7 +15,7 @@ Get account TTL ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getAuthorizations.md b/old_docs/API_docs_v73/methods/account_getAuthorizations.md index 413e4607..f92db8fe 100644 --- a/old_docs/API_docs_v73/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v73/methods/account_getAuthorizations.md @@ -15,7 +15,7 @@ Get all logged-in authorizations ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Authorizations = $MadelineProto->account->getAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getNotifySettings.md b/old_docs/API_docs_v73/methods/account_getNotifySettings.md index 7f4402c9..f00be12c 100644 --- a/old_docs/API_docs_v73/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_getNotifySettings.md @@ -27,7 +27,7 @@ Get notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getPassword.md b/old_docs/API_docs_v73/methods/account_getPassword.md index b342c30e..c189421d 100644 --- a/old_docs/API_docs_v73/methods/account_getPassword.md +++ b/old_docs/API_docs_v73/methods/account_getPassword.md @@ -15,7 +15,7 @@ Get the current password ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $account_Password = $MadelineProto->account->getPassword(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md index 2f295d3a..96cb953e 100644 --- a/old_docs/API_docs_v73/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_getPasswordSettings.md @@ -27,7 +27,7 @@ Get the current 2FA settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getPrivacy.md b/old_docs/API_docs_v73/methods/account_getPrivacy.md index c51136ea..979bfb94 100644 --- a/old_docs/API_docs_v73/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_getPrivacy.md @@ -27,7 +27,7 @@ Get privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getTmpPassword.md b/old_docs/API_docs_v73/methods/account_getTmpPassword.md index fb300173..a90f9b2b 100644 --- a/old_docs/API_docs_v73/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v73/methods/account_getTmpPassword.md @@ -29,7 +29,7 @@ Get temporary password for buying products through bots |TMP_PASSWORD_DISABLED|The temporary password is disabled| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_getWallPapers.md b/old_docs/API_docs_v73/methods/account_getWallPapers.md index 405542ad..89b281be 100644 --- a/old_docs/API_docs_v73/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v73/methods/account_getWallPapers.md @@ -15,7 +15,7 @@ Returns a list of available wallpapers. ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_registerDevice.md b/old_docs/API_docs_v73/methods/account_registerDevice.md index 1e3279b1..cd28abcd 100644 --- a/old_docs/API_docs_v73/methods/account_registerDevice.md +++ b/old_docs/API_docs_v73/methods/account_registerDevice.md @@ -28,7 +28,7 @@ Register device for push notifications |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_reportPeer.md b/old_docs/API_docs_v73/methods/account_reportPeer.md index 7cabf1bf..a07c87d0 100644 --- a/old_docs/API_docs_v73/methods/account_reportPeer.md +++ b/old_docs/API_docs_v73/methods/account_reportPeer.md @@ -28,7 +28,7 @@ Report for spam |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_resetAuthorization.md b/old_docs/API_docs_v73/methods/account_resetAuthorization.md index e134cfa8..4155d3c8 100644 --- a/old_docs/API_docs_v73/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v73/methods/account_resetAuthorization.md @@ -27,7 +27,7 @@ Delete a certain session |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md index b7d492af..ccc836a9 100644 --- a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md @@ -15,7 +15,7 @@ Reset all notification settings ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->resetNotifySettings(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md index df3fde89..c9f9c174 100644 --- a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md @@ -29,7 +29,7 @@ Change the phone number |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md index 136e98c6..3785ba75 100644 --- a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md @@ -29,7 +29,7 @@ Send confirmation phone code |HASH_INVALID|The provided hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_setAccountTTL.md b/old_docs/API_docs_v73/methods/account_setAccountTTL.md index 1a28bc20..5100e62e 100644 --- a/old_docs/API_docs_v73/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_setAccountTTL.md @@ -27,7 +27,7 @@ Set account TTL |TTL_DAYS_INVALID|The provided TTL is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_setPrivacy.md b/old_docs/API_docs_v73/methods/account_setPrivacy.md index 7a6e6c03..fbcedae7 100644 --- a/old_docs/API_docs_v73/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_setPrivacy.md @@ -28,7 +28,7 @@ Set privacy settings |PRIVACY_KEY_INVALID|The privacy key is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_unregisterDevice.md b/old_docs/API_docs_v73/methods/account_unregisterDevice.md index d46359a3..1d2b7670 100644 --- a/old_docs/API_docs_v73/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v73/methods/account_unregisterDevice.md @@ -28,7 +28,7 @@ Stop sending PUSH notifications to app |TOKEN_INVALID|The provided token is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md index 8c72dc9c..ef816501 100644 --- a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md @@ -20,7 +20,7 @@ Disable all notifications for a certain period ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md index f194407d..18cbdb75 100644 --- a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md @@ -28,7 +28,7 @@ Change notification settings |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md index 81ab83b7..0754dd63 100644 --- a/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account_updatePasswordSettings.md @@ -31,7 +31,7 @@ Update the 2FA password settings |PASSWORD_HASH_INVALID|The provided password hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => 'bytes', 'new_settings' => account_PasswordInputSettings, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updateProfile.md b/old_docs/API_docs_v73/methods/account_updateProfile.md index f4335a9e..e24ef2f5 100644 --- a/old_docs/API_docs_v73/methods/account_updateProfile.md +++ b/old_docs/API_docs_v73/methods/account_updateProfile.md @@ -30,7 +30,7 @@ Update profile info |FIRSTNAME_INVALID|The first name is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateProfile(['first_name' => 'string', 'last_name' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updateStatus.md b/old_docs/API_docs_v73/methods/account_updateStatus.md index 3b540874..4b049e65 100644 --- a/old_docs/API_docs_v73/methods/account_updateStatus.md +++ b/old_docs/API_docs_v73/methods/account_updateStatus.md @@ -27,7 +27,7 @@ Update online status |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/account_updateUsername.md b/old_docs/API_docs_v73/methods/account_updateUsername.md index 134342ef..08d2abe0 100644 --- a/old_docs/API_docs_v73/methods/account_updateUsername.md +++ b/old_docs/API_docs_v73/methods/account_updateUsername.md @@ -29,7 +29,7 @@ Update this user's username |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $User = $MadelineProto->account->updateUsername(['username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_cancelCode.md b/old_docs/API_docs_v73/methods/auth_cancelCode.md index 9ddbf819..2ad15548 100644 --- a/old_docs/API_docs_v73/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v73/methods/auth_cancelCode.md @@ -28,7 +28,7 @@ Invalidate sent phone code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->cancelCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_checkPhone.md b/old_docs/API_docs_v73/methods/auth_checkPhone.md index 4e1ffec3..291221de 100644 --- a/old_docs/API_docs_v73/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v73/methods/auth_checkPhone.md @@ -29,7 +29,7 @@ Check if this phone number is registered on telegram |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md index 81bb2ae2..6474bbb3 100644 --- a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md @@ -20,7 +20,7 @@ Delete all temporary authorization keys except the ones provided ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/auth_recoverPassword.md b/old_docs/API_docs_v73/methods/auth_recoverPassword.md index ee539682..cdc9bd7d 100644 --- a/old_docs/API_docs_v73/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v73/methods/auth_recoverPassword.md @@ -27,7 +27,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request |CODE_EMPTY|The provided code is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md index 0786f7ee..e18c6c93 100644 --- a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md @@ -22,7 +22,7 @@ Send an email to recover the 2FA password |PASSWORD_EMPTY|The provided password is empty| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_resendCode.md b/old_docs/API_docs_v73/methods/auth_resendCode.md index 02471563..de437402 100644 --- a/old_docs/API_docs_v73/methods/auth_resendCode.md +++ b/old_docs/API_docs_v73/methods/auth_resendCode.md @@ -28,7 +28,7 @@ Resend the SMS verification code |PHONE_NUMBER_INVALID|The phone number is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md index 525ba2c9..47feea16 100644 --- a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md @@ -22,7 +22,7 @@ Delete all logged-in sessions. |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -42,7 +42,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->resetAuthorizations(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/auth_sendInvites.md b/old_docs/API_docs_v73/methods/auth_sendInvites.md index 6b1d9406..be32fe6b 100644 --- a/old_docs/API_docs_v73/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v73/methods/auth_sendInvites.md @@ -28,7 +28,7 @@ Invite friends to telegram! |MESSAGE_EMPTY|The provided message is empty| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => ['string', 'string'], 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md index ed38c8d9..205b30f9 100644 --- a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md @@ -27,7 +27,7 @@ description: bots.answerWebhookJSONQuery parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md index 0b395c96..590c47b6 100644 --- a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md @@ -26,7 +26,7 @@ description: bots.sendCustomRequest parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => 'string', 'params' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_checkUsername.md b/old_docs/API_docs_v73/methods/channels_checkUsername.md index 01d2409f..371f4cd3 100644 --- a/old_docs/API_docs_v73/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v73/methods/channels_checkUsername.md @@ -28,7 +28,7 @@ description: channels.checkUsername parameters, return type and example |USERNAME_INVALID|The provided username is not valid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_createChannel.md b/old_docs/API_docs_v73/methods/channels_createChannel.md index a28be93f..c5d21585 100644 --- a/old_docs/API_docs_v73/methods/channels_createChannel.md +++ b/old_docs/API_docs_v73/methods/channels_createChannel.md @@ -29,7 +29,7 @@ description: channels.createChannel parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => 'string', 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_deleteChannel.md b/old_docs/API_docs_v73/methods/channels_deleteChannel.md index 153c5b8a..61b29eac 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v73/methods/channels_deleteChannel.md @@ -26,7 +26,7 @@ description: channels.deleteChannel parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_deleteHistory.md b/old_docs/API_docs_v73/methods/channels_deleteHistory.md index d77a6a03..35fcf2f1 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteHistory.md @@ -19,7 +19,7 @@ description: channels.deleteHistory parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->deleteHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_deleteMessages.md b/old_docs/API_docs_v73/methods/channels_deleteMessages.md index 41ec0fd3..87a968c5 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/channels_deleteMessages.md @@ -28,7 +28,7 @@ description: channels.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md index cb79f77c..ee828f45 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md @@ -27,7 +27,7 @@ description: channels.deleteUserHistory parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_editAbout.md b/old_docs/API_docs_v73/methods/channels_editAbout.md index 18078260..94be2503 100644 --- a/old_docs/API_docs_v73/methods/channels_editAbout.md +++ b/old_docs/API_docs_v73/methods/channels_editAbout.md @@ -29,7 +29,7 @@ description: channels.editAbout parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_editAdmin.md b/old_docs/API_docs_v73/methods/channels_editAdmin.md index e3273e7d..08707ff4 100644 --- a/old_docs/API_docs_v73/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v73/methods/channels_editAdmin.md @@ -36,7 +36,7 @@ description: channels.editAdmin parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_editBanned.md b/old_docs/API_docs_v73/methods/channels_editBanned.md index c5ca7f2c..1d896393 100644 --- a/old_docs/API_docs_v73/methods/channels_editBanned.md +++ b/old_docs/API_docs_v73/methods/channels_editBanned.md @@ -31,7 +31,7 @@ description: channels.editBanned parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_editPhoto.md b/old_docs/API_docs_v73/methods/channels_editPhoto.md index fc81a9e3..3a2c794b 100644 --- a/old_docs/API_docs_v73/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v73/methods/channels_editPhoto.md @@ -28,7 +28,7 @@ description: channels.editPhoto parameters, return type and example |PHOTO_INVALID|Photo invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_editTitle.md b/old_docs/API_docs_v73/methods/channels_editTitle.md index d879ddbc..ec60e10f 100644 --- a/old_docs/API_docs_v73/methods/channels_editTitle.md +++ b/old_docs/API_docs_v73/methods/channels_editTitle.md @@ -28,7 +28,7 @@ description: channels.editTitle parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_exportInvite.md b/old_docs/API_docs_v73/methods/channels_exportInvite.md index 9ae0bcea..3c10f832 100644 --- a/old_docs/API_docs_v73/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v73/methods/channels_exportInvite.md @@ -27,7 +27,7 @@ description: channels.exportInvite parameters, return type and example |INVITE_HASH_EXPIRED|The invite link has expired| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md index e0aabc17..924dc0d5 100644 --- a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md @@ -26,7 +26,7 @@ description: channels.exportMessageLink parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_getAdminLog.md b/old_docs/API_docs_v73/methods/channels_getAdminLog.md index 6ea1b86a..0585e157 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminLog.md @@ -33,7 +33,7 @@ description: channels.getAdminLog parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md index 01ea971f..f2b48050 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md @@ -13,7 +13,7 @@ description: channels.getAdminedPublicChannels parameters, return type and examp ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_getChannels.md b/old_docs/API_docs_v73/methods/channels_getChannels.md index e8db92d8..bd5958d6 100644 --- a/old_docs/API_docs_v73/methods/channels_getChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getChannels.md @@ -27,7 +27,7 @@ description: channels.getChannels parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_getMessages.md b/old_docs/API_docs_v73/methods/channels_getMessages.md index 9a97523e..4440856c 100644 --- a/old_docs/API_docs_v73/methods/channels_getMessages.md +++ b/old_docs/API_docs_v73/methods/channels_getMessages.md @@ -28,7 +28,7 @@ description: channels.getMessages parameters, return type and example |MESSAGE_IDS_EMPTY|No message ids were provided| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_getParticipant.md b/old_docs/API_docs_v73/methods/channels_getParticipant.md index ff9d6a3f..c1819b6b 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipant.md @@ -30,7 +30,7 @@ description: channels.getParticipant parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_getParticipants.md b/old_docs/API_docs_v73/methods/channels_getParticipants.md index fb295702..c2716da9 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipants.md @@ -33,7 +33,7 @@ description: channels.getParticipants parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md index 6b4ce177..9bca2967 100644 --- a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md @@ -41,7 +41,7 @@ description: channels.inviteToChannel parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_joinChannel.md b/old_docs/API_docs_v73/methods/channels_joinChannel.md index efda7cbf..9ecdbe75 100644 --- a/old_docs/API_docs_v73/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v73/methods/channels_joinChannel.md @@ -27,7 +27,7 @@ description: channels.joinChannel parameters, return type and example |CHANNELS_TOO_MUCH|You have joined too many channels/supergroups| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_leaveChannel.md b/old_docs/API_docs_v73/methods/channels_leaveChannel.md index c38a6951..62c20a00 100644 --- a/old_docs/API_docs_v73/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v73/methods/channels_leaveChannel.md @@ -29,7 +29,7 @@ description: channels.leaveChannel parameters, return type and example |CHANNEL_PUBLIC_GROUP_NA|channel/supergroup not available| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_readHistory.md b/old_docs/API_docs_v73/methods/channels_readHistory.md index a4fd819b..745893f6 100644 --- a/old_docs/API_docs_v73/methods/channels_readHistory.md +++ b/old_docs/API_docs_v73/methods/channels_readHistory.md @@ -27,7 +27,7 @@ description: channels.readHistory parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_readMessageContents.md b/old_docs/API_docs_v73/methods/channels_readMessageContents.md index d36c4387..8d1d6891 100644 --- a/old_docs/API_docs_v73/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/channels_readMessageContents.md @@ -27,7 +27,7 @@ description: channels.readMessageContents parameters, return type and example |CHANNEL_PRIVATE|You haven't joined this channel/supergroup| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->readMessageContents(['channel' => InputChannel, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_reportSpam.md b/old_docs/API_docs_v73/methods/channels_reportSpam.md index 19e1aad7..47dd7cff 100644 --- a/old_docs/API_docs_v73/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v73/methods/channels_reportSpam.md @@ -28,7 +28,7 @@ description: channels.reportSpam parameters, return type and example |INPUT_USER_DEACTIVATED|The specified user was deleted| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_setStickers.md b/old_docs/API_docs_v73/methods/channels_setStickers.md index 9deb6fa3..1b900e48 100644 --- a/old_docs/API_docs_v73/methods/channels_setStickers.md +++ b/old_docs/API_docs_v73/methods/channels_setStickers.md @@ -27,7 +27,7 @@ description: channels.setStickers parameters, return type and example |PARTICIPANTS_TOO_FEW|Not enough participants| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->setStickers(['channel' => InputChannel, 'stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_toggleInvites.md b/old_docs/API_docs_v73/methods/channels_toggleInvites.md index f18ea3c2..b6771ed3 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v73/methods/channels_toggleInvites.md @@ -28,7 +28,7 @@ description: channels.toggleInvites parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md index ab400991..489472b0 100644 --- a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md @@ -19,7 +19,7 @@ description: channels.togglePreHistoryHidden parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->togglePreHistoryHidden(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md index 1b8832f0..e8ff70a8 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md @@ -26,7 +26,7 @@ description: channels.toggleSignatures parameters, return type and example |CHANNEL_INVALID|The provided channel is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md index 76b894cd..7a14b68b 100644 --- a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md @@ -30,7 +30,7 @@ description: channels.updatePinnedMessage parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/channels_updateUsername.md b/old_docs/API_docs_v73/methods/channels_updateUsername.md index 1ff50d6c..19647598 100644 --- a/old_docs/API_docs_v73/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v73/methods/channels_updateUsername.md @@ -30,7 +30,7 @@ description: channels.updateUsername parameters, return type and example |USERNAME_OCCUPIED|The provided username is already occupied| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_block.md b/old_docs/API_docs_v73/methods/contacts_block.md index e647b97d..d0729d30 100644 --- a/old_docs/API_docs_v73/methods/contacts_block.md +++ b/old_docs/API_docs_v73/methods/contacts_block.md @@ -27,7 +27,7 @@ Block a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContact.md b/old_docs/API_docs_v73/methods/contacts_deleteContact.md index eda39b04..b8c17544 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContact.md @@ -27,7 +27,7 @@ Delete a contact |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md index c3d6a5fb..64c69460 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md @@ -28,7 +28,7 @@ Delete multiple contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_exportCard.md b/old_docs/API_docs_v73/methods/contacts_exportCard.md index c39814b4..b05f57ce 100644 --- a/old_docs/API_docs_v73/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v73/methods/contacts_exportCard.md @@ -15,7 +15,7 @@ Export contact as card ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->contacts->exportCard(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_getBlocked.md b/old_docs/API_docs_v73/methods/contacts_getBlocked.md index efbce54f..d7d8c5cc 100644 --- a/old_docs/API_docs_v73/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v73/methods/contacts_getBlocked.md @@ -21,7 +21,7 @@ Get blocked users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_getContacts.md b/old_docs/API_docs_v73/methods/contacts_getContacts.md index 6ccb9545..3e06bea4 100644 --- a/old_docs/API_docs_v73/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_getContacts.md @@ -20,7 +20,7 @@ Get info about a certain contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_getStatuses.md b/old_docs/API_docs_v73/methods/contacts_getStatuses.md index 20b348a2..b927a140 100644 --- a/old_docs/API_docs_v73/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v73/methods/contacts_getStatuses.md @@ -15,7 +15,7 @@ Get online status of all users ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -35,7 +35,7 @@ $MadelineProto->start(); $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md index 4c2af1fe..7fa3e931 100644 --- a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md @@ -12,14 +12,14 @@ Get most used chats | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|| -|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|| -|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|| -|groups|[CLICK ME Bool](../types/Bool.md) | Optional|| -|channels|[CLICK ME Bool](../types/Bool.md) | Optional|| -|offset|[CLICK ME int](../types/int.md) | Yes|| -|limit|[CLICK ME int](../types/int.md) | Yes|| +|correspondents|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch users?| +|bots\_pm|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch bots?| +|bots\_inline|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch inline bots?| +|phone\_calls|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch phone calls?| +|groups|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch groups?| +|channels|[CLICK ME Bool](../types/Bool.md) | Optional|Fetch channels and supergroups?| +|offset|[CLICK ME int](../types/int.md) | Yes|Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];`| +|limit|[CLICK ME int](../types/int.md) | Yes|How many results to fetch| |hash|[CLICK ME int](../types/int.md) | Yes|| @@ -35,7 +35,7 @@ Get most used chats |TYPES_EMPTY|The types field is empty| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_importCard.md b/old_docs/API_docs_v73/methods/contacts_importCard.md index cf218a42..81a1e138 100644 --- a/old_docs/API_docs_v73/methods/contacts_importCard.md +++ b/old_docs/API_docs_v73/methods/contacts_importCard.md @@ -28,7 +28,7 @@ Import card as contact |NEED_MEMBER_INVALID|The provided member is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $User = $MadelineProto->contacts->importCard(['export_card' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_importContacts.md b/old_docs/API_docs_v73/methods/contacts_importContacts.md index 858715b9..16ecd74b 100644 --- a/old_docs/API_docs_v73/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_importContacts.md @@ -20,7 +20,7 @@ Add phone number as contact ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_resetSaved.md b/old_docs/API_docs_v73/methods/contacts_resetSaved.md index 7ad65cb1..eb07f34c 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v73/methods/contacts_resetSaved.md @@ -13,7 +13,7 @@ description: contacts.resetSaved parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetSaved(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md index ee6d382b..a1da33bb 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md @@ -26,7 +26,7 @@ description: contacts.resetTopPeerRating parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_search.md b/old_docs/API_docs_v73/methods/contacts_search.md index 778a7aae..68daecd6 100644 --- a/old_docs/API_docs_v73/methods/contacts_search.md +++ b/old_docs/API_docs_v73/methods/contacts_search.md @@ -30,7 +30,7 @@ Search contacts |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/contacts_unblock.md b/old_docs/API_docs_v73/methods/contacts_unblock.md index 755cf9fb..f7d151b9 100644 --- a/old_docs/API_docs_v73/methods/contacts_unblock.md +++ b/old_docs/API_docs_v73/methods/contacts_unblock.md @@ -27,7 +27,7 @@ Unblock a user |CONTACT_ID_INVALID|The provided contact ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getAppChangelog.md b/old_docs/API_docs_v73/methods/help_getAppChangelog.md index c141705d..ea7192f6 100644 --- a/old_docs/API_docs_v73/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v73/methods/help_getAppChangelog.md @@ -18,7 +18,7 @@ description: help.getAppChangelog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getAppUpdate.md b/old_docs/API_docs_v73/methods/help_getAppUpdate.md index 0e227d24..ef72cce2 100644 --- a/old_docs/API_docs_v73/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v73/methods/help_getAppUpdate.md @@ -13,7 +13,7 @@ description: help.getAppUpdate parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_AppUpdate = $MadelineProto->help->getAppUpdate(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getCdnConfig.md b/old_docs/API_docs_v73/methods/help_getCdnConfig.md index ba2a6c9a..55a6e6fd 100644 --- a/old_docs/API_docs_v73/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v73/methods/help_getCdnConfig.md @@ -20,7 +20,7 @@ description: help.getCdnConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $CdnConfig = $MadelineProto->help->getCdnConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/help_getConfig.md b/old_docs/API_docs_v73/methods/help_getConfig.md index 6ab9ce4f..885ad5d3 100644 --- a/old_docs/API_docs_v73/methods/help_getConfig.md +++ b/old_docs/API_docs_v73/methods/help_getConfig.md @@ -20,7 +20,7 @@ description: help.getConfig parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Config = $MadelineProto->help->getConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/help_getInviteText.md b/old_docs/API_docs_v73/methods/help_getInviteText.md index a8d8992e..101ead40 100644 --- a/old_docs/API_docs_v73/methods/help_getInviteText.md +++ b/old_docs/API_docs_v73/methods/help_getInviteText.md @@ -13,7 +13,7 @@ description: help.getInviteText parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_InviteText = $MadelineProto->help->getInviteText(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getNearestDc.md b/old_docs/API_docs_v73/methods/help_getNearestDc.md index 4e6271fa..6196890b 100644 --- a/old_docs/API_docs_v73/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v73/methods/help_getNearestDc.md @@ -13,7 +13,7 @@ description: help.getNearestDc parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $NearestDc = $MadelineProto->help->getNearestDc(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md index 85a777b9..bec8a8e0 100644 --- a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md @@ -18,7 +18,7 @@ description: help.getRecentMeUrls parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/help_getSupport.md b/old_docs/API_docs_v73/methods/help_getSupport.md index c2c65c1c..9b269f78 100644 --- a/old_docs/API_docs_v73/methods/help_getSupport.md +++ b/old_docs/API_docs_v73/methods/help_getSupport.md @@ -13,7 +13,7 @@ description: help.getSupport parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_Support = $MadelineProto->help->getSupport(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_getTermsOfService.md b/old_docs/API_docs_v73/methods/help_getTermsOfService.md index a588e830..f63807ab 100644 --- a/old_docs/API_docs_v73/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v73/methods/help_getTermsOfService.md @@ -13,7 +13,7 @@ description: help.getTermsOfService parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $help_TermsOfService = $MadelineProto->help->getTermsOfService(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_saveAppLog.md b/old_docs/API_docs_v73/methods/help_saveAppLog.md index 9bd592b5..af6e94e2 100644 --- a/old_docs/API_docs_v73/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v73/methods/help_saveAppLog.md @@ -18,7 +18,7 @@ description: help.saveAppLog parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent, InputAppEvent], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md index 702da826..3351fab4 100644 --- a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md @@ -19,7 +19,7 @@ description: help.setBotUpdatesStatus parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/initConnection.md b/old_docs/API_docs_v73/methods/initConnection.md index e46a548b..d1d725e7 100644 --- a/old_docs/API_docs_v73/methods/initConnection.md +++ b/old_docs/API_docs_v73/methods/initConnection.md @@ -35,7 +35,7 @@ Initializes connection and save information on the user's device and application |INPUT_FETCH_FAIL|Failed deserializing TL payload| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'system_lang_code' => 'string', 'lang_pack' => 'string', 'lang_code' => 'string', 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsg.md b/old_docs/API_docs_v73/methods/invokeAfterMsg.md index 070f9226..e33a2c93 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsg.md @@ -21,7 +21,7 @@ Invokes a query after successfull completion of one of the previous queries. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md index c178b9fe..3150a613 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md @@ -21,7 +21,7 @@ Result type returned by a current query. ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -41,7 +41,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long, long], 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/invokeWithLayer.md b/old_docs/API_docs_v73/methods/invokeWithLayer.md index 7c973581..71d02abb 100644 --- a/old_docs/API_docs_v73/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v73/methods/invokeWithLayer.md @@ -38,7 +38,7 @@ Invoke this method with layer X |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -58,7 +58,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md index bd567141..2bab236a 100644 --- a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md @@ -20,7 +20,7 @@ Invoke with method without returning updates in the socket ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/langpack_getDifference.md b/old_docs/API_docs_v73/methods/langpack_getDifference.md index b092b486..80ee797a 100644 --- a/old_docs/API_docs_v73/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v73/methods/langpack_getDifference.md @@ -25,7 +25,7 @@ description: langpack.getDifference parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/langpack_getLangPack.md b/old_docs/API_docs_v73/methods/langpack_getLangPack.md index 28a07ea2..78a01874 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v73/methods/langpack_getLangPack.md @@ -25,7 +25,7 @@ description: langpack.getLangPack parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/langpack_getLanguages.md b/old_docs/API_docs_v73/methods/langpack_getLanguages.md index 8afce13f..4b3ef0bb 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v73/methods/langpack_getLanguages.md @@ -20,7 +20,7 @@ description: langpack.getLanguages parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/langpack_getStrings.md b/old_docs/API_docs_v73/methods/langpack_getStrings.md index a4c21e9b..0e4457f2 100644 --- a/old_docs/API_docs_v73/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v73/methods/langpack_getStrings.md @@ -26,7 +26,7 @@ description: langpack.getStrings parameters, return type and example |LANG_PACK_INVALID|The provided language pack is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => 'string', 'keys' => ['string', 'string'], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_addChatUser.md b/old_docs/API_docs_v73/methods/messages_addChatUser.md index b3fb3673..f7b6d3ed 100644 --- a/old_docs/API_docs_v73/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_addChatUser.md @@ -35,7 +35,7 @@ description: messages.addChatUser parameters, return type and example |USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this| -### Example: +### MadelineProto Example: ``` @@ -55,7 +55,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md index ecc67a19..4ddf5084 100644 --- a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md @@ -27,7 +27,7 @@ description: messages.checkChatInvite parameters, return type and example |INVITE_HASH_INVALID|The invite hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md index 00d81839..f017087f 100644 --- a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md @@ -18,7 +18,7 @@ description: messages.clearRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_createChat.md b/old_docs/API_docs_v73/methods/messages_createChat.md index 31a41b3b..70aaad74 100644 --- a/old_docs/API_docs_v73/methods/messages_createChat.md +++ b/old_docs/API_docs_v73/methods/messages_createChat.md @@ -27,7 +27,7 @@ description: messages.createChat parameters, return type and example |USER_RESTRICTED|You're spamreported, you can't create channels or chats.| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md index 7065993b..872a13f6 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md @@ -28,7 +28,7 @@ description: messages.deleteChatUser parameters, return type and example |USER_NOT_PARTICIPANT|You're not a member of this supergroup/channel| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_deleteHistory.md b/old_docs/API_docs_v73/methods/messages_deleteHistory.md index ff2f5471..4bd5a015 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/messages_deleteHistory.md @@ -27,7 +27,7 @@ description: messages.deleteHistory parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_deleteMessages.md b/old_docs/API_docs_v73/methods/messages_deleteMessages.md index 5e0f1ad1..f2926938 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/messages_deleteMessages.md @@ -26,7 +26,7 @@ description: messages.deleteMessages parameters, return type and example |MESSAGE_DELETE_FORBIDDEN|You can't delete one of the messages you tried to delete, most likely because it is a service message.| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md index 649c6fcb..6bc8f9ae 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md @@ -27,7 +27,7 @@ description: messages.editChatAdmin parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md index de2caa45..08262838 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md @@ -30,7 +30,7 @@ description: messages.editChatPhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_editChatTitle.md b/old_docs/API_docs_v73/methods/messages_editChatTitle.md index 30a031a1..c472293b 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v73/methods/messages_editChatTitle.md @@ -27,7 +27,7 @@ description: messages.editChatTitle parameters, return type and example |NEED_CHAT_INVALID|The provided chat is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md index 8ae22d93..46ff9536 100644 --- a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md @@ -33,7 +33,7 @@ description: messages.editInlineBotMessage parameters, return type and example |MESSAGE_NOT_MODIFIED|The message text has not changed| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'id' => InputBotInlineMessageID, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_editMessage.md b/old_docs/API_docs_v73/methods/messages_editMessage.md index 1bb0c702..b97fe1c6 100644 --- a/old_docs/API_docs_v73/methods/messages_editMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editMessage.md @@ -42,7 +42,7 @@ description: messages.editMessage parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -62,7 +62,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md index b6d6aacc..74d70c21 100644 --- a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md @@ -25,7 +25,7 @@ description: messages.exportChatInvite parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_faveSticker.md b/old_docs/API_docs_v73/methods/messages_faveSticker.md index 12000674..b9d9a033 100644 --- a/old_docs/API_docs_v73/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v73/methods/messages_faveSticker.md @@ -26,7 +26,7 @@ description: messages.faveSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->faveSticker(['id' => InputDocument, 'unfave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessage.md b/old_docs/API_docs_v73/methods/messages_forwardMessage.md index bd27a8b5..64c010fe 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessage.md @@ -29,7 +29,7 @@ description: messages.forwardMessage parameters, return type and example |YOU_BLOCKED_USER|You blocked this user| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessages.md b/old_docs/API_docs_v73/methods/messages_forwardMessages.md index 9992b7ef..9f67e471 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessages.md @@ -52,7 +52,7 @@ description: messages.forwardMessages parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'grouped' => Bool, 'from_peer' => InputPeer, 'id' => [int, int], 'to_peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getAllChats.md b/old_docs/API_docs_v73/methods/messages_getAllChats.md index 5a5ce6da..4b87df49 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v73/methods/messages_getAllChats.md @@ -18,7 +18,7 @@ description: messages.getAllChats parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md index 7f0f7843..a5dd59f6 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md @@ -13,7 +13,7 @@ description: messages.getAllDrafts parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->getAllDrafts(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getAllStickers.md b/old_docs/API_docs_v73/methods/messages_getAllStickers.md index b30ea741..575fcd49 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAllStickers.md @@ -18,7 +18,7 @@ description: messages.getAllStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md index 2c1f1f95..1b4aaa93 100644 --- a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md @@ -20,7 +20,7 @@ description: messages.getArchivedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -40,7 +40,7 @@ $MadelineProto->start(); $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md index 5a1374c5..a0d89b31 100644 --- a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md @@ -18,7 +18,7 @@ description: messages.getAttachedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md index f477f013..7ccd0d1b 100644 --- a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md @@ -32,7 +32,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getChats.md b/old_docs/API_docs_v73/methods/messages_getChats.md index 748a08ee..d55b5e0d 100644 --- a/old_docs/API_docs_v73/methods/messages_getChats.md +++ b/old_docs/API_docs_v73/methods/messages_getChats.md @@ -26,7 +26,7 @@ description: messages.getChats parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getCommonChats.md b/old_docs/API_docs_v73/methods/messages_getCommonChats.md index 370930d7..a57d7f5a 100644 --- a/old_docs/API_docs_v73/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v73/methods/messages_getCommonChats.md @@ -27,7 +27,7 @@ description: messages.getCommonChats parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getDhConfig.md b/old_docs/API_docs_v73/methods/messages_getDhConfig.md index 717917c3..685e24ba 100644 --- a/old_docs/API_docs_v73/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v73/methods/messages_getDhConfig.md @@ -26,7 +26,7 @@ description: messages.getDhConfig parameters, return type and example |RANDOM_LENGTH_INVALID|Random length invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getDialogs.md b/old_docs/API_docs_v73/methods/messages_getDialogs.md index dca266c6..34bc4c30 100644 --- a/old_docs/API_docs_v73/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getDialogs.md @@ -32,7 +32,7 @@ description: messages.getDialogs parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md index 14e3e5bd..b7c45398 100644 --- a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md @@ -27,7 +27,7 @@ description: messages.getDocumentByHash parameters, return type and example |SHA256_HASH_INVALID|The provided SHA256 hash is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => 'bytes', 'size' => int, 'mime_type' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md index a7a21952..e95d0133 100644 --- a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md @@ -18,7 +18,7 @@ description: messages.getFavedStickers parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md index 9e8c4eaf..88b5609c 100644 --- a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.getFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md index 39d1e406..2c95af05 100644 --- a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md @@ -28,7 +28,7 @@ description: messages.getGameHighScores parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getHistory.md b/old_docs/API_docs_v73/methods/messages_getHistory.md index 900a9d25..b145426a 100644 --- a/old_docs/API_docs_v73/methods/messages_getHistory.md +++ b/old_docs/API_docs_v73/methods/messages_getHistory.md @@ -37,7 +37,7 @@ description: messages.getHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md index fcbe281d..5b2bb254 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md @@ -32,7 +32,7 @@ description: messages.getInlineBotResults parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -52,7 +52,7 @@ $MadelineProto->start(); $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md index 5f3e774a..447a55dd 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md @@ -27,7 +27,7 @@ description: messages.getInlineGameHighScores parameters, return type and exampl |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md index 018e5c6b..80c16471 100644 --- a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md @@ -18,7 +18,7 @@ description: messages.getMaskStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md index 9f02a9c9..339678bd 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md @@ -27,7 +27,7 @@ description: messages.getMessageEditData parameters, return type and example |MESSAGE_AUTHOR_REQUIRED|Message author required| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getMessages.md b/old_docs/API_docs_v73/methods/messages_getMessages.md index 8731bc2e..61120cdd 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessages.md +++ b/old_docs/API_docs_v73/methods/messages_getMessages.md @@ -18,7 +18,7 @@ description: messages.getMessages parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md index 4303c424..e3f4e4ea 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md @@ -29,7 +29,7 @@ description: messages.getMessagesViews parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int, int], 'increment' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md index eff29878..fe8a821c 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md @@ -26,7 +26,7 @@ description: messages.getPeerDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md index 25906b73..c269edac 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md @@ -26,7 +26,7 @@ description: messages.getPeerSettings parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md index e5499df7..99ff5651 100644 --- a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md @@ -13,7 +13,7 @@ description: messages.getPinnedDialogs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md index b73fa066..3a8de92f 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md @@ -19,7 +19,7 @@ description: messages.getRecentLocations parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md index 6ec71d0e..abab7f44 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md @@ -19,7 +19,7 @@ description: messages.getRecentStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md index 7545b642..08dc4be6 100644 --- a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md @@ -18,7 +18,7 @@ description: messages.getSavedGifs parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getStickerSet.md b/old_docs/API_docs_v73/methods/messages_getStickerSet.md index ffaf7350..70bdd9ba 100644 --- a/old_docs/API_docs_v73/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_getStickerSet.md @@ -25,7 +25,7 @@ description: messages.getStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md index c63ea824..959c52fc 100644 --- a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md @@ -30,7 +30,7 @@ description: messages.getUnreadMentions parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getWebPage.md b/old_docs/API_docs_v73/methods/messages_getWebPage.md index 9e39b988..b29e5d25 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPage.md @@ -26,7 +26,7 @@ description: messages.getWebPage parameters, return type and example |WC_CONVERT_URL_INVALID|WC convert URL invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $WebPage = $MadelineProto->messages->getWebPage(['url' => 'string', 'hash' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md index 9407e556..35243c9f 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md @@ -18,7 +18,7 @@ description: messages.getWebPagePreview parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md index 0419ec79..2cca8302 100644 --- a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md @@ -25,7 +25,7 @@ description: messages.hideReportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_importChatInvite.md b/old_docs/API_docs_v73/methods/messages_importChatInvite.md index 09ff05b1..2bea5247 100644 --- a/old_docs/API_docs_v73/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_importChatInvite.md @@ -31,7 +31,7 @@ description: messages.importChatInvite parameters, return type and example |SESSION_PASSWORD_NEEDED|2FA is enabled, use a password to login| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->importChatInvite(['hash' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_installStickerSet.md b/old_docs/API_docs_v73/methods/messages_installStickerSet.md index 8dfeacfa..61513182 100644 --- a/old_docs/API_docs_v73/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_installStickerSet.md @@ -26,7 +26,7 @@ description: messages.installStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_migrateChat.md b/old_docs/API_docs_v73/methods/messages_migrateChat.md index 09b9b3fa..5021ad45 100644 --- a/old_docs/API_docs_v73/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v73/methods/messages_migrateChat.md @@ -27,7 +27,7 @@ description: messages.migrateChat parameters, return type and example |CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md index 8b0d92f7..4d341809 100644 --- a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md @@ -26,7 +26,7 @@ description: messages.readEncryptedHistory parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md index 9aef0199..0631ca5b 100644 --- a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md @@ -18,7 +18,7 @@ description: messages.readFeaturedStickers parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_readHistory.md b/old_docs/API_docs_v73/methods/messages_readHistory.md index f4288b20..7dfad39b 100644 --- a/old_docs/API_docs_v73/methods/messages_readHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readHistory.md @@ -27,7 +27,7 @@ description: messages.readHistory parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_readMentions.md b/old_docs/API_docs_v73/methods/messages_readMentions.md index 0fec0465..113657e8 100644 --- a/old_docs/API_docs_v73/methods/messages_readMentions.md +++ b/old_docs/API_docs_v73/methods/messages_readMentions.md @@ -18,7 +18,7 @@ description: messages.readMentions parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_readMessageContents.md b/old_docs/API_docs_v73/methods/messages_readMessageContents.md index 636da5da..0d27c209 100644 --- a/old_docs/API_docs_v73/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/messages_readMessageContents.md @@ -18,7 +18,7 @@ description: messages.readMessageContents parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_receivedMessages.md b/old_docs/API_docs_v73/methods/messages_receivedMessages.md index c204bade..5baae5db 100644 --- a/old_docs/API_docs_v73/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v73/methods/messages_receivedMessages.md @@ -18,7 +18,7 @@ description: messages.receivedMessages parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_receivedQueue.md b/old_docs/API_docs_v73/methods/messages_receivedQueue.md index 28053da3..c91caa37 100644 --- a/old_docs/API_docs_v73/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v73/methods/messages_receivedQueue.md @@ -25,7 +25,7 @@ description: messages.receivedQueue parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md index 2d81735f..0bf5e073 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md @@ -26,7 +26,7 @@ description: messages.reorderPinnedDialogs parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer, InputPeer], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md index 21092485..e4f1623c 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md @@ -19,7 +19,7 @@ description: messages.reorderStickerSets parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long, long], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md index 64ebecdd..44482c76 100644 --- a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md @@ -25,7 +25,7 @@ description: messages.reportEncryptedSpam parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_reportSpam.md b/old_docs/API_docs_v73/methods/messages_reportSpam.md index b3e0c47f..e53bdafa 100644 --- a/old_docs/API_docs_v73/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportSpam.md @@ -25,7 +25,7 @@ description: messages.reportSpam parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_saveDraft.md b/old_docs/API_docs_v73/methods/messages_saveDraft.md index 7160fda4..e1bcb5d5 100644 --- a/old_docs/API_docs_v73/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v73/methods/messages_saveDraft.md @@ -30,7 +30,7 @@ description: messages.saveDraft parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_saveGif.md b/old_docs/API_docs_v73/methods/messages_saveGif.md index d6487133..4a3b6166 100644 --- a/old_docs/API_docs_v73/methods/messages_saveGif.md +++ b/old_docs/API_docs_v73/methods/messages_saveGif.md @@ -26,7 +26,7 @@ description: messages.saveGif parameters, return type and example |GIF_ID_INVALID|The provided GIF ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md index 2c3c7e12..b4f43e13 100644 --- a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md @@ -27,7 +27,7 @@ description: messages.saveRecentSticker parameters, return type and example |STICKER_ID_INVALID|The provided sticker ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_search.md b/old_docs/API_docs_v73/methods/messages_search.md index a5aa36bd..67178dac 100644 --- a/old_docs/API_docs_v73/methods/messages_search.md +++ b/old_docs/API_docs_v73/methods/messages_search.md @@ -41,7 +41,7 @@ description: messages.search parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_searchGifs.md b/old_docs/API_docs_v73/methods/messages_searchGifs.md index d37ebbd0..fefef1d7 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v73/methods/messages_searchGifs.md @@ -26,7 +26,7 @@ description: messages.searchGifs parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_searchGlobal.md b/old_docs/API_docs_v73/methods/messages_searchGlobal.md index 80d2413c..32ddd175 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v73/methods/messages_searchGlobal.md @@ -29,7 +29,7 @@ description: messages.searchGlobal parameters, return type and example |SEARCH_QUERY_EMPTY|The search query is empty| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md index 2f402d89..23461760 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md @@ -29,7 +29,7 @@ description: messages.sendEncrypted parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md index e9219c72..64919abe 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md @@ -27,7 +27,7 @@ description: messages.sendEncryptedFile parameters, return type and example |MSG_WAIT_FAILED|A waiting call returned an error| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md index e59b8aa9..0a0eea8a 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md @@ -29,7 +29,7 @@ description: messages.sendEncryptedService parameters, return type and example |USER_IS_BLOCKED|User is blocked| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md index 692c79f6..4cb9243e 100644 --- a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md @@ -36,7 +36,7 @@ description: messages.sendInlineBotResult parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -56,7 +56,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_sendMedia.md b/old_docs/API_docs_v73/methods/messages_sendMedia.md index 2af751cb..c915b3af 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMedia.md @@ -52,7 +52,7 @@ description: messages.sendMedia parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -72,7 +72,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendMessage.md b/old_docs/API_docs_v73/methods/messages_sendMessage.md index 314c73b7..c1b218a0 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v73/methods/messages_sendMessage.md @@ -54,7 +54,7 @@ description: messages.sendMessage parameters, return type and example |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -74,7 +74,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md index 1b00eb4c..38babb1f 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md @@ -23,7 +23,7 @@ description: messages.sendMultiMedia parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -43,7 +43,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendMultiMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'multi_media' => [InputSingleMedia, InputSingleMedia], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md index e786f4be..c9d1d555 100644 --- a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md @@ -26,7 +26,7 @@ description: messages.sendScreenshotNotification parameters, return type and exa |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->sendScreenshotNotification(['peer' => InputPeer, 'reply_to_msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md index 7fec715e..5590828e 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md @@ -29,7 +29,7 @@ description: messages.setBotCallbackAnswer parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => 'string', 'url' => 'string', 'cache_time' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md index 1a0854e0..5afa7789 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md @@ -27,7 +27,7 @@ description: messages.setBotPrecheckoutResults parameters, return type and examp |ERROR_TEXT_EMPTY|The provided error message is empty| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md index 526729f6..b36dacce 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md @@ -27,7 +27,7 @@ description: messages.setBotShippingResults parameters, return type and example |QUERY_ID_INVALID|The query ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => 'string', 'shipping_options' => [ShippingOption, ShippingOption], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md index 9b50ee35..b51295cc 100644 --- a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md @@ -26,7 +26,7 @@ description: messages.setEncryptedTyping parameters, return type and example |CHAT_ID_INVALID|The provided chat id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_setGameScore.md b/old_docs/API_docs_v73/methods/messages_setGameScore.md index 400ef8ca..c44145c0 100644 --- a/old_docs/API_docs_v73/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setGameScore.md @@ -31,7 +31,7 @@ description: messages.setGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -51,7 +51,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md index 2071061a..915e3a4e 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md @@ -41,7 +41,7 @@ description: messages.setInlineBotResults parameters, return type and example |USER_BOT_INVALID|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -61,7 +61,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult, InputBotInlineResult], 'cache_time' => int, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md index 7cd855b2..55e2c063 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md @@ -30,7 +30,7 @@ description: messages.setInlineGameScore parameters, return type and example |USER_BOT_REQUIRED|This method can only be called by a bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_setTyping.md b/old_docs/API_docs_v73/methods/messages_setTyping.md index 6faeaf0f..f8fdd8d5 100644 --- a/old_docs/API_docs_v73/methods/messages_setTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setTyping.md @@ -33,7 +33,7 @@ description: messages.setTyping parameters, return type and example |CHAT_WRITE_FORBIDDEN|You can't write in this chat| -### Example: +### MadelineProto Example: ``` @@ -53,7 +53,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_startBot.md b/old_docs/API_docs_v73/methods/messages_startBot.md index d6d37a67..0de0f1a5 100644 --- a/old_docs/API_docs_v73/methods/messages_startBot.md +++ b/old_docs/API_docs_v73/methods/messages_startBot.md @@ -30,7 +30,7 @@ description: messages.startBot parameters, return type and example |START_PARAM_INVALID|Start parameter invalid| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md index f34868ad..d56e5753 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md @@ -27,7 +27,7 @@ description: messages.toggleChatAdmins parameters, return type and example |CHAT_NOT_MODIFIED|The pinned message wasn't modified| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md index 4b2282c3..d6dc9692 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md @@ -26,7 +26,7 @@ description: messages.toggleDialogPin parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md index 1896d00a..60b0ca0c 100644 --- a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md @@ -25,7 +25,7 @@ description: messages.uninstallStickerSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md index cc5d62fe..a8bdc698 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md @@ -19,7 +19,7 @@ description: messages.uploadEncryptedFile parameters, return type and example ### Can bots use this method: **YES** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $EncryptedFile = $MadelineProto->messages->uploadEncryptedFile(['peer' => InputEncryptedChat, 'file' => InputEncryptedFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/messages_uploadMedia.md b/old_docs/API_docs_v73/methods/messages_uploadMedia.md index 74515f11..5c25333d 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v73/methods/messages_uploadMedia.md @@ -28,7 +28,7 @@ description: messages.uploadMedia parameters, return type and example |PEER_ID_INVALID|The provided peer id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md index beedba00..53fab36f 100644 --- a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md @@ -19,7 +19,7 @@ description: payments.clearSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -39,7 +39,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md index 2ea128aa..00b4bddc 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md @@ -25,7 +25,7 @@ description: payments.getPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md index 6df0998f..40b73a4b 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md @@ -25,7 +25,7 @@ description: payments.getPaymentReceipt parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -45,7 +45,7 @@ $MadelineProto->start(); $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md index ae1fcf33..ccaaff75 100644 --- a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md @@ -13,7 +13,7 @@ description: payments.getSavedInfo parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md index 84a67497..eb843715 100644 --- a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md @@ -28,7 +28,7 @@ description: payments.sendPaymentForm parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md index 3a3f832b..32702965 100644 --- a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md @@ -27,7 +27,7 @@ description: payments.validateRequestedInfo parameters, return type and example |MESSAGE_ID_INVALID|The provided message id is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/phone_getCallConfig.md b/old_docs/API_docs_v73/methods/phone_getCallConfig.md index 636ae946..75ff7379 100644 --- a/old_docs/API_docs_v73/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v73/methods/phone_getCallConfig.md @@ -13,7 +13,7 @@ description: phone.getCallConfig parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -33,7 +33,7 @@ $MadelineProto->start(); $DataJSON = $MadelineProto->phone->getCallConfig(); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/phone_receivedCall.md b/old_docs/API_docs_v73/methods/phone_receivedCall.md index daca3fe2..43e1032c 100644 --- a/old_docs/API_docs_v73/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v73/methods/phone_receivedCall.md @@ -26,7 +26,7 @@ description: phone.receivedCall parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md index 063ab7a2..f3d84fcb 100644 --- a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md @@ -27,7 +27,7 @@ description: phone.saveCallDebug parameters, return type and example |DATA_JSON_INVALID|The provided JSON data is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/phone_setCallRating.md b/old_docs/API_docs_v73/methods/phone_setCallRating.md index 3f6b792d..d55f5893 100644 --- a/old_docs/API_docs_v73/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v73/methods/phone_setCallRating.md @@ -27,7 +27,7 @@ description: phone.setCallRating parameters, return type and example |CALL_PEER_INVALID|The provided call peer object is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/photos_deletePhotos.md b/old_docs/API_docs_v73/methods/photos_deletePhotos.md index 0d66fd60..104459b7 100644 --- a/old_docs/API_docs_v73/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v73/methods/photos_deletePhotos.md @@ -18,7 +18,7 @@ description: photos.deletePhotos parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto, InputPhoto], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md index 57124f30..1a7515ba 100644 --- a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md @@ -29,7 +29,7 @@ description: photos.getUserPhotos parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -49,7 +49,7 @@ $MadelineProto->start(); $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md index 1ed6fb24..28ab5fbf 100644 --- a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md @@ -18,7 +18,7 @@ description: photos.updateProfilePhoto parameters, return type and example ### Can bots use this method: **NO** -### Example: +### MadelineProto Example: ``` @@ -38,7 +38,7 @@ $MadelineProto->start(); $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md index 4b20315b..7cc9e9e5 100644 --- a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md @@ -28,7 +28,7 @@ description: photos.uploadProfilePhoto parameters, return type and example |PHOTO_EXT_INVALID|The extension of the photo is invalid| -### Example: +### MadelineProto Example: ``` @@ -48,7 +48,7 @@ $MadelineProto->start(); $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md index 2f62b57b..82a9dbd7 100644 --- a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md @@ -27,7 +27,7 @@ description: stickers.addStickerToSet parameters, return type and example |STICKERSET_INVALID|The provided sticker set is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md index a0947680..a1a663f7 100644 --- a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md @@ -27,7 +27,7 @@ description: stickers.changeStickerPosition parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md index 1e7a5bb7..b99874a0 100644 --- a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md @@ -37,7 +37,7 @@ description: stickers.createStickerSet parameters, return type and example |USER_ID_INVALID|The provided user ID is invalid| -### Example: +### MadelineProto Example: ``` @@ -57,7 +57,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md index 6a37b6a4..34f85cb0 100644 --- a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md @@ -26,7 +26,7 @@ description: stickers.removeStickerFromSet parameters, return type and example |STICKER_INVALID|The provided sticker is invalid| -### Example: +### MadelineProto Example: ``` @@ -46,7 +46,7 @@ $MadelineProto->start(); $messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/old_docs/API_docs_v73/methods/upload_getWebFile.md b/old_docs/API_docs_v73/methods/upload_getWebFile.md index 54615226..30bd3a1f 100644 --- a/old_docs/API_docs_v73/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v73/methods/upload_getWebFile.md @@ -27,7 +27,7 @@ description: upload.getWebFile parameters, return type and example |LOCATION_INVALID|The provided location is invalid| -### Example: +### MadelineProto Example: ``` @@ -47,7 +47,7 @@ $MadelineProto->start(); $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): diff --git a/old_docs/API_docs_v73/methods/users_getUsers.md b/old_docs/API_docs_v73/methods/users_getUsers.md index 1d4bdc7b..ef1c7fd8 100644 --- a/old_docs/API_docs_v73/methods/users_getUsers.md +++ b/old_docs/API_docs_v73/methods/users_getUsers.md @@ -30,7 +30,7 @@ Get info about users |Timeout|A timeout occurred while fetching data from the bot| -### Example: +### MadelineProto Example: ``` @@ -50,7 +50,7 @@ $MadelineProto->start(); $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser, InputUser], ]); ``` -Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): ### As a bot: diff --git a/src/danog/MadelineProto/DocsBuilder/Methods.php b/src/danog/MadelineProto/DocsBuilder/Methods.php index b5f48615..5c0d4aa6 100644 --- a/src/danog/MadelineProto/DocsBuilder/Methods.php +++ b/src/danog/MadelineProto/DocsBuilder/Methods.php @@ -204,7 +204,7 @@ description: '.$description.' } $example .= "\n\n"; } - $example .= str_replace('[]', '', '### Example: + $example .= str_replace('[]', '', '### MadelineProto Example: ``` @@ -224,7 +224,7 @@ $MadelineProto->start(); $'.$type.' = $MadelineProto->'.$php_method.'(['.$params.']); ``` -Or, if you\'re using the [PWRTelegram HTTP API](https://pwrtelegram.xyz): +### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto): '.($bot ? '### As a bot: