diff --git a/docs/API_docs/methods/account_acceptAuthorization.md b/docs/API_docs/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/docs/API_docs/methods/account_acceptAuthorization.md +++ b/docs/API_docs/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_cancelPasswordEmail.md b/docs/API_docs/methods/account_cancelPasswordEmail.md index 00120310..7e1b0e4c 100644 --- a/docs/API_docs/methods/account_cancelPasswordEmail.md +++ b/docs/API_docs/methods/account_cancelPasswordEmail.md @@ -23,6 +23,7 @@ Cancel password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_confirmPasswordEmail.md b/docs/API_docs/methods/account_confirmPasswordEmail.md index 7eaca911..03783240 100644 --- a/docs/API_docs/methods/account_confirmPasswordEmail.md +++ b/docs/API_docs/methods/account_confirmPasswordEmail.md @@ -28,6 +28,7 @@ Confirm password recovery using email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_deleteSecureValue.md b/docs/API_docs/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/docs/API_docs/methods/account_deleteSecureValue.md +++ b/docs/API_docs/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_finishTakeoutSession.md b/docs/API_docs/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/docs/API_docs/methods/account_finishTakeoutSession.md +++ b/docs/API_docs/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getAllSecureValues.md b/docs/API_docs/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/docs/API_docs/methods/account_getAllSecureValues.md +++ b/docs/API_docs/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getAuthorizationForm.md b/docs/API_docs/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/docs/API_docs/methods/account_getAuthorizationForm.md +++ b/docs/API_docs/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getContactSignUpNotification.md b/docs/API_docs/methods/account_getContactSignUpNotification.md index b5102758..22ec729c 100644 --- a/docs/API_docs/methods/account_getContactSignUpNotification.md +++ b/docs/API_docs/methods/account_getContactSignUpNotification.md @@ -23,6 +23,7 @@ Contact signup notification setting value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getNotifyExceptions.md b/docs/API_docs/methods/account_getNotifyExceptions.md index a8e98ce3..282028e5 100644 --- a/docs/API_docs/methods/account_getNotifyExceptions.md +++ b/docs/API_docs/methods/account_getNotifyExceptions.md @@ -29,6 +29,7 @@ Get notification exceptions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getSecureValue.md b/docs/API_docs/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/docs/API_docs/methods/account_getSecureValue.md +++ b/docs/API_docs/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index 15639c35..208d2ea7 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getWallPaper.md b/docs/API_docs/methods/account_getWallPaper.md index d83e445b..901294de 100644 --- a/docs/API_docs/methods/account_getWallPaper.md +++ b/docs/API_docs/methods/account_getWallPaper.md @@ -28,6 +28,7 @@ Get wallpaper info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index 5161fd57..8e61007e 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -28,6 +28,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_getWebAuthorizations.md b/docs/API_docs/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/docs/API_docs/methods/account_getWebAuthorizations.md +++ b/docs/API_docs/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_initTakeoutSession.md b/docs/API_docs/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/docs/API_docs/methods/account_initTakeoutSession.md +++ b/docs/API_docs/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_installWallPaper.md b/docs/API_docs/methods/account_installWallPaper.md index 7680de0c..f06b8ca2 100644 --- a/docs/API_docs/methods/account_installWallPaper.md +++ b/docs/API_docs/methods/account_installWallPaper.md @@ -29,6 +29,7 @@ Install wallpaper if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resendPasswordEmail.md b/docs/API_docs/methods/account_resendPasswordEmail.md index 8f6d20fc..f30f949b 100644 --- a/docs/API_docs/methods/account_resendPasswordEmail.md +++ b/docs/API_docs/methods/account_resendPasswordEmail.md @@ -23,6 +23,7 @@ Resend password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resetWallPapers.md b/docs/API_docs/methods/account_resetWallPapers.md index 81d1f202..d80baa1d 100644 --- a/docs/API_docs/methods/account_resetWallPapers.md +++ b/docs/API_docs/methods/account_resetWallPapers.md @@ -23,6 +23,7 @@ Reset wallpapers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resetWebAuthorization.md b/docs/API_docs/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/docs/API_docs/methods/account_resetWebAuthorization.md +++ b/docs/API_docs/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_resetWebAuthorizations.md b/docs/API_docs/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/docs/API_docs/methods/account_resetWebAuthorizations.md +++ b/docs/API_docs/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_saveSecureValue.md b/docs/API_docs/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/docs/API_docs/methods/account_saveSecureValue.md +++ b/docs/API_docs/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_saveWallPaper.md b/docs/API_docs/methods/account_saveWallPaper.md index 6d894f16..1e20e328 100644 --- a/docs/API_docs/methods/account_saveWallPaper.md +++ b/docs/API_docs/methods/account_saveWallPaper.md @@ -30,6 +30,7 @@ Save wallpaper if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index 8d433762..162629ce 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -29,6 +29,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index 85746f4d..eb41539c 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -29,6 +29,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_sendVerifyEmailCode.md b/docs/API_docs/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/docs/API_docs/methods/account_sendVerifyEmailCode.md +++ b/docs/API_docs/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_sendVerifyPhoneCode.md b/docs/API_docs/methods/account_sendVerifyPhoneCode.md index 187b79d3..7f56158e 100644 --- a/docs/API_docs/methods/account_sendVerifyPhoneCode.md +++ b/docs/API_docs/methods/account_sendVerifyPhoneCode.md @@ -29,6 +29,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_setContactSignUpNotification.md b/docs/API_docs/methods/account_setContactSignUpNotification.md index e4e776e3..b7b79480 100644 --- a/docs/API_docs/methods/account_setContactSignUpNotification.md +++ b/docs/API_docs/methods/account_setContactSignUpNotification.md @@ -28,6 +28,7 @@ Set contact sign up notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_uploadWallPaper.md b/docs/API_docs/methods/account_uploadWallPaper.md index 4c47946e..e9068538 100644 --- a/docs/API_docs/methods/account_uploadWallPaper.md +++ b/docs/API_docs/methods/account_uploadWallPaper.md @@ -30,6 +30,7 @@ Upload wallpaper if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_verifyEmail.md b/docs/API_docs/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/docs/API_docs/methods/account_verifyEmail.md +++ b/docs/API_docs/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/account_verifyPhone.md b/docs/API_docs/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/docs/API_docs/methods/account_verifyPhone.md +++ b/docs/API_docs/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_deleteHistory.md b/docs/API_docs/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/docs/API_docs/methods/channels_deleteHistory.md +++ b/docs/API_docs/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index 5e77eade..76f452a2 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_editBanned.md b/docs/API_docs/methods/channels_editBanned.md index 74a99ee7..053e4bc5 100644 --- a/docs/API_docs/methods/channels_editBanned.md +++ b/docs/API_docs/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getAdminLog.md b/docs/API_docs/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/docs/API_docs/methods/channels_getAdminLog.md +++ b/docs/API_docs/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getLeftChannels.md b/docs/API_docs/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/docs/API_docs/methods/channels_getLeftChannels.md +++ b/docs/API_docs/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_readMessageContents.md b/docs/API_docs/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/docs/API_docs/methods/channels_readMessageContents.md +++ b/docs/API_docs/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_setStickers.md b/docs/API_docs/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/docs/API_docs/methods/channels_setStickers.md +++ b/docs/API_docs/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_togglePreHistoryHidden.md b/docs/API_docs/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/docs/API_docs/methods/channels_togglePreHistoryHidden.md +++ b/docs/API_docs/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_deleteByPhones.md b/docs/API_docs/methods/contacts_deleteByPhones.md index 4cac225c..b7c3d855 100644 --- a/docs/API_docs/methods/contacts_deleteByPhones.md +++ b/docs/API_docs/methods/contacts_deleteByPhones.md @@ -28,6 +28,7 @@ Delete contacts by phones if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getContactIDs.md b/docs/API_docs/methods/contacts_getContactIDs.md index 46a1d748..09ce8bf7 100644 --- a/docs/API_docs/methods/contacts_getContactIDs.md +++ b/docs/API_docs/methods/contacts_getContactIDs.md @@ -28,6 +28,7 @@ Get contacts by IDs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getSaved.md b/docs/API_docs/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/docs/API_docs/methods/contacts_getSaved.md +++ b/docs/API_docs/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_resetSaved.md b/docs/API_docs/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/docs/API_docs/methods/contacts_resetSaved.md +++ b/docs/API_docs/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_toggleTopPeers.md b/docs/API_docs/methods/contacts_toggleTopPeers.md index b68b4bf3..2e9f8106 100644 --- a/docs/API_docs/methods/contacts_toggleTopPeers.md +++ b/docs/API_docs/methods/contacts_toggleTopPeers.md @@ -28,6 +28,7 @@ Toggle top peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_acceptTermsOfService.md b/docs/API_docs/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/docs/API_docs/methods/help_acceptTermsOfService.md +++ b/docs/API_docs/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_editUserInfo.md b/docs/API_docs/methods/help_editUserInfo.md index 580d2f33..5955d8e9 100644 --- a/docs/API_docs/methods/help_editUserInfo.md +++ b/docs/API_docs/methods/help_editUserInfo.md @@ -31,6 +31,7 @@ Edit user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getAppConfig.md b/docs/API_docs/methods/help_getAppConfig.md index 3fd5f540..0307e735 100644 --- a/docs/API_docs/methods/help_getAppConfig.md +++ b/docs/API_docs/methods/help_getAppConfig.md @@ -23,6 +23,7 @@ Get app config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index 4558e073..2b0c90bf 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -28,6 +28,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getDeepLinkInfo.md b/docs/API_docs/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/docs/API_docs/methods/help_getDeepLinkInfo.md +++ b/docs/API_docs/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getPassportConfig.md b/docs/API_docs/methods/help_getPassportConfig.md index 4b58fa73..be2d0279 100644 --- a/docs/API_docs/methods/help_getPassportConfig.md +++ b/docs/API_docs/methods/help_getPassportConfig.md @@ -28,6 +28,7 @@ Get passport config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getProxyData.md b/docs/API_docs/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/docs/API_docs/methods/help_getProxyData.md +++ b/docs/API_docs/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getRecentMeUrls.md b/docs/API_docs/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/docs/API_docs/methods/help_getRecentMeUrls.md +++ b/docs/API_docs/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getSupportName.md b/docs/API_docs/methods/help_getSupportName.md index 83440dc3..252c61d0 100644 --- a/docs/API_docs/methods/help_getSupportName.md +++ b/docs/API_docs/methods/help_getSupportName.md @@ -23,6 +23,7 @@ Get support name if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getTermsOfServiceUpdate.md b/docs/API_docs/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/docs/API_docs/methods/help_getTermsOfServiceUpdate.md +++ b/docs/API_docs/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_getUserInfo.md b/docs/API_docs/methods/help_getUserInfo.md index 051af31f..7274528c 100644 --- a/docs/API_docs/methods/help_getUserInfo.md +++ b/docs/API_docs/methods/help_getUserInfo.md @@ -28,6 +28,7 @@ Get user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeWithMessagesRange.md b/docs/API_docs/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/docs/API_docs/methods/invokeWithMessagesRange.md +++ b/docs/API_docs/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeWithTakeout.md b/docs/API_docs/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/docs/API_docs/methods/invokeWithTakeout.md +++ b/docs/API_docs/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/langpack_getDifference.md b/docs/API_docs/methods/langpack_getDifference.md index 8ec3cb04..4af3c462 100644 --- a/docs/API_docs/methods/langpack_getDifference.md +++ b/docs/API_docs/methods/langpack_getDifference.md @@ -29,6 +29,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/langpack_getLangPack.md b/docs/API_docs/methods/langpack_getLangPack.md index c6944f50..b7e5b041 100644 --- a/docs/API_docs/methods/langpack_getLangPack.md +++ b/docs/API_docs/methods/langpack_getLangPack.md @@ -29,6 +29,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/langpack_getLanguage.md b/docs/API_docs/methods/langpack_getLanguage.md index a97a1429..03101a33 100644 --- a/docs/API_docs/methods/langpack_getLanguage.md +++ b/docs/API_docs/methods/langpack_getLanguage.md @@ -29,6 +29,7 @@ Get language if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/langpack_getLanguages.md b/docs/API_docs/methods/langpack_getLanguages.md index 093ca8a5..ea9faf78 100644 --- a/docs/API_docs/methods/langpack_getLanguages.md +++ b/docs/API_docs/methods/langpack_getLanguages.md @@ -28,6 +28,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/langpack_getStrings.md b/docs/API_docs/methods/langpack_getStrings.md index 4df420e7..0fe32c87 100644 --- a/docs/API_docs/methods/langpack_getStrings.md +++ b/docs/API_docs/methods/langpack_getStrings.md @@ -30,6 +30,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_clearAllDrafts.md b/docs/API_docs/methods/messages_clearAllDrafts.md index 9840c525..6cf75853 100644 --- a/docs/API_docs/methods/messages_clearAllDrafts.md +++ b/docs/API_docs/methods/messages_clearAllDrafts.md @@ -23,6 +23,7 @@ Clear all drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editChatAbout.md b/docs/API_docs/methods/messages_editChatAbout.md index 2e5f1970..4d5b0602 100644 --- a/docs/API_docs/methods/messages_editChatAbout.md +++ b/docs/API_docs/methods/messages_editChatAbout.md @@ -29,6 +29,7 @@ Edit chat info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editChatDefaultBannedRights.md b/docs/API_docs/methods/messages_editChatDefaultBannedRights.md index 822cb684..f915b59f 100644 --- a/docs/API_docs/methods/messages_editChatDefaultBannedRights.md +++ b/docs/API_docs/methods/messages_editChatDefaultBannedRights.md @@ -29,6 +29,7 @@ Edit default rights of chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index f147b8dc..16a48144 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -34,6 +34,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 44dbb453..a64c215b 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -35,6 +35,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index 952b6a43..a0373d21 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_faveSticker.md b/docs/API_docs/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/docs/API_docs/methods/messages_faveSticker.md +++ b/docs/API_docs/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getAllChats.md b/docs/API_docs/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getDialogUnreadMarks.md b/docs/API_docs/methods/messages_getDialogUnreadMarks.md index 74c65efa..212b2859 100644 --- a/docs/API_docs/methods/messages_getDialogUnreadMarks.md +++ b/docs/API_docs/methods/messages_getDialogUnreadMarks.md @@ -23,6 +23,7 @@ Get dialogs marked as unread manually if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index 9e2e33c2..54d7c469 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -33,6 +33,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getFavedStickers.md b/docs/API_docs/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/docs/API_docs/methods/messages_getFavedStickers.md +++ b/docs/API_docs/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getOnlines.md b/docs/API_docs/methods/messages_getOnlines.md index a5e8d601..77dff78e 100644 --- a/docs/API_docs/methods/messages_getOnlines.md +++ b/docs/API_docs/methods/messages_getOnlines.md @@ -28,6 +28,7 @@ Get online users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getPollResults.md b/docs/API_docs/methods/messages_getPollResults.md index a6203884..0a1e564d 100644 --- a/docs/API_docs/methods/messages_getPollResults.md +++ b/docs/API_docs/methods/messages_getPollResults.md @@ -29,6 +29,7 @@ Get poll results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getRecentLocations.md b/docs/API_docs/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/docs/API_docs/methods/messages_getRecentLocations.md +++ b/docs/API_docs/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getSplitRanges.md b/docs/API_docs/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/docs/API_docs/methods/messages_getSplitRanges.md +++ b/docs/API_docs/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getStatsURL.md b/docs/API_docs/methods/messages_getStatsURL.md index 17ac29a7..d053ccfc 100644 --- a/docs/API_docs/methods/messages_getStatsURL.md +++ b/docs/API_docs/methods/messages_getStatsURL.md @@ -28,6 +28,7 @@ Get stats URL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getStickers.md b/docs/API_docs/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/docs/API_docs/methods/messages_getStickers.md +++ b/docs/API_docs/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getUnreadMentions.md b/docs/API_docs/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/docs/API_docs/methods/messages_getUnreadMentions.md +++ b/docs/API_docs/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_markDialogUnread.md b/docs/API_docs/methods/messages_markDialogUnread.md index ddf580db..d9b92661 100644 --- a/docs/API_docs/methods/messages_markDialogUnread.md +++ b/docs/API_docs/methods/messages_markDialogUnread.md @@ -29,6 +29,7 @@ Mark dialog as unread if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_readMentions.md b/docs/API_docs/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/docs/API_docs/methods/messages_readMentions.md +++ b/docs/API_docs/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_report.md b/docs/API_docs/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/docs/API_docs/methods/messages_report.md +++ b/docs/API_docs/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index 5d038792..f553a286 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_searchStickerSets.md b/docs/API_docs/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/docs/API_docs/methods/messages_searchStickerSets.md +++ b/docs/API_docs/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 5487dfc8..93ff1146 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -35,6 +35,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendMultiMedia.md b/docs/API_docs/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/docs/API_docs/methods/messages_sendMultiMedia.md +++ b/docs/API_docs/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendScreenshotNotification.md b/docs/API_docs/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/docs/API_docs/methods/messages_sendScreenshotNotification.md +++ b/docs/API_docs/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_sendVote.md b/docs/API_docs/methods/messages_sendVote.md index 50049522..9e8d25a2 100644 --- a/docs/API_docs/methods/messages_sendVote.md +++ b/docs/API_docs/methods/messages_sendVote.md @@ -30,6 +30,7 @@ Send vote if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setBotShippingResults.md b/docs/API_docs/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_updatePinnedMessage.md b/docs/API_docs/methods/messages_updatePinnedMessage.md index c9b59508..5109a8d5 100644 --- a/docs/API_docs/methods/messages_updatePinnedMessage.md +++ b/docs/API_docs/methods/messages_updatePinnedMessage.md @@ -30,6 +30,7 @@ Update pinned message (private chat only) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_uploadEncryptedFile.md b/docs/API_docs/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/docs/API_docs/methods/messages_uploadEncryptedFile.md +++ b/docs/API_docs/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/messages_uploadMedia.md b/docs/API_docs/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/docs/API_docs/methods/messages_uploadMedia.md +++ b/docs/API_docs/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/payments_validateRequestedInfo.md b/docs/API_docs/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/stickers_addStickerToSet.md b/docs/API_docs/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/docs/API_docs/methods/stickers_addStickerToSet.md +++ b/docs/API_docs/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/stickers_changeStickerPosition.md b/docs/API_docs/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/docs/API_docs/methods/stickers_changeStickerPosition.md +++ b/docs/API_docs/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/stickers_createStickerSet.md b/docs/API_docs/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/docs/API_docs/methods/stickers_createStickerSet.md +++ b/docs/API_docs/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/stickers_removeStickerFromSet.md b/docs/API_docs/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/docs/API_docs/methods/stickers_removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/API_docs/methods/users_setSecureValueErrors.md b/docs/API_docs/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/docs/API_docs/methods/users_setSecureValueErrors.md +++ b/docs/API_docs/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index 2ab445b6..d3e3bfc1 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index 04fc2c04..ce0bb46d 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -30,6 +30,7 @@ Makes the server send messages waiting in the buffer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/ping.md b/docs/MTProto_docs/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index 337ba565..e2fbe73b 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/req_DH_params.md b/docs/MTProto_docs/methods/req_DH_params.md index 4c923321..c06e7ff1 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/req_pq.md b/docs/MTProto_docs/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/req_pq_multi.md b/docs/MTProto_docs/methods/req_pq_multi.md index 7159e2cd..b03bc95e 100644 --- a/docs/MTProto_docs/methods/req_pq_multi.md +++ b/docs/MTProto_docs/methods/req_pq_multi.md @@ -28,6 +28,7 @@ Requests PQ for factorization (new version) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index 8b81eefd..e267ea84 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/docs/MTProto_docs/methods/set_client_DH_params.md b/docs/MTProto_docs/methods/set_client_DH_params.md index 0f2a8ad3..6a6ae6b3 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_checkUsername.md b/old_docs/API_docs_v18/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_updateProfile.md b/old_docs/API_docs_v18/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_updateStatus.md b/old_docs/API_docs_v18/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/account_updateUsername.md b/old_docs/API_docs_v18/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/auth_sendSms.md b/old_docs/API_docs_v18/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContact.md b/old_docs/API_docs_v18/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_getContacts.md b/old_docs/API_docs_v18/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_importCard.md b/old_docs/API_docs_v18/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_importContacts.md b/old_docs/API_docs_v18/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_search.md b/old_docs/API_docs_v18/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/contacts_unblock.md b/old_docs/API_docs_v18/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_getAppUpdate.md b/old_docs/API_docs_v18/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_getConfig.md b/old_docs/API_docs_v18/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_getNearestDc.md b/old_docs/API_docs_v18/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsg.md b/old_docs/API_docs_v18/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/invokeWithLayer18.md b/old_docs/API_docs_v18/methods/invokeWithLayer18.md index 57abbbb7..c2822d55 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -28,6 +28,7 @@ Invoke this method with layer 18 if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 05a836b6..e8460432 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_createChat.md b/old_docs/API_docs_v18/methods/messages_createChat.md index 71b41e14..9ca699eb 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md index ee78f262..8bbbcc9f 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_deleteHistory.md b/old_docs/API_docs_v18/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_deleteMessages.md b/old_docs/API_docs_v18/methods/messages_deleteMessages.md index 5d0f8ca0..e4a60b21 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md index 3195b311..5001217b 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_editChatTitle.md b/old_docs/API_docs_v18/methods/messages_editChatTitle.md index 35939d4e..2cd69719 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessage.md b/old_docs/API_docs_v18/methods/messages_forwardMessage.md index bc58a33c..29c50d3b 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessages.md b/old_docs/API_docs_v18/methods/messages_forwardMessages.md index 73f8a488..d660df74 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_getChats.md b/old_docs/API_docs_v18/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index f0a3fef2..97d2854c 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -30,6 +30,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index 26296676..b48f613c 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -31,6 +31,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_getMessages.md b/old_docs/API_docs_v18/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_readHistory.md b/old_docs/API_docs_v18/methods/messages_readHistory.md index 7a06c601..4a8c9a0f 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -31,6 +31,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_readMessageContents.md b/old_docs/API_docs_v18/methods/messages_readMessageContents.md index c2c182eb..1e561740 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_receivedMessages.md b/old_docs/API_docs_v18/methods/messages_receivedMessages.md index 2597d4c7..21563513 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md index f7c63f51..ebb65dc6 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendMedia.md b/old_docs/API_docs_v18/methods/messages_sendMedia.md index f92de740..5752bae6 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -29,6 +29,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_sendMessage.md b/old_docs/API_docs_v18/methods/messages_sendMessage.md index 6db605ed..d0bed720 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -29,6 +29,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/messages_setTyping.md b/old_docs/API_docs_v18/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/photos_deletePhotos.md b/old_docs/API_docs_v18/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md index 7afef335..41d3452c 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_changePhone.md b/old_docs/API_docs_v23/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_checkUsername.md b/old_docs/API_docs_v23/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_deleteAccount.md b/old_docs/API_docs_v23/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_getPrivacy.md b/old_docs/API_docs_v23/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_reportPeer.md b/old_docs/API_docs_v23/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_setAccountTTL.md b/old_docs/API_docs_v23/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_setPrivacy.md b/old_docs/API_docs_v23/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_unregisterDevice.md b/old_docs/API_docs_v23/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_updateProfile.md b/old_docs/API_docs_v23/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_updateStatus.md b/old_docs/API_docs_v23/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/account_updateUsername.md b/old_docs/API_docs_v23/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/auth_sendSms.md b/old_docs/API_docs_v23/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContact.md b/old_docs/API_docs_v23/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_getContacts.md b/old_docs/API_docs_v23/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_importCard.md b/old_docs/API_docs_v23/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_importContacts.md b/old_docs/API_docs_v23/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/contacts_unblock.md b/old_docs/API_docs_v23/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_getAppUpdate.md b/old_docs/API_docs_v23/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_getConfig.md b/old_docs/API_docs_v23/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_getNearestDc.md b/old_docs/API_docs_v23/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsg.md b/old_docs/API_docs_v23/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/invokeWithLayer.md b/old_docs/API_docs_v23/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 05a836b6..e8460432 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_createChat.md b/old_docs/API_docs_v23/methods/messages_createChat.md index 71b41e14..9ca699eb 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md index ee78f262..8bbbcc9f 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_deleteHistory.md b/old_docs/API_docs_v23/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_deleteMessages.md b/old_docs/API_docs_v23/methods/messages_deleteMessages.md index 5d0f8ca0..e4a60b21 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md index 3195b311..5001217b 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_editChatTitle.md b/old_docs/API_docs_v23/methods/messages_editChatTitle.md index 35939d4e..2cd69719 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessage.md b/old_docs/API_docs_v23/methods/messages_forwardMessage.md index bc58a33c..29c50d3b 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessages.md b/old_docs/API_docs_v23/methods/messages_forwardMessages.md index 73f8a488..d660df74 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getAllStickers.md b/old_docs/API_docs_v23/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getChats.md b/old_docs/API_docs_v23/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index f0a3fef2..97d2854c 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -30,6 +30,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index 26296676..b48f613c 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -31,6 +31,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getMessages.md b/old_docs/API_docs_v23/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_getStickers.md b/old_docs/API_docs_v23/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_readHistory.md b/old_docs/API_docs_v23/methods/messages_readHistory.md index 7a06c601..4a8c9a0f 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -31,6 +31,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_readMessageContents.md b/old_docs/API_docs_v23/methods/messages_readMessageContents.md index c2c182eb..1e561740 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_receivedMessages.md b/old_docs/API_docs_v23/methods/messages_receivedMessages.md index 2597d4c7..21563513 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md index f7c63f51..ebb65dc6 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendMedia.md b/old_docs/API_docs_v23/methods/messages_sendMedia.md index f92de740..5752bae6 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -29,6 +29,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_sendMessage.md b/old_docs/API_docs_v23/methods/messages_sendMessage.md index 6db605ed..d0bed720 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -29,6 +29,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/messages_setTyping.md b/old_docs/API_docs_v23/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/photos_deletePhotos.md b/old_docs/API_docs_v23/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md index 7afef335..41d3452c 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_changePhone.md b/old_docs/API_docs_v25/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_checkUsername.md b/old_docs/API_docs_v25/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_deleteAccount.md b/old_docs/API_docs_v25/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_setAccountTTL.md b/old_docs/API_docs_v25/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_setPassword.md b/old_docs/API_docs_v25/methods/account_setPassword.md index 50cc89c4..bc5201b6 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -31,6 +31,7 @@ Set 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_setPrivacy.md b/old_docs/API_docs_v25/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_unregisterDevice.md b/old_docs/API_docs_v25/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_updateProfile.md b/old_docs/API_docs_v25/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_updateStatus.md b/old_docs/API_docs_v25/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/account_updateUsername.md b/old_docs/API_docs_v25/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/auth_sendSms.md b/old_docs/API_docs_v25/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContact.md b/old_docs/API_docs_v25/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_getContacts.md b/old_docs/API_docs_v25/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_importCard.md b/old_docs/API_docs_v25/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_importContacts.md b/old_docs/API_docs_v25/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/contacts_unblock.md b/old_docs/API_docs_v25/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_checkin.md b/old_docs/API_docs_v25/methods/geochats_checkin.md index 9f824537..39254052 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -28,6 +28,7 @@ Join a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md index d37da677..10de7003 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -31,6 +31,7 @@ Create geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md index 8f51f566..ae75e780 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -29,6 +29,7 @@ Edit geochat photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md index 85836d21..fda496a5 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -30,6 +30,7 @@ Edit geochat title if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_getFullChat.md b/old_docs/API_docs_v25/methods/geochats_getFullChat.md index df0f06db..00e259ea 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -28,6 +28,7 @@ Get full info about a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_getHistory.md b/old_docs/API_docs_v25/methods/geochats_getHistory.md index ca049a05..6a42e9fa 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -31,6 +31,7 @@ Get geochat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_getLocated.md b/old_docs/API_docs_v25/methods/geochats_getLocated.md index 03eb75e8..f5d31ab4 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -30,6 +30,7 @@ Get nearby geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_getRecents.md b/old_docs/API_docs_v25/methods/geochats_getRecents.md index 0a3e4a1d..c1980f9e 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -29,6 +29,7 @@ Get recent geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_search.md b/old_docs/API_docs_v25/methods/geochats_search.md index 8fa03b4e..25655628 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -35,6 +35,7 @@ Search messages in geocha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_sendMedia.md b/old_docs/API_docs_v25/methods/geochats_sendMedia.md index 7490e936..1eedba16 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -29,6 +29,7 @@ Send media to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_sendMessage.md b/old_docs/API_docs_v25/methods/geochats_sendMessage.md index 3a92a0e1..0ba9fc58 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -29,6 +29,7 @@ Send message to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/geochats_setTyping.md b/old_docs/API_docs_v25/methods/geochats_setTyping.md index ecdda227..fe9bad19 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -29,6 +29,7 @@ Send typing notification to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_getAppUpdate.md b/old_docs/API_docs_v25/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_getConfig.md b/old_docs/API_docs_v25/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_getNearestDc.md b/old_docs/API_docs_v25/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsg.md b/old_docs/API_docs_v25/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/invokeWithLayer.md b/old_docs/API_docs_v25/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 05a836b6..e8460432 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_createChat.md b/old_docs/API_docs_v25/methods/messages_createChat.md index 71b41e14..9ca699eb 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md index ee78f262..8bbbcc9f 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_deleteHistory.md b/old_docs/API_docs_v25/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_deleteMessages.md b/old_docs/API_docs_v25/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md index 3195b311..5001217b 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_editChatTitle.md b/old_docs/API_docs_v25/methods/messages_editChatTitle.md index 35939d4e..2cd69719 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessage.md b/old_docs/API_docs_v25/methods/messages_forwardMessage.md index bc58a33c..29c50d3b 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessages.md b/old_docs/API_docs_v25/methods/messages_forwardMessages.md index 73f8a488..d660df74 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getAllStickers.md b/old_docs/API_docs_v25/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getChats.md b/old_docs/API_docs_v25/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index f0a3fef2..97d2854c 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -30,6 +30,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index 26296676..b48f613c 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -31,6 +31,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getMessages.md b/old_docs/API_docs_v25/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_getStickers.md b/old_docs/API_docs_v25/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_readHistory.md b/old_docs/API_docs_v25/methods/messages_readHistory.md index 903268e6..adc051ea 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -30,6 +30,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_readMessageContents.md b/old_docs/API_docs_v25/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_receivedMessages.md b/old_docs/API_docs_v25/methods/messages_receivedMessages.md index 2597d4c7..21563513 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md index f7c63f51..ebb65dc6 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendMedia.md b/old_docs/API_docs_v25/methods/messages_sendMedia.md index 1019939d..674414b9 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -30,6 +30,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_sendMessage.md b/old_docs/API_docs_v25/methods/messages_sendMessage.md index 944f3364..a3b52368 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -30,6 +30,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/messages_setTyping.md b/old_docs/API_docs_v25/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/photos_deletePhotos.md b/old_docs/API_docs_v25/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md index 7afef335..41d3452c 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_changePhone.md b/old_docs/API_docs_v27/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_checkUsername.md b/old_docs/API_docs_v27/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_deleteAccount.md b/old_docs/API_docs_v27/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getPrivacy.md b/old_docs/API_docs_v27/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_resetAuthorization.md b/old_docs/API_docs_v27/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_setAccountTTL.md b/old_docs/API_docs_v27/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_setPrivacy.md b/old_docs/API_docs_v27/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_unregisterDevice.md b/old_docs/API_docs_v27/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_updateProfile.md b/old_docs/API_docs_v27/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_updateStatus.md b/old_docs/API_docs_v27/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/account_updateUsername.md b/old_docs/API_docs_v27/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/auth_sendSms.md b/old_docs/API_docs_v27/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContact.md b/old_docs/API_docs_v27/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_getContacts.md b/old_docs/API_docs_v27/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_importCard.md b/old_docs/API_docs_v27/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_importContacts.md b/old_docs/API_docs_v27/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/contacts_unblock.md b/old_docs/API_docs_v27/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_checkin.md b/old_docs/API_docs_v27/methods/geochats_checkin.md index 9f824537..39254052 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -28,6 +28,7 @@ Join a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md index d37da677..10de7003 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -31,6 +31,7 @@ Create geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md index 8f51f566..ae75e780 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -29,6 +29,7 @@ Edit geochat photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md index 85836d21..fda496a5 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -30,6 +30,7 @@ Edit geochat title if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_getFullChat.md b/old_docs/API_docs_v27/methods/geochats_getFullChat.md index df0f06db..00e259ea 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -28,6 +28,7 @@ Get full info about a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_getHistory.md b/old_docs/API_docs_v27/methods/geochats_getHistory.md index ca049a05..6a42e9fa 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -31,6 +31,7 @@ Get geochat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_getLocated.md b/old_docs/API_docs_v27/methods/geochats_getLocated.md index 03eb75e8..f5d31ab4 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -30,6 +30,7 @@ Get nearby geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_getRecents.md b/old_docs/API_docs_v27/methods/geochats_getRecents.md index 0a3e4a1d..c1980f9e 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -29,6 +29,7 @@ Get recent geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_search.md b/old_docs/API_docs_v27/methods/geochats_search.md index 8fa03b4e..25655628 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -35,6 +35,7 @@ Search messages in geocha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_sendMedia.md b/old_docs/API_docs_v27/methods/geochats_sendMedia.md index 7490e936..1eedba16 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -29,6 +29,7 @@ Send media to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_sendMessage.md b/old_docs/API_docs_v27/methods/geochats_sendMessage.md index 3a92a0e1..0ba9fc58 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -29,6 +29,7 @@ Send message to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/geochats_setTyping.md b/old_docs/API_docs_v27/methods/geochats_setTyping.md index ecdda227..fe9bad19 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -29,6 +29,7 @@ Send typing notification to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_getAppUpdate.md b/old_docs/API_docs_v27/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_getConfig.md b/old_docs/API_docs_v27/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_getNearestDc.md b/old_docs/API_docs_v27/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsg.md b/old_docs/API_docs_v27/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/invokeWithLayer.md b/old_docs/API_docs_v27/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_createChat.md b/old_docs/API_docs_v27/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_deleteHistory.md b/old_docs/API_docs_v27/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_deleteMessages.md b/old_docs/API_docs_v27/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_editChatTitle.md b/old_docs/API_docs_v27/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessage.md b/old_docs/API_docs_v27/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessages.md b/old_docs/API_docs_v27/methods/messages_forwardMessages.md index 72b48e5f..fc4b09fa 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getAllStickers.md b/old_docs/API_docs_v27/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getChats.md b/old_docs/API_docs_v27/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index f0a3fef2..97d2854c 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -30,6 +30,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index 26296676..b48f613c 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -31,6 +31,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getMessages.md b/old_docs/API_docs_v27/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getStickers.md b/old_docs/API_docs_v27/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_readHistory.md b/old_docs/API_docs_v27/methods/messages_readHistory.md index 903268e6..adc051ea 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -30,6 +30,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_readMessageContents.md b/old_docs/API_docs_v27/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_receivedMessages.md b/old_docs/API_docs_v27/methods/messages_receivedMessages.md index 2597d4c7..21563513 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendMedia.md b/old_docs/API_docs_v27/methods/messages_sendMedia.md index 1edc3ede..8c0d6dd8 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -30,6 +30,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_sendMessage.md b/old_docs/API_docs_v27/methods/messages_sendMessage.md index 526e56b9..a587e35e 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -30,6 +30,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/messages_setTyping.md b/old_docs/API_docs_v27/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/photos_deletePhotos.md b/old_docs/API_docs_v27/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md index 7afef335..41d3452c 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_changePhone.md b/old_docs/API_docs_v33/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_checkUsername.md b/old_docs/API_docs_v33/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_deleteAccount.md b/old_docs/API_docs_v33/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getPrivacy.md b/old_docs/API_docs_v33/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_resetAuthorization.md b/old_docs/API_docs_v33/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_setAccountTTL.md b/old_docs/API_docs_v33/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_setPrivacy.md b/old_docs/API_docs_v33/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_unregisterDevice.md b/old_docs/API_docs_v33/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_updateProfile.md b/old_docs/API_docs_v33/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_updateStatus.md b/old_docs/API_docs_v33/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/account_updateUsername.md b/old_docs/API_docs_v33/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/auth_sendSms.md b/old_docs/API_docs_v33/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContact.md b/old_docs/API_docs_v33/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_getContacts.md b/old_docs/API_docs_v33/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_importCard.md b/old_docs/API_docs_v33/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_importContacts.md b/old_docs/API_docs_v33/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/contacts_unblock.md b/old_docs/API_docs_v33/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_checkin.md b/old_docs/API_docs_v33/methods/geochats_checkin.md index 9f824537..39254052 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -28,6 +28,7 @@ Join a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md index d37da677..10de7003 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -31,6 +31,7 @@ Create geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md index 8f51f566..ae75e780 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -29,6 +29,7 @@ Edit geochat photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md index 85836d21..fda496a5 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -30,6 +30,7 @@ Edit geochat title if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_getFullChat.md b/old_docs/API_docs_v33/methods/geochats_getFullChat.md index df0f06db..00e259ea 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -28,6 +28,7 @@ Get full info about a geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_getHistory.md b/old_docs/API_docs_v33/methods/geochats_getHistory.md index ca049a05..6a42e9fa 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -31,6 +31,7 @@ Get geochat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_getLocated.md b/old_docs/API_docs_v33/methods/geochats_getLocated.md index 03eb75e8..f5d31ab4 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -30,6 +30,7 @@ Get nearby geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_getRecents.md b/old_docs/API_docs_v33/methods/geochats_getRecents.md index 0a3e4a1d..c1980f9e 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -29,6 +29,7 @@ Get recent geochats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_search.md b/old_docs/API_docs_v33/methods/geochats_search.md index 8fa03b4e..25655628 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -35,6 +35,7 @@ Search messages in geocha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_sendMedia.md b/old_docs/API_docs_v33/methods/geochats_sendMedia.md index 7490e936..1eedba16 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -29,6 +29,7 @@ Send media to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_sendMessage.md b/old_docs/API_docs_v33/methods/geochats_sendMessage.md index 3a92a0e1..0ba9fc58 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -29,6 +29,7 @@ Send message to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/geochats_setTyping.md b/old_docs/API_docs_v33/methods/geochats_setTyping.md index ecdda227..fe9bad19 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -29,6 +29,7 @@ Send typing notification to geochat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getAppChangelog.md b/old_docs/API_docs_v33/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getAppUpdate.md b/old_docs/API_docs_v33/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getConfig.md b/old_docs/API_docs_v33/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getNearestDc.md b/old_docs/API_docs_v33/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsg.md b/old_docs/API_docs_v33/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/invokeWithLayer.md b/old_docs/API_docs_v33/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_createChat.md b/old_docs/API_docs_v33/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_deleteHistory.md b/old_docs/API_docs_v33/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_deleteMessages.md b/old_docs/API_docs_v33/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_editChatTitle.md b/old_docs/API_docs_v33/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessage.md b/old_docs/API_docs_v33/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessages.md b/old_docs/API_docs_v33/methods/messages_forwardMessages.md index 72b48e5f..fc4b09fa 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getAllStickers.md b/old_docs/API_docs_v33/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getChats.md b/old_docs/API_docs_v33/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index f0a3fef2..97d2854c 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -30,6 +30,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index 26296676..b48f613c 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -31,6 +31,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getMessages.md b/old_docs/API_docs_v33/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getStickerSet.md b/old_docs/API_docs_v33/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getStickers.md b/old_docs/API_docs_v33/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_importChatInvite.md b/old_docs/API_docs_v33/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_installStickerSet.md b/old_docs/API_docs_v33/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_readHistory.md b/old_docs/API_docs_v33/methods/messages_readHistory.md index 903268e6..adc051ea 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -30,6 +30,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_readMessageContents.md b/old_docs/API_docs_v33/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_receivedMessages.md b/old_docs/API_docs_v33/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendMedia.md b/old_docs/API_docs_v33/methods/messages_sendMedia.md index 2ff294be..452aaa6e 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -31,6 +31,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_sendMessage.md b/old_docs/API_docs_v33/methods/messages_sendMessage.md index b9edef59..3c6d0e63 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -31,6 +31,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_setTyping.md b/old_docs/API_docs_v33/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_startBot.md b/old_docs/API_docs_v33/methods/messages_startBot.md index 37d3e12c..eb3b96b4 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/photos_deletePhotos.md b/old_docs/API_docs_v33/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_changePhone.md b/old_docs/API_docs_v38/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_checkUsername.md b/old_docs/API_docs_v38/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_deleteAccount.md b/old_docs/API_docs_v38/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getPrivacy.md b/old_docs/API_docs_v38/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_resetAuthorization.md b/old_docs/API_docs_v38/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_setAccountTTL.md b/old_docs/API_docs_v38/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_setPrivacy.md b/old_docs/API_docs_v38/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_unregisterDevice.md b/old_docs/API_docs_v38/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_updateProfile.md b/old_docs/API_docs_v38/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_updateStatus.md b/old_docs/API_docs_v38/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/account_updateUsername.md b/old_docs/API_docs_v38/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/auth_sendSms.md b/old_docs/API_docs_v38/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_createChannel.md b/old_docs/API_docs_v38/methods/channels_createChannel.md index 8dadb514..390e5590 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -30,6 +30,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_deleteChannel.md b/old_docs/API_docs_v38/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_deleteMessages.md b/old_docs/API_docs_v38/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_editAbout.md b/old_docs/API_docs_v38/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_editAdmin.md b/old_docs/API_docs_v38/methods/channels_editAdmin.md index 9e3d6ecc..83d88de8 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_editPhoto.md b/old_docs/API_docs_v38/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_editTitle.md b/old_docs/API_docs_v38/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_exportInvite.md b/old_docs/API_docs_v38/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getChannels.md b/old_docs/API_docs_v38/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getDialogs.md b/old_docs/API_docs_v38/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getMessages.md b/old_docs/API_docs_v38/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getParticipant.md b/old_docs/API_docs_v38/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_joinChannel.md b/old_docs/API_docs_v38/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_leaveChannel.md b/old_docs/API_docs_v38/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_readHistory.md b/old_docs/API_docs_v38/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_reportSpam.md b/old_docs/API_docs_v38/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_toggleComments.md b/old_docs/API_docs_v38/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/channels_updateUsername.md b/old_docs/API_docs_v38/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_block.md b/old_docs/API_docs_v38/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContact.md b/old_docs/API_docs_v38/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_getContacts.md b/old_docs/API_docs_v38/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_importCard.md b/old_docs/API_docs_v38/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_importContacts.md b/old_docs/API_docs_v38/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/contacts_unblock.md b/old_docs/API_docs_v38/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getAppChangelog.md b/old_docs/API_docs_v38/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getAppUpdate.md b/old_docs/API_docs_v38/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getConfig.md b/old_docs/API_docs_v38/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getNearestDc.md b/old_docs/API_docs_v38/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsg.md b/old_docs/API_docs_v38/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/invokeWithLayer.md b/old_docs/API_docs_v38/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_createChat.md b/old_docs/API_docs_v38/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_deleteHistory.md b/old_docs/API_docs_v38/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_deleteMessages.md b/old_docs/API_docs_v38/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_editChatTitle.md b/old_docs/API_docs_v38/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessage.md b/old_docs/API_docs_v38/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessages.md b/old_docs/API_docs_v38/methods/messages_forwardMessages.md index 5d3da5b6..f829beea 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -30,6 +30,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getAllStickers.md b/old_docs/API_docs_v38/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getChats.md b/old_docs/API_docs_v38/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index 7e926d52..570801f0 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -29,6 +29,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getMessages.md b/old_docs/API_docs_v38/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getStickerSet.md b/old_docs/API_docs_v38/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getStickers.md b/old_docs/API_docs_v38/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_importChatInvite.md b/old_docs/API_docs_v38/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_installStickerSet.md b/old_docs/API_docs_v38/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_readHistory.md b/old_docs/API_docs_v38/methods/messages_readHistory.md index 903268e6..adc051ea 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -30,6 +30,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_readMessageContents.md b/old_docs/API_docs_v38/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_receivedMessages.md b/old_docs/API_docs_v38/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendMedia.md b/old_docs/API_docs_v38/methods/messages_sendMedia.md index 2ff294be..452aaa6e 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -31,6 +31,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index 448ace88..d47ac117 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -33,6 +33,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_setTyping.md b/old_docs/API_docs_v38/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_startBot.md b/old_docs/API_docs_v38/methods/messages_startBot.md index 37d3e12c..eb3b96b4 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/photos_deletePhotos.md b/old_docs/API_docs_v38/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_changePhone.md b/old_docs/API_docs_v40/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_checkUsername.md b/old_docs/API_docs_v40/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_deleteAccount.md b/old_docs/API_docs_v40/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getPrivacy.md b/old_docs/API_docs_v40/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_resetAuthorization.md b/old_docs/API_docs_v40/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_setAccountTTL.md b/old_docs/API_docs_v40/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_setPrivacy.md b/old_docs/API_docs_v40/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_unregisterDevice.md b/old_docs/API_docs_v40/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_updateProfile.md b/old_docs/API_docs_v40/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_updateStatus.md b/old_docs/API_docs_v40/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/account_updateUsername.md b/old_docs/API_docs_v40/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/auth_sendSms.md b/old_docs/API_docs_v40/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContact.md b/old_docs/API_docs_v40/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_getContacts.md b/old_docs/API_docs_v40/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_importCard.md b/old_docs/API_docs_v40/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_importContacts.md b/old_docs/API_docs_v40/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/contacts_unblock.md b/old_docs/API_docs_v40/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getAppChangelog.md b/old_docs/API_docs_v40/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getAppUpdate.md b/old_docs/API_docs_v40/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getConfig.md b/old_docs/API_docs_v40/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getNearestDc.md b/old_docs/API_docs_v40/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsg.md b/old_docs/API_docs_v40/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/invokeWithLayer.md b/old_docs/API_docs_v40/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_createChannel.md b/old_docs/API_docs_v40/methods/messages_createChannel.md index 94cba048..3b894618 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -28,6 +28,7 @@ Create channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_createChat.md b/old_docs/API_docs_v40/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md index f3a0e0e8..0808ed3b 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -29,6 +29,7 @@ Delete channel messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_deleteHistory.md b/old_docs/API_docs_v40/methods/messages_deleteHistory.md index 6c36b930..a68f538b 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_deleteMessages.md b/old_docs/API_docs_v40/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_editChatTitle.md b/old_docs/API_docs_v40/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessage.md b/old_docs/API_docs_v40/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessages.md b/old_docs/API_docs_v40/methods/messages_forwardMessages.md index 72b48e5f..fc4b09fa 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -29,6 +29,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getAllStickers.md b/old_docs/API_docs_v40/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md index 12b4cac2..05ca6eb4 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -29,6 +29,7 @@ Get channel/supergruop dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getChats.md b/old_docs/API_docs_v40/methods/messages_getChats.md index 121a714c..7c11cf52 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index 7e926d52..570801f0 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -29,6 +29,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index ca861b25..06603c93 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -32,6 +32,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md index 981fa94d..234eae93 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -31,6 +31,7 @@ Get important message history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getMessages.md b/old_docs/API_docs_v40/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getStickerSet.md b/old_docs/API_docs_v40/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getStickers.md b/old_docs/API_docs_v40/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_importChatInvite.md b/old_docs/API_docs_v40/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_installStickerSet.md b/old_docs/API_docs_v40/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md index f82e5c3d..639595cf 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_readHistory.md b/old_docs/API_docs_v40/methods/messages_readHistory.md index 903268e6..adc051ea 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -30,6 +30,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_readMessageContents.md b/old_docs/API_docs_v40/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_receivedMessages.md b/old_docs/API_docs_v40/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendMedia.md b/old_docs/API_docs_v40/methods/messages_sendMedia.md index 2ff294be..452aaa6e 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -31,6 +31,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index 448ace88..d47ac117 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -33,6 +33,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_setTyping.md b/old_docs/API_docs_v40/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_startBot.md b/old_docs/API_docs_v40/methods/messages_startBot.md index 37d3e12c..eb3b96b4 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/photos_deletePhotos.md b/old_docs/API_docs_v40/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_changePhone.md b/old_docs/API_docs_v41/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_checkUsername.md b/old_docs/API_docs_v41/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_deleteAccount.md b/old_docs/API_docs_v41/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getPrivacy.md b/old_docs/API_docs_v41/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_resetAuthorization.md b/old_docs/API_docs_v41/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_setAccountTTL.md b/old_docs/API_docs_v41/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_setPrivacy.md b/old_docs/API_docs_v41/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_unregisterDevice.md b/old_docs/API_docs_v41/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_updateProfile.md b/old_docs/API_docs_v41/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_updateStatus.md b/old_docs/API_docs_v41/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/account_updateUsername.md b/old_docs/API_docs_v41/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/auth_sendSms.md b/old_docs/API_docs_v41/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_createChannel.md b/old_docs/API_docs_v41/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_deleteChannel.md b/old_docs/API_docs_v41/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_deleteMessages.md b/old_docs/API_docs_v41/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_editAbout.md b/old_docs/API_docs_v41/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_editAdmin.md b/old_docs/API_docs_v41/methods/channels_editAdmin.md index 9e3d6ecc..83d88de8 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_editPhoto.md b/old_docs/API_docs_v41/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_editTitle.md b/old_docs/API_docs_v41/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_exportInvite.md b/old_docs/API_docs_v41/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getChannels.md b/old_docs/API_docs_v41/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getDialogs.md b/old_docs/API_docs_v41/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getMessages.md b/old_docs/API_docs_v41/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getParticipant.md b/old_docs/API_docs_v41/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_joinChannel.md b/old_docs/API_docs_v41/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_leaveChannel.md b/old_docs/API_docs_v41/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_readHistory.md b/old_docs/API_docs_v41/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_reportSpam.md b/old_docs/API_docs_v41/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_toggleComments.md b/old_docs/API_docs_v41/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/channels_updateUsername.md b/old_docs/API_docs_v41/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_block.md b/old_docs/API_docs_v41/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContact.md b/old_docs/API_docs_v41/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_getContacts.md b/old_docs/API_docs_v41/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_importCard.md b/old_docs/API_docs_v41/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_importContacts.md b/old_docs/API_docs_v41/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/contacts_unblock.md b/old_docs/API_docs_v41/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getAppChangelog.md b/old_docs/API_docs_v41/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getAppUpdate.md b/old_docs/API_docs_v41/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getConfig.md b/old_docs/API_docs_v41/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getNearestDc.md b/old_docs/API_docs_v41/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsg.md b/old_docs/API_docs_v41/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/invokeWithLayer.md b/old_docs/API_docs_v41/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_createChat.md b/old_docs/API_docs_v41/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_deactivateChat.md b/old_docs/API_docs_v41/methods/messages_deactivateChat.md index b0d17027..43c54504 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -29,6 +29,7 @@ Deactivate chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_deleteHistory.md b/old_docs/API_docs_v41/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_deleteMessages.md b/old_docs/API_docs_v41/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_editChatTitle.md b/old_docs/API_docs_v41/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessage.md b/old_docs/API_docs_v41/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessages.md b/old_docs/API_docs_v41/methods/messages_forwardMessages.md index 3a6660b0..2ae8b2a2 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -31,6 +31,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getAllStickers.md b/old_docs/API_docs_v41/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getChats.md b/old_docs/API_docs_v41/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index 7e926d52..570801f0 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -29,6 +29,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getMessages.md b/old_docs/API_docs_v41/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getStickerSet.md b/old_docs/API_docs_v41/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getStickers.md b/old_docs/API_docs_v41/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_importChatInvite.md b/old_docs/API_docs_v41/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_installStickerSet.md b/old_docs/API_docs_v41/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_migrateChat.md b/old_docs/API_docs_v41/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_readHistory.md b/old_docs/API_docs_v41/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_readMessageContents.md b/old_docs/API_docs_v41/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_receivedMessages.md b/old_docs/API_docs_v41/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_searchGlobal.md b/old_docs/API_docs_v41/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendMedia.md b/old_docs/API_docs_v41/methods/messages_sendMedia.md index e57e9e3a..b8becd24 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -32,6 +32,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index 9968e638..98698cda 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -35,6 +35,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_setTyping.md b/old_docs/API_docs_v41/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_startBot.md b/old_docs/API_docs_v41/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/photos_deletePhotos.md b/old_docs/API_docs_v41/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_changePhone.md b/old_docs/API_docs_v42/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_checkUsername.md b/old_docs/API_docs_v42/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_deleteAccount.md b/old_docs/API_docs_v42/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getPrivacy.md b/old_docs/API_docs_v42/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_resetAuthorization.md b/old_docs/API_docs_v42/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_setAccountTTL.md b/old_docs/API_docs_v42/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_setPrivacy.md b/old_docs/API_docs_v42/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_unregisterDevice.md b/old_docs/API_docs_v42/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_updateProfile.md b/old_docs/API_docs_v42/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_updateStatus.md b/old_docs/API_docs_v42/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/account_updateUsername.md b/old_docs/API_docs_v42/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/auth_sendSms.md b/old_docs/API_docs_v42/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_createChannel.md b/old_docs/API_docs_v42/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_deleteChannel.md b/old_docs/API_docs_v42/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_deleteMessages.md b/old_docs/API_docs_v42/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_editAbout.md b/old_docs/API_docs_v42/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_editAdmin.md b/old_docs/API_docs_v42/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_editPhoto.md b/old_docs/API_docs_v42/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_editTitle.md b/old_docs/API_docs_v42/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_exportInvite.md b/old_docs/API_docs_v42/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getChannels.md b/old_docs/API_docs_v42/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getDialogs.md b/old_docs/API_docs_v42/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getMessages.md b/old_docs/API_docs_v42/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getParticipant.md b/old_docs/API_docs_v42/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_joinChannel.md b/old_docs/API_docs_v42/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_leaveChannel.md b/old_docs/API_docs_v42/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_readHistory.md b/old_docs/API_docs_v42/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_reportSpam.md b/old_docs/API_docs_v42/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_toggleComments.md b/old_docs/API_docs_v42/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/channels_updateUsername.md b/old_docs/API_docs_v42/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_block.md b/old_docs/API_docs_v42/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContact.md b/old_docs/API_docs_v42/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_getContacts.md b/old_docs/API_docs_v42/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_importCard.md b/old_docs/API_docs_v42/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_importContacts.md b/old_docs/API_docs_v42/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/contacts_unblock.md b/old_docs/API_docs_v42/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getAppChangelog.md b/old_docs/API_docs_v42/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getAppUpdate.md b/old_docs/API_docs_v42/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getConfig.md b/old_docs/API_docs_v42/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getNearestDc.md b/old_docs/API_docs_v42/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsg.md b/old_docs/API_docs_v42/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/invokeWithLayer.md b/old_docs/API_docs_v42/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_createChat.md b/old_docs/API_docs_v42/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_deleteHistory.md b/old_docs/API_docs_v42/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_deleteMessages.md b/old_docs/API_docs_v42/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_editChatTitle.md b/old_docs/API_docs_v42/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessage.md b/old_docs/API_docs_v42/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessages.md b/old_docs/API_docs_v42/methods/messages_forwardMessages.md index 3a6660b0..2ae8b2a2 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -31,6 +31,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getAllStickers.md b/old_docs/API_docs_v42/methods/messages_getAllStickers.md index c90a48ea..32a1d2be 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getChats.md b/old_docs/API_docs_v42/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getMessages.md b/old_docs/API_docs_v42/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getStickerSet.md b/old_docs/API_docs_v42/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getStickers.md b/old_docs/API_docs_v42/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_importChatInvite.md b/old_docs/API_docs_v42/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_installStickerSet.md b/old_docs/API_docs_v42/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_migrateChat.md b/old_docs/API_docs_v42/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_readHistory.md b/old_docs/API_docs_v42/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_readMessageContents.md b/old_docs/API_docs_v42/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_receivedMessages.md b/old_docs/API_docs_v42/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_searchGlobal.md b/old_docs/API_docs_v42/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendMedia.md b/old_docs/API_docs_v42/methods/messages_sendMedia.md index e57e9e3a..b8becd24 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -32,6 +32,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index 9968e638..98698cda 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -35,6 +35,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_setTyping.md b/old_docs/API_docs_v42/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_startBot.md b/old_docs/API_docs_v42/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/photos_deletePhotos.md b/old_docs/API_docs_v42/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_changePhone.md b/old_docs/API_docs_v44/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_checkUsername.md b/old_docs/API_docs_v44/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_deleteAccount.md b/old_docs/API_docs_v44/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getPrivacy.md b/old_docs/API_docs_v44/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_reportPeer.md b/old_docs/API_docs_v44/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_resetAuthorization.md b/old_docs/API_docs_v44/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_setAccountTTL.md b/old_docs/API_docs_v44/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_setPrivacy.md b/old_docs/API_docs_v44/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_unregisterDevice.md b/old_docs/API_docs_v44/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_updateProfile.md b/old_docs/API_docs_v44/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_updateStatus.md b/old_docs/API_docs_v44/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/account_updateUsername.md b/old_docs/API_docs_v44/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/auth_sendSms.md b/old_docs/API_docs_v44/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_createChannel.md b/old_docs/API_docs_v44/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_deleteChannel.md b/old_docs/API_docs_v44/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_deleteMessages.md b/old_docs/API_docs_v44/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_editAbout.md b/old_docs/API_docs_v44/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_editAdmin.md b/old_docs/API_docs_v44/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_editPhoto.md b/old_docs/API_docs_v44/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_editTitle.md b/old_docs/API_docs_v44/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_exportInvite.md b/old_docs/API_docs_v44/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getChannels.md b/old_docs/API_docs_v44/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getDialogs.md b/old_docs/API_docs_v44/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getMessages.md b/old_docs/API_docs_v44/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getParticipant.md b/old_docs/API_docs_v44/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_joinChannel.md b/old_docs/API_docs_v44/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_leaveChannel.md b/old_docs/API_docs_v44/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_readHistory.md b/old_docs/API_docs_v44/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_reportSpam.md b/old_docs/API_docs_v44/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_toggleComments.md b/old_docs/API_docs_v44/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/channels_updateUsername.md b/old_docs/API_docs_v44/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_block.md b/old_docs/API_docs_v44/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContact.md b/old_docs/API_docs_v44/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_getContacts.md b/old_docs/API_docs_v44/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_importCard.md b/old_docs/API_docs_v44/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_importContacts.md b/old_docs/API_docs_v44/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/contacts_unblock.md b/old_docs/API_docs_v44/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getAppChangelog.md b/old_docs/API_docs_v44/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getAppUpdate.md b/old_docs/API_docs_v44/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getConfig.md b/old_docs/API_docs_v44/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getNearestDc.md b/old_docs/API_docs_v44/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index 701de622..91dfcc37 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -28,6 +28,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/help_saveAppLog.md b/old_docs/API_docs_v44/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsg.md b/old_docs/API_docs_v44/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/invokeWithLayer.md b/old_docs/API_docs_v44/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_createChat.md b/old_docs/API_docs_v44/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_deleteHistory.md b/old_docs/API_docs_v44/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_deleteMessages.md b/old_docs/API_docs_v44/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_editChatTitle.md b/old_docs/API_docs_v44/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessage.md b/old_docs/API_docs_v44/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessages.md b/old_docs/API_docs_v44/methods/messages_forwardMessages.md index 3a6660b0..2ae8b2a2 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -31,6 +31,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getAllStickers.md b/old_docs/API_docs_v44/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getChats.md b/old_docs/API_docs_v44/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getMessages.md b/old_docs/API_docs_v44/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getStickerSet.md b/old_docs/API_docs_v44/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getStickers.md b/old_docs/API_docs_v44/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_importChatInvite.md b/old_docs/API_docs_v44/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_installStickerSet.md b/old_docs/API_docs_v44/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_migrateChat.md b/old_docs/API_docs_v44/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_readHistory.md b/old_docs/API_docs_v44/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_readMessageContents.md b/old_docs/API_docs_v44/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_receivedMessages.md b/old_docs/API_docs_v44/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_reportSpam.md b/old_docs/API_docs_v44/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_searchGifs.md b/old_docs/API_docs_v44/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_searchGlobal.md b/old_docs/API_docs_v44/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendMedia.md b/old_docs/API_docs_v44/methods/messages_sendMedia.md index e57e9e3a..b8becd24 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -32,6 +32,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index 9968e638..98698cda 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -35,6 +35,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_setTyping.md b/old_docs/API_docs_v44/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_startBot.md b/old_docs/API_docs_v44/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/photos_deletePhotos.md b/old_docs/API_docs_v44/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_changePhone.md b/old_docs/API_docs_v45/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_checkUsername.md b/old_docs/API_docs_v45/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_deleteAccount.md b/old_docs/API_docs_v45/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getPrivacy.md b/old_docs/API_docs_v45/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_reportPeer.md b/old_docs/API_docs_v45/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_resetAuthorization.md b/old_docs/API_docs_v45/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_setAccountTTL.md b/old_docs/API_docs_v45/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_setPrivacy.md b/old_docs/API_docs_v45/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_unregisterDevice.md b/old_docs/API_docs_v45/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_updateProfile.md b/old_docs/API_docs_v45/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_updateStatus.md b/old_docs/API_docs_v45/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/account_updateUsername.md b/old_docs/API_docs_v45/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/auth_sendSms.md b/old_docs/API_docs_v45/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_createChannel.md b/old_docs/API_docs_v45/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_deleteChannel.md b/old_docs/API_docs_v45/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_deleteMessages.md b/old_docs/API_docs_v45/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_editAbout.md b/old_docs/API_docs_v45/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_editAdmin.md b/old_docs/API_docs_v45/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_editPhoto.md b/old_docs/API_docs_v45/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_editTitle.md b/old_docs/API_docs_v45/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_exportInvite.md b/old_docs/API_docs_v45/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getChannels.md b/old_docs/API_docs_v45/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getDialogs.md b/old_docs/API_docs_v45/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getMessages.md b/old_docs/API_docs_v45/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getParticipant.md b/old_docs/API_docs_v45/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_joinChannel.md b/old_docs/API_docs_v45/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_leaveChannel.md b/old_docs/API_docs_v45/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_readHistory.md b/old_docs/API_docs_v45/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_reportSpam.md b/old_docs/API_docs_v45/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_toggleComments.md b/old_docs/API_docs_v45/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/channels_updateUsername.md b/old_docs/API_docs_v45/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_block.md b/old_docs/API_docs_v45/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContact.md b/old_docs/API_docs_v45/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_getContacts.md b/old_docs/API_docs_v45/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_importCard.md b/old_docs/API_docs_v45/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_importContacts.md b/old_docs/API_docs_v45/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/contacts_unblock.md b/old_docs/API_docs_v45/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getAppChangelog.md b/old_docs/API_docs_v45/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getAppUpdate.md b/old_docs/API_docs_v45/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getConfig.md b/old_docs/API_docs_v45/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getNearestDc.md b/old_docs/API_docs_v45/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index 701de622..91dfcc37 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -28,6 +28,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/help_saveAppLog.md b/old_docs/API_docs_v45/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsg.md b/old_docs/API_docs_v45/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/invokeWithLayer.md b/old_docs/API_docs_v45/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_createChat.md b/old_docs/API_docs_v45/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_deleteHistory.md b/old_docs/API_docs_v45/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_deleteMessages.md b/old_docs/API_docs_v45/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_editChatTitle.md b/old_docs/API_docs_v45/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessage.md b/old_docs/API_docs_v45/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessages.md b/old_docs/API_docs_v45/methods/messages_forwardMessages.md index 3a6660b0..2ae8b2a2 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -31,6 +31,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getAllStickers.md b/old_docs/API_docs_v45/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getChats.md b/old_docs/API_docs_v45/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md index 8f514a14..889b2318 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -30,6 +30,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getMessages.md b/old_docs/API_docs_v45/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getStickerSet.md b/old_docs/API_docs_v45/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getStickers.md b/old_docs/API_docs_v45/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_importChatInvite.md b/old_docs/API_docs_v45/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_installStickerSet.md b/old_docs/API_docs_v45/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_migrateChat.md b/old_docs/API_docs_v45/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_readHistory.md b/old_docs/API_docs_v45/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_readMessageContents.md b/old_docs/API_docs_v45/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_receivedMessages.md b/old_docs/API_docs_v45/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_reportSpam.md b/old_docs/API_docs_v45/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_search.md b/old_docs/API_docs_v45/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_searchGifs.md b/old_docs/API_docs_v45/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_searchGlobal.md b/old_docs/API_docs_v45/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index 4f06d93c..972858fc 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -32,6 +32,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendMedia.md b/old_docs/API_docs_v45/methods/messages_sendMedia.md index e57e9e3a..b8becd24 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -32,6 +32,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index 9968e638..98698cda 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -35,6 +35,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md index 0456eeed..45922934 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -33,6 +33,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_setTyping.md b/old_docs/API_docs_v45/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_startBot.md b/old_docs/API_docs_v45/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/photos_deletePhotos.md b/old_docs/API_docs_v45/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_changePhone.md b/old_docs/API_docs_v46/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_checkUsername.md b/old_docs/API_docs_v46/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_deleteAccount.md b/old_docs/API_docs_v46/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getPrivacy.md b/old_docs/API_docs_v46/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_reportPeer.md b/old_docs/API_docs_v46/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_resetAuthorization.md b/old_docs/API_docs_v46/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 12ea92c5..5dbf2d6a 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -28,6 +28,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_setAccountTTL.md b/old_docs/API_docs_v46/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_setPrivacy.md b/old_docs/API_docs_v46/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_unregisterDevice.md b/old_docs/API_docs_v46/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_updateProfile.md b/old_docs/API_docs_v46/methods/account_updateProfile.md index 5034a6da..0cfef01c 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -29,6 +29,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_updateStatus.md b/old_docs/API_docs_v46/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/account_updateUsername.md b/old_docs/API_docs_v46/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index e8260454..069b268d 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -29,6 +29,7 @@ Send verification phone call if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/auth_sendSms.md b/old_docs/API_docs_v46/methods/auth_sendSms.md index 050926ff..32e2dc03 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -29,6 +29,7 @@ Send SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_createChannel.md b/old_docs/API_docs_v46/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_deleteChannel.md b/old_docs/API_docs_v46/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_deleteMessages.md b/old_docs/API_docs_v46/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_editAbout.md b/old_docs/API_docs_v46/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_editAdmin.md b/old_docs/API_docs_v46/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_editPhoto.md b/old_docs/API_docs_v46/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_editTitle.md b/old_docs/API_docs_v46/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_exportInvite.md b/old_docs/API_docs_v46/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getChannels.md b/old_docs/API_docs_v46/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getDialogs.md b/old_docs/API_docs_v46/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index 374afee5..c2f035fe 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -33,6 +33,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getMessages.md b/old_docs/API_docs_v46/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getParticipant.md b/old_docs/API_docs_v46/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_joinChannel.md b/old_docs/API_docs_v46/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_leaveChannel.md b/old_docs/API_docs_v46/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_readHistory.md b/old_docs/API_docs_v46/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_reportSpam.md b/old_docs/API_docs_v46/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_toggleComments.md b/old_docs/API_docs_v46/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/channels_updateUsername.md b/old_docs/API_docs_v46/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_block.md b/old_docs/API_docs_v46/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContact.md b/old_docs/API_docs_v46/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_getContacts.md b/old_docs/API_docs_v46/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index 8183eae4..9272ebfe 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -28,6 +28,7 @@ Get suggested contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_importCard.md b/old_docs/API_docs_v46/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_importContacts.md b/old_docs/API_docs_v46/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/contacts_unblock.md b/old_docs/API_docs_v46/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getAppChangelog.md b/old_docs/API_docs_v46/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getAppUpdate.md b/old_docs/API_docs_v46/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getConfig.md b/old_docs/API_docs_v46/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getNearestDc.md b/old_docs/API_docs_v46/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index 701de622..91dfcc37 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -28,6 +28,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/help_saveAppLog.md b/old_docs/API_docs_v46/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsg.md b/old_docs/API_docs_v46/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/invokeWithLayer.md b/old_docs/API_docs_v46/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_createChat.md b/old_docs/API_docs_v46/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_deleteHistory.md b/old_docs/API_docs_v46/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_deleteMessages.md b/old_docs/API_docs_v46/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_editChatTitle.md b/old_docs/API_docs_v46/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessage.md b/old_docs/API_docs_v46/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessages.md b/old_docs/API_docs_v46/methods/messages_forwardMessages.md index 3a6660b0..2ae8b2a2 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -31,6 +31,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getAllStickers.md b/old_docs/API_docs_v46/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getChats.md b/old_docs/API_docs_v46/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index cfa5867b..5ee0edc6 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -33,6 +33,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md index 8f514a14..889b2318 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -30,6 +30,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getMessages.md b/old_docs/API_docs_v46/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getStickerSet.md b/old_docs/API_docs_v46/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getStickers.md b/old_docs/API_docs_v46/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_importChatInvite.md b/old_docs/API_docs_v46/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_installStickerSet.md b/old_docs/API_docs_v46/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_migrateChat.md b/old_docs/API_docs_v46/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_readHistory.md b/old_docs/API_docs_v46/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_readMessageContents.md b/old_docs/API_docs_v46/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_receivedMessages.md b/old_docs/API_docs_v46/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_reportSpam.md b/old_docs/API_docs_v46/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_search.md b/old_docs/API_docs_v46/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_searchGifs.md b/old_docs/API_docs_v46/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_searchGlobal.md b/old_docs/API_docs_v46/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index 4f06d93c..972858fc 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -32,6 +32,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendMedia.md b/old_docs/API_docs_v46/methods/messages_sendMedia.md index e57e9e3a..b8becd24 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -32,6 +32,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index 9968e638..98698cda 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -35,6 +35,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md index 0456eeed..45922934 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -33,6 +33,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_setTyping.md b/old_docs/API_docs_v46/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_startBot.md b/old_docs/API_docs_v46/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/photos_deletePhotos.md b/old_docs/API_docs_v46/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_changePhone.md b/old_docs/API_docs_v51/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_checkUsername.md b/old_docs/API_docs_v51/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_deleteAccount.md b/old_docs/API_docs_v51/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getPrivacy.md b/old_docs/API_docs_v51/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index 3192933d..6c11a2c3 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -34,6 +34,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_reportPeer.md b/old_docs/API_docs_v51/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_resetAuthorization.md b/old_docs/API_docs_v51/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_setAccountTTL.md b/old_docs/API_docs_v51/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_setPrivacy.md b/old_docs/API_docs_v51/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_unregisterDevice.md b/old_docs/API_docs_v51/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_updateProfile.md b/old_docs/API_docs_v51/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_updateStatus.md b/old_docs/API_docs_v51/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/account_updateUsername.md b/old_docs/API_docs_v51/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_createChannel.md b/old_docs/API_docs_v51/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_deleteChannel.md b/old_docs/API_docs_v51/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_deleteMessages.md b/old_docs/API_docs_v51/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_editAbout.md b/old_docs/API_docs_v51/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_editAdmin.md b/old_docs/API_docs_v51/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_editPhoto.md b/old_docs/API_docs_v51/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_editTitle.md b/old_docs/API_docs_v51/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_exportInvite.md b/old_docs/API_docs_v51/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getChannels.md b/old_docs/API_docs_v51/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getDialogs.md b/old_docs/API_docs_v51/methods/channels_getDialogs.md index b238558d..3297c41d 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -29,6 +29,7 @@ Get channel dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index 368a46ed..ae499c4b 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -34,6 +34,7 @@ Get important channel/supergroup history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getMessages.md b/old_docs/API_docs_v51/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getParticipant.md b/old_docs/API_docs_v51/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_joinChannel.md b/old_docs/API_docs_v51/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_leaveChannel.md b/old_docs/API_docs_v51/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_readHistory.md b/old_docs/API_docs_v51/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_reportSpam.md b/old_docs/API_docs_v51/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_toggleComments.md b/old_docs/API_docs_v51/methods/channels_toggleComments.md index 230b0315..2fd792fb 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -29,6 +29,7 @@ Enable channel comments if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_toggleInvites.md b/old_docs/API_docs_v51/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/channels_updateUsername.md b/old_docs/API_docs_v51/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_block.md b/old_docs/API_docs_v51/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContact.md b/old_docs/API_docs_v51/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_getContacts.md b/old_docs/API_docs_v51/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_importContacts.md b/old_docs/API_docs_v51/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/contacts_unblock.md b/old_docs/API_docs_v51/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getAppChangelog.md b/old_docs/API_docs_v51/methods/help_getAppChangelog.md index 872c377b..b00851d8 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -31,6 +31,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getAppUpdate.md b/old_docs/API_docs_v51/methods/help_getAppUpdate.md index 4bdf36c3..2c16bbab 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -31,6 +31,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getConfig.md b/old_docs/API_docs_v51/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index 797e2ad3..39e0a91d 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -28,6 +28,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getNearestDc.md b/old_docs/API_docs_v51/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index 701de622..91dfcc37 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -28,6 +28,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/help_saveAppLog.md b/old_docs/API_docs_v51/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsg.md b/old_docs/API_docs_v51/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/invokeWithLayer.md b/old_docs/API_docs_v51/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_createChat.md b/old_docs/API_docs_v51/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_deleteHistory.md b/old_docs/API_docs_v51/methods/messages_deleteHistory.md index 444d6758..c1542434 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -29,6 +29,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_deleteMessages.md b/old_docs/API_docs_v51/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_editChatTitle.md b/old_docs/API_docs_v51/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessage.md b/old_docs/API_docs_v51/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessages.md b/old_docs/API_docs_v51/methods/messages_forwardMessages.md index aac02a66..c394f4f3 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getAllStickers.md b/old_docs/API_docs_v51/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md index 13f68775..e09b45fb 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -30,6 +30,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getChats.md b/old_docs/API_docs_v51/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getMessages.md b/old_docs/API_docs_v51/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getStickerSet.md b/old_docs/API_docs_v51/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getStickers.md b/old_docs/API_docs_v51/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_importChatInvite.md b/old_docs/API_docs_v51/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_installStickerSet.md b/old_docs/API_docs_v51/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_migrateChat.md b/old_docs/API_docs_v51/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_readHistory.md b/old_docs/API_docs_v51/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_readMessageContents.md b/old_docs/API_docs_v51/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_receivedMessages.md b/old_docs/API_docs_v51/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_reportSpam.md b/old_docs/API_docs_v51/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_search.md b/old_docs/API_docs_v51/methods/messages_search.md index 4a1f85e3..4b9f8e28 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_searchGifs.md b/old_docs/API_docs_v51/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_searchGlobal.md b/old_docs/API_docs_v51/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index 593d4ce0..66931c58 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendMedia.md b/old_docs/API_docs_v51/methods/messages_sendMedia.md index d1c48c48..7f7d4cb6 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 8fe113a9..482cb83c 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md index 969e5343..3bad1601 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -30,6 +30,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_setTyping.md b/old_docs/API_docs_v51/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_startBot.md b/old_docs/API_docs_v51/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/photos_deletePhotos.md b/old_docs/API_docs_v51/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_changePhone.md b/old_docs/API_docs_v53/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_checkUsername.md b/old_docs/API_docs_v53/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_deleteAccount.md b/old_docs/API_docs_v53/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getPrivacy.md b/old_docs/API_docs_v53/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_reportPeer.md b/old_docs/API_docs_v53/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_resetAuthorization.md b/old_docs/API_docs_v53/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_setAccountTTL.md b/old_docs/API_docs_v53/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_setPrivacy.md b/old_docs/API_docs_v53/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_unregisterDevice.md b/old_docs/API_docs_v53/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_updateProfile.md b/old_docs/API_docs_v53/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_updateStatus.md b/old_docs/API_docs_v53/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/account_updateUsername.md b/old_docs/API_docs_v53/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_createChannel.md b/old_docs/API_docs_v53/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_deleteChannel.md b/old_docs/API_docs_v53/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_deleteMessages.md b/old_docs/API_docs_v53/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_editAbout.md b/old_docs/API_docs_v53/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_editAdmin.md b/old_docs/API_docs_v53/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_editPhoto.md b/old_docs/API_docs_v53/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_editTitle.md b/old_docs/API_docs_v53/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_exportInvite.md b/old_docs/API_docs_v53/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_getChannels.md b/old_docs/API_docs_v53/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_getParticipant.md b/old_docs/API_docs_v53/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_joinChannel.md b/old_docs/API_docs_v53/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_leaveChannel.md b/old_docs/API_docs_v53/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_readHistory.md b/old_docs/API_docs_v53/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_reportSpam.md b/old_docs/API_docs_v53/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_toggleInvites.md b/old_docs/API_docs_v53/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/channels_updateUsername.md b/old_docs/API_docs_v53/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_block.md b/old_docs/API_docs_v53/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContact.md b/old_docs/API_docs_v53/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_getContacts.md b/old_docs/API_docs_v53/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_importCard.md b/old_docs/API_docs_v53/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_importContacts.md b/old_docs/API_docs_v53/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/contacts_unblock.md b/old_docs/API_docs_v53/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getAppChangelog.md b/old_docs/API_docs_v53/methods/help_getAppChangelog.md index ce717f03..bc01e428 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -23,6 +23,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsg.md b/old_docs/API_docs_v53/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/invokeWithLayer.md b/old_docs/API_docs_v53/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_createChat.md b/old_docs/API_docs_v53/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_deleteHistory.md b/old_docs/API_docs_v53/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_deleteMessages.md b/old_docs/API_docs_v53/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_editChatTitle.md b/old_docs/API_docs_v53/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessage.md b/old_docs/API_docs_v53/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessages.md b/old_docs/API_docs_v53/methods/messages_forwardMessages.md index b90cd4f5..3d0f24cb 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -32,6 +32,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md index 13f68775..e09b45fb 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -30,6 +30,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getChats.md b/old_docs/API_docs_v53/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getMessages.md b/old_docs/API_docs_v53/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getStickerSet.md b/old_docs/API_docs_v53/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getStickers.md b/old_docs/API_docs_v53/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_importChatInvite.md b/old_docs/API_docs_v53/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_installStickerSet.md b/old_docs/API_docs_v53/methods/messages_installStickerSet.md index 41be11e1..fb9cbb8d 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_migrateChat.md b/old_docs/API_docs_v53/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_readHistory.md b/old_docs/API_docs_v53/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_readMessageContents.md b/old_docs/API_docs_v53/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_receivedMessages.md b/old_docs/API_docs_v53/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_reportSpam.md b/old_docs/API_docs_v53/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_saveGif.md b/old_docs/API_docs_v53/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_search.md b/old_docs/API_docs_v53/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_searchGifs.md b/old_docs/API_docs_v53/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_searchGlobal.md b/old_docs/API_docs_v53/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendMedia.md b/old_docs/API_docs_v53/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md index 969e5343..3bad1601 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -30,6 +30,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_setTyping.md b/old_docs/API_docs_v53/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_startBot.md b/old_docs/API_docs_v53/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/photos_deletePhotos.md b/old_docs/API_docs_v53/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_changePhone.md b/old_docs/API_docs_v55/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_checkUsername.md b/old_docs/API_docs_v55/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_confirmPhone.md b/old_docs/API_docs_v55/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_deleteAccount.md b/old_docs/API_docs_v55/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getPrivacy.md b/old_docs/API_docs_v55/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_reportPeer.md b/old_docs/API_docs_v55/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_resetAuthorization.md b/old_docs/API_docs_v55/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_setAccountTTL.md b/old_docs/API_docs_v55/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_setPrivacy.md b/old_docs/API_docs_v55/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_unregisterDevice.md b/old_docs/API_docs_v55/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_updateProfile.md b/old_docs/API_docs_v55/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_updateStatus.md b/old_docs/API_docs_v55/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/account_updateUsername.md b/old_docs/API_docs_v55/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_createChannel.md b/old_docs/API_docs_v55/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_deleteChannel.md b/old_docs/API_docs_v55/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_deleteMessages.md b/old_docs/API_docs_v55/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_editAbout.md b/old_docs/API_docs_v55/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_editAdmin.md b/old_docs/API_docs_v55/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_editPhoto.md b/old_docs/API_docs_v55/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_editTitle.md b/old_docs/API_docs_v55/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_exportInvite.md b/old_docs/API_docs_v55/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_getChannels.md b/old_docs/API_docs_v55/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_getParticipant.md b/old_docs/API_docs_v55/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_joinChannel.md b/old_docs/API_docs_v55/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_leaveChannel.md b/old_docs/API_docs_v55/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_readHistory.md b/old_docs/API_docs_v55/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_reportSpam.md b/old_docs/API_docs_v55/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_toggleInvites.md b/old_docs/API_docs_v55/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/channels_updateUsername.md b/old_docs/API_docs_v55/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_block.md b/old_docs/API_docs_v55/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContact.md b/old_docs/API_docs_v55/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_getContacts.md b/old_docs/API_docs_v55/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_importCard.md b/old_docs/API_docs_v55/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_importContacts.md b/old_docs/API_docs_v55/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/contacts_unblock.md b/old_docs/API_docs_v55/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getAppChangelog.md b/old_docs/API_docs_v55/methods/help_getAppChangelog.md index ce717f03..bc01e428 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -23,6 +23,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsg.md b/old_docs/API_docs_v55/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/invokeWithLayer.md b/old_docs/API_docs_v55/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md index d313c367..c04cc351 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -23,6 +23,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_deleteHistory.md b/old_docs/API_docs_v55/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_deleteMessages.md b/old_docs/API_docs_v55/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_editChatTitle.md b/old_docs/API_docs_v55/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessage.md b/old_docs/API_docs_v55/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessages.md b/old_docs/API_docs_v55/methods/messages_forwardMessages.md index b90cd4f5..3d0f24cb 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -32,6 +32,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md index 5c9a0a3e..a03e985a 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -29,6 +29,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md index 13f68775..e09b45fb 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -30,6 +30,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getChats.md b/old_docs/API_docs_v55/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getMessages.md b/old_docs/API_docs_v55/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md index 8476cc5d..f2530720 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -28,6 +28,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getStickerSet.md b/old_docs/API_docs_v55/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getStickers.md b/old_docs/API_docs_v55/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md index 4902f59e..bf66422b 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -28,6 +28,7 @@ Get unused stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_importChatInvite.md b/old_docs/API_docs_v55/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_installStickerSet.md b/old_docs/API_docs_v55/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_migrateChat.md b/old_docs/API_docs_v55/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md index b910a004..4174c7d1 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -23,6 +23,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_readMessageContents.md b/old_docs/API_docs_v55/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_receivedMessages.md b/old_docs/API_docs_v55/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index 372d870e..6523632c 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -28,6 +28,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_reportSpam.md b/old_docs/API_docs_v55/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_saveGif.md b/old_docs/API_docs_v55/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md index ebcf49b8..9b739c99 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -29,6 +29,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_search.md b/old_docs/API_docs_v55/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_searchGifs.md b/old_docs/API_docs_v55/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_searchGlobal.md b/old_docs/API_docs_v55/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md index 5813ba9c..3bd8e351 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -30,6 +30,7 @@ Send a message to all users in the chat list if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendMedia.md b/old_docs/API_docs_v55/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md index 9968cbe4..0286a53d 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -31,6 +31,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_setTyping.md b/old_docs/API_docs_v55/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_startBot.md b/old_docs/API_docs_v55/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/photos_deletePhotos.md b/old_docs/API_docs_v55/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md index 9dd33776..610214e7 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -29,6 +29,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md index 1debfc82..181b858c 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -31,6 +31,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_changePhone.md b/old_docs/API_docs_v57/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_checkUsername.md b/old_docs/API_docs_v57/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_confirmPhone.md b/old_docs/API_docs_v57/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_deleteAccount.md b/old_docs/API_docs_v57/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getPrivacy.md b/old_docs/API_docs_v57/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_reportPeer.md b/old_docs/API_docs_v57/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_resetAuthorization.md b/old_docs/API_docs_v57/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_setAccountTTL.md b/old_docs/API_docs_v57/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_setPrivacy.md b/old_docs/API_docs_v57/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_unregisterDevice.md b/old_docs/API_docs_v57/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_updateProfile.md b/old_docs/API_docs_v57/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_updateStatus.md b/old_docs/API_docs_v57/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/account_updateUsername.md b/old_docs/API_docs_v57/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_createChannel.md b/old_docs/API_docs_v57/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_deleteChannel.md b/old_docs/API_docs_v57/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_deleteMessages.md b/old_docs/API_docs_v57/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_editAbout.md b/old_docs/API_docs_v57/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_editAdmin.md b/old_docs/API_docs_v57/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_editPhoto.md b/old_docs/API_docs_v57/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_editTitle.md b/old_docs/API_docs_v57/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_exportInvite.md b/old_docs/API_docs_v57/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_getParticipant.md b/old_docs/API_docs_v57/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_joinChannel.md b/old_docs/API_docs_v57/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_leaveChannel.md b/old_docs/API_docs_v57/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_readHistory.md b/old_docs/API_docs_v57/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_reportSpam.md b/old_docs/API_docs_v57/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_toggleInvites.md b/old_docs/API_docs_v57/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/channels_updateUsername.md b/old_docs/API_docs_v57/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_block.md b/old_docs/API_docs_v57/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContact.md b/old_docs/API_docs_v57/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_getContacts.md b/old_docs/API_docs_v57/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_importCard.md b/old_docs/API_docs_v57/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_importContacts.md b/old_docs/API_docs_v57/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/contacts_unblock.md b/old_docs/API_docs_v57/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getAppChangelog.md b/old_docs/API_docs_v57/methods/help_getAppChangelog.md index ce717f03..bc01e428 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -23,6 +23,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsg.md b/old_docs/API_docs_v57/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/invokeWithLayer.md b/old_docs/API_docs_v57/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_createChat.md b/old_docs/API_docs_v57/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_deleteHistory.md b/old_docs/API_docs_v57/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_deleteMessages.md b/old_docs/API_docs_v57/methods/messages_deleteMessages.md index 24152bec..8bd2fe0c 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -28,6 +28,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_editChatTitle.md b/old_docs/API_docs_v57/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessage.md b/old_docs/API_docs_v57/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessages.md b/old_docs/API_docs_v57/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getChats.md b/old_docs/API_docs_v57/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index 96c0c556..8d715f56 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -31,6 +31,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getHistory.md b/old_docs/API_docs_v57/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getMessages.md b/old_docs/API_docs_v57/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getStickerSet.md b/old_docs/API_docs_v57/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_importChatInvite.md b/old_docs/API_docs_v57/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_installStickerSet.md b/old_docs/API_docs_v57/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_migrateChat.md b/old_docs/API_docs_v57/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_readHistory.md b/old_docs/API_docs_v57/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_readMessageContents.md b/old_docs/API_docs_v57/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_receivedMessages.md b/old_docs/API_docs_v57/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_reportSpam.md b/old_docs/API_docs_v57/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_saveGif.md b/old_docs/API_docs_v57/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_search.md b/old_docs/API_docs_v57/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_searchGifs.md b/old_docs/API_docs_v57/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_searchGlobal.md b/old_docs/API_docs_v57/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendMedia.md b/old_docs/API_docs_v57/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md index 9968cbe4..0286a53d 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -31,6 +31,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setGameScore.md b/old_docs/API_docs_v57/methods/messages_setGameScore.md index bb333082..fa64b73b 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -32,6 +32,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md index f2c10946..58f44f96 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -31,6 +31,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_setTyping.md b/old_docs/API_docs_v57/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_startBot.md b/old_docs/API_docs_v57/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/photos_deletePhotos.md b/old_docs/API_docs_v57/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_changePhone.md b/old_docs/API_docs_v62/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_checkUsername.md b/old_docs/API_docs_v62/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_confirmPhone.md b/old_docs/API_docs_v62/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_deleteAccount.md b/old_docs/API_docs_v62/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getPrivacy.md b/old_docs/API_docs_v62/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_reportPeer.md b/old_docs/API_docs_v62/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_resetAuthorization.md b/old_docs/API_docs_v62/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_setAccountTTL.md b/old_docs/API_docs_v62/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_setPrivacy.md b/old_docs/API_docs_v62/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_unregisterDevice.md b/old_docs/API_docs_v62/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_updateProfile.md b/old_docs/API_docs_v62/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_updateStatus.md b/old_docs/API_docs_v62/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/account_updateUsername.md b/old_docs/API_docs_v62/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_createChannel.md b/old_docs/API_docs_v62/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_deleteChannel.md b/old_docs/API_docs_v62/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_deleteMessages.md b/old_docs/API_docs_v62/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_editAbout.md b/old_docs/API_docs_v62/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_editAdmin.md b/old_docs/API_docs_v62/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_editPhoto.md b/old_docs/API_docs_v62/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_editTitle.md b/old_docs/API_docs_v62/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_exportInvite.md b/old_docs/API_docs_v62/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_getParticipant.md b/old_docs/API_docs_v62/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_joinChannel.md b/old_docs/API_docs_v62/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_leaveChannel.md b/old_docs/API_docs_v62/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_readHistory.md b/old_docs/API_docs_v62/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_reportSpam.md b/old_docs/API_docs_v62/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_toggleInvites.md b/old_docs/API_docs_v62/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/channels_updateUsername.md b/old_docs/API_docs_v62/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_block.md b/old_docs/API_docs_v62/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContact.md b/old_docs/API_docs_v62/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_getContacts.md b/old_docs/API_docs_v62/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_importCard.md b/old_docs/API_docs_v62/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_importContacts.md b/old_docs/API_docs_v62/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/contacts_unblock.md b/old_docs/API_docs_v62/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index ce717f03..bc01e428 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -23,6 +23,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/initConnection.md b/old_docs/API_docs_v62/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsg.md b/old_docs/API_docs_v62/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/invokeWithLayer.md b/old_docs/API_docs_v62/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_createChat.md b/old_docs/API_docs_v62/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_deleteHistory.md b/old_docs/API_docs_v62/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_deleteMessages.md b/old_docs/API_docs_v62/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_editChatTitle.md b/old_docs/API_docs_v62/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessage.md b/old_docs/API_docs_v62/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessages.md b/old_docs/API_docs_v62/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getAllChats.md b/old_docs/API_docs_v62/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getChats.md b/old_docs/API_docs_v62/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getCommonChats.md b/old_docs/API_docs_v62/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getHistory.md b/old_docs/API_docs_v62/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getMessages.md b/old_docs/API_docs_v62/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getStickerSet.md b/old_docs/API_docs_v62/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getWebPage.md b/old_docs/API_docs_v62/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_importChatInvite.md b/old_docs/API_docs_v62/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_installStickerSet.md b/old_docs/API_docs_v62/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_migrateChat.md b/old_docs/API_docs_v62/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_readHistory.md b/old_docs/API_docs_v62/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_readMessageContents.md b/old_docs/API_docs_v62/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_receivedMessages.md b/old_docs/API_docs_v62/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_reportSpam.md b/old_docs/API_docs_v62/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_saveGif.md b/old_docs/API_docs_v62/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_search.md b/old_docs/API_docs_v62/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_searchGifs.md b/old_docs/API_docs_v62/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_searchGlobal.md b/old_docs/API_docs_v62/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendMedia.md b/old_docs/API_docs_v62/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setGameScore.md b/old_docs/API_docs_v62/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_setTyping.md b/old_docs/API_docs_v62/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_startBot.md b/old_docs/API_docs_v62/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_changePhone.md b/old_docs/API_docs_v65/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_checkUsername.md b/old_docs/API_docs_v65/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_confirmPhone.md b/old_docs/API_docs_v65/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_deleteAccount.md b/old_docs/API_docs_v65/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getPrivacy.md b/old_docs/API_docs_v65/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getTmpPassword.md b/old_docs/API_docs_v65/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_reportPeer.md b/old_docs/API_docs_v65/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_resetAuthorization.md b/old_docs/API_docs_v65/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_setAccountTTL.md b/old_docs/API_docs_v65/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_setPrivacy.md b/old_docs/API_docs_v65/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_unregisterDevice.md b/old_docs/API_docs_v65/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_updateProfile.md b/old_docs/API_docs_v65/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_updateStatus.md b/old_docs/API_docs_v65/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/account_updateUsername.md b/old_docs/API_docs_v65/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_checkUsername.md b/old_docs/API_docs_v65/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_createChannel.md b/old_docs/API_docs_v65/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_deleteChannel.md b/old_docs/API_docs_v65/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_deleteMessages.md b/old_docs/API_docs_v65/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_editAbout.md b/old_docs/API_docs_v65/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_editAdmin.md b/old_docs/API_docs_v65/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_editPhoto.md b/old_docs/API_docs_v65/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_editTitle.md b/old_docs/API_docs_v65/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_exportInvite.md b/old_docs/API_docs_v65/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_getParticipant.md b/old_docs/API_docs_v65/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_joinChannel.md b/old_docs/API_docs_v65/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_leaveChannel.md b/old_docs/API_docs_v65/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_readHistory.md b/old_docs/API_docs_v65/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_reportSpam.md b/old_docs/API_docs_v65/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_toggleInvites.md b/old_docs/API_docs_v65/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/channels_updateUsername.md b/old_docs/API_docs_v65/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_block.md b/old_docs/API_docs_v65/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContact.md b/old_docs/API_docs_v65/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_getContacts.md b/old_docs/API_docs_v65/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_importCard.md b/old_docs/API_docs_v65/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_importContacts.md b/old_docs/API_docs_v65/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contacts_unblock.md b/old_docs/API_docs_v65/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getAppChangelog.md b/old_docs/API_docs_v65/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getAppUpdate.md b/old_docs/API_docs_v65/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/initConnection.md b/old_docs/API_docs_v65/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsg.md b/old_docs/API_docs_v65/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/invokeWithLayer.md b/old_docs/API_docs_v65/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_createChat.md b/old_docs/API_docs_v65/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_deleteHistory.md b/old_docs/API_docs_v65/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_deleteMessages.md b/old_docs/API_docs_v65/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_editChatTitle.md b/old_docs/API_docs_v65/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessage.md b/old_docs/API_docs_v65/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessages.md b/old_docs/API_docs_v65/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getAllChats.md b/old_docs/API_docs_v65/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getChats.md b/old_docs/API_docs_v65/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getCommonChats.md b/old_docs/API_docs_v65/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getHistory.md b/old_docs/API_docs_v65/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getMessages.md b/old_docs/API_docs_v65/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getStickerSet.md b/old_docs/API_docs_v65/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getWebPage.md b/old_docs/API_docs_v65/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_importChatInvite.md b/old_docs/API_docs_v65/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_installStickerSet.md b/old_docs/API_docs_v65/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_migrateChat.md b/old_docs/API_docs_v65/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_readHistory.md b/old_docs/API_docs_v65/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_readMessageContents.md b/old_docs/API_docs_v65/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_receivedMessages.md b/old_docs/API_docs_v65/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_reportSpam.md b/old_docs/API_docs_v65/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_saveGif.md b/old_docs/API_docs_v65/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_search.md b/old_docs/API_docs_v65/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_searchGifs.md b/old_docs/API_docs_v65/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_searchGlobal.md b/old_docs/API_docs_v65/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendMedia.md b/old_docs/API_docs_v65/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setGameScore.md b/old_docs/API_docs_v65/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_setTyping.md b/old_docs/API_docs_v65/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_startBot.md b/old_docs/API_docs_v65/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/phone_setCallRating.md b/old_docs/API_docs_v65/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/photos_deletePhotos.md b/old_docs/API_docs_v65/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/req_pq.md b/old_docs/API_docs_v65/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_changePhone.md b/old_docs/API_docs_v66/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v66/methods/account_changePhone.md +++ b/old_docs/API_docs_v66/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_checkUsername.md b/old_docs/API_docs_v66/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v66/methods/account_checkUsername.md +++ b/old_docs/API_docs_v66/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_confirmPhone.md b/old_docs/API_docs_v66/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v66/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v66/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_deleteAccount.md b/old_docs/API_docs_v66/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v66/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v66/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getAccountTTL.md b/old_docs/API_docs_v66/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getPassword.md b/old_docs/API_docs_v66/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getPrivacy.md b/old_docs/API_docs_v66/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v66/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getTmpPassword.md b/old_docs/API_docs_v66/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v66/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_getWallPapers.md b/old_docs/API_docs_v66/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_registerDevice.md b/old_docs/API_docs_v66/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v66/methods/account_registerDevice.md +++ b/old_docs/API_docs_v66/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_reportPeer.md b/old_docs/API_docs_v66/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v66/methods/account_reportPeer.md +++ b/old_docs/API_docs_v66/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_resetAuthorization.md b/old_docs/API_docs_v66/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v66/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v66/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_setAccountTTL.md b/old_docs/API_docs_v66/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v66/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_setPrivacy.md b/old_docs/API_docs_v66/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v66/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_unregisterDevice.md b/old_docs/API_docs_v66/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v66/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v66/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_updateProfile.md b/old_docs/API_docs_v66/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v66/methods/account_updateProfile.md +++ b/old_docs/API_docs_v66/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_updateStatus.md b/old_docs/API_docs_v66/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v66/methods/account_updateStatus.md +++ b/old_docs/API_docs_v66/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/account_updateUsername.md b/old_docs/API_docs_v66/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v66/methods/account_updateUsername.md +++ b/old_docs/API_docs_v66/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_cancelCode.md b/old_docs/API_docs_v66/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v66/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v66/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_checkPhone.md b/old_docs/API_docs_v66/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_recoverPassword.md b/old_docs/API_docs_v66/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v66/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_resendCode.md b/old_docs/API_docs_v66/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v66/methods/auth_resendCode.md +++ b/old_docs/API_docs_v66/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/auth_sendInvites.md b/old_docs/API_docs_v66/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v66/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v66/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_checkUsername.md b/old_docs/API_docs_v66/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v66/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v66/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_createChannel.md b/old_docs/API_docs_v66/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v66/methods/channels_createChannel.md +++ b/old_docs/API_docs_v66/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_deleteChannel.md b/old_docs/API_docs_v66/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v66/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_deleteMessages.md b/old_docs/API_docs_v66/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_editAbout.md b/old_docs/API_docs_v66/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v66/methods/channels_editAbout.md +++ b/old_docs/API_docs_v66/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_editAdmin.md b/old_docs/API_docs_v66/methods/channels_editAdmin.md index b41561e0..b0a8acc5 100644 --- a/old_docs/API_docs_v66/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v66/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_editPhoto.md b/old_docs/API_docs_v66/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v66/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v66/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_editTitle.md b/old_docs/API_docs_v66/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v66/methods/channels_editTitle.md +++ b/old_docs/API_docs_v66/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_exportInvite.md b/old_docs/API_docs_v66/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v66/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v66/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_getChannels.md b/old_docs/API_docs_v66/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v66/methods/channels_getChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_getMessages.md b/old_docs/API_docs_v66/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v66/methods/channels_getMessages.md +++ b/old_docs/API_docs_v66/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_getParticipant.md b/old_docs/API_docs_v66/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_joinChannel.md b/old_docs/API_docs_v66/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v66/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v66/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md index 7586bdf6..85835079 100644 --- a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md @@ -30,6 +30,7 @@ Kick user from channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_leaveChannel.md b/old_docs/API_docs_v66/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v66/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v66/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_readHistory.md b/old_docs/API_docs_v66/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v66/methods/channels_readHistory.md +++ b/old_docs/API_docs_v66/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_reportSpam.md b/old_docs/API_docs_v66/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v66/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v66/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_toggleInvites.md b/old_docs/API_docs_v66/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v66/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/channels_updateUsername.md b/old_docs/API_docs_v66/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v66/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v66/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_block.md b/old_docs/API_docs_v66/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v66/methods/contacts_block.md +++ b/old_docs/API_docs_v66/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContact.md b/old_docs/API_docs_v66/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_exportCard.md b/old_docs/API_docs_v66/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_getBlocked.md b/old_docs/API_docs_v66/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v66/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_getContacts.md b/old_docs/API_docs_v66/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v66/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_getStatuses.md b/old_docs/API_docs_v66/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md index f92611a2..da287fd6 100644 --- a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md @@ -35,6 +35,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_importCard.md b/old_docs/API_docs_v66/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v66/methods/contacts_importCard.md +++ b/old_docs/API_docs_v66/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_importContacts.md b/old_docs/API_docs_v66/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v66/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_search.md b/old_docs/API_docs_v66/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v66/methods/contacts_search.md +++ b/old_docs/API_docs_v66/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contacts_unblock.md b/old_docs/API_docs_v66/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v66/methods/contacts_unblock.md +++ b/old_docs/API_docs_v66/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v66/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v66/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/destroy_session.md b/old_docs/API_docs_v66/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v66/methods/destroy_session.md +++ b/old_docs/API_docs_v66/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v66/methods/get_future_salts.md +++ b/old_docs/API_docs_v66/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getAppChangelog.md b/old_docs/API_docs_v66/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v66/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v66/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getAppUpdate.md b/old_docs/API_docs_v66/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v66/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getCdnConfig.md b/old_docs/API_docs_v66/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v66/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v66/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getConfig.md b/old_docs/API_docs_v66/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v66/methods/help_getConfig.md +++ b/old_docs/API_docs_v66/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getInviteText.md b/old_docs/API_docs_v66/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v66/methods/help_getInviteText.md +++ b/old_docs/API_docs_v66/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getNearestDc.md b/old_docs/API_docs_v66/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v66/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v66/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getSupport.md b/old_docs/API_docs_v66/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v66/methods/help_getSupport.md +++ b/old_docs/API_docs_v66/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_getTermsOfService.md b/old_docs/API_docs_v66/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v66/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_saveAppLog.md b/old_docs/API_docs_v66/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v66/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v66/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/initConnection.md b/old_docs/API_docs_v66/methods/initConnection.md index e34794f8..82c5a24d 100644 --- a/old_docs/API_docs_v66/methods/initConnection.md +++ b/old_docs/API_docs_v66/methods/initConnection.md @@ -33,6 +33,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsg.md b/old_docs/API_docs_v66/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/invokeWithLayer.md b/old_docs/API_docs_v66/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v66/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v66/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_addChatUser.md b/old_docs/API_docs_v66/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v66/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_createChat.md b/old_docs/API_docs_v66/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v66/methods/messages_createChat.md +++ b/old_docs/API_docs_v66/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_deleteHistory.md b/old_docs/API_docs_v66/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_deleteMessages.md b/old_docs/API_docs_v66/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_editChatTitle.md b/old_docs/API_docs_v66/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v66/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_editMessage.md b/old_docs/API_docs_v66/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessage.md b/old_docs/API_docs_v66/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessages.md b/old_docs/API_docs_v66/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getAllChats.md b/old_docs/API_docs_v66/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getAllStickers.md b/old_docs/API_docs_v66/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getChats.md b/old_docs/API_docs_v66/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v66/methods/messages_getChats.md +++ b/old_docs/API_docs_v66/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getCommonChats.md b/old_docs/API_docs_v66/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v66/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getHistory.md b/old_docs/API_docs_v66/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v66/methods/messages_getHistory.md +++ b/old_docs/API_docs_v66/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getMessages.md b/old_docs/API_docs_v66/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessages.md +++ b/old_docs/API_docs_v66/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getStickerSet.md b/old_docs/API_docs_v66/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v66/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getWebPage.md b/old_docs/API_docs_v66/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_importChatInvite.md b/old_docs/API_docs_v66/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v66/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_installStickerSet.md b/old_docs/API_docs_v66/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v66/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_migrateChat.md b/old_docs/API_docs_v66/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v66/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v66/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_readHistory.md b/old_docs/API_docs_v66/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v66/methods/messages_readHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_readMessageContents.md b/old_docs/API_docs_v66/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v66/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_receivedMessages.md b/old_docs/API_docs_v66/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v66/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_reportSpam.md b/old_docs/API_docs_v66/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v66/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_saveGif.md b/old_docs/API_docs_v66/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v66/methods/messages_saveGif.md +++ b/old_docs/API_docs_v66/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_search.md b/old_docs/API_docs_v66/methods/messages_search.md index b4549f38..d04c4fab 100644 --- a/old_docs/API_docs_v66/methods/messages_search.md +++ b/old_docs/API_docs_v66/methods/messages_search.md @@ -35,6 +35,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_searchGifs.md b/old_docs/API_docs_v66/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_searchGlobal.md b/old_docs/API_docs_v66/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendMedia.md b/old_docs/API_docs_v66/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v66/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_sendMessage.md b/old_docs/API_docs_v66/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setGameScore.md b/old_docs/API_docs_v66/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v66/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_setTyping.md b/old_docs/API_docs_v66/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v66/methods/messages_setTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_startBot.md b/old_docs/API_docs_v66/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v66/methods/messages_startBot.md +++ b/old_docs/API_docs_v66/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/phone_getCallConfig.md b/old_docs/API_docs_v66/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v66/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v66/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/phone_receivedCall.md b/old_docs/API_docs_v66/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v66/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v66/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/phone_setCallRating.md b/old_docs/API_docs_v66/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v66/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v66/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/photos_deletePhotos.md b/old_docs/API_docs_v66/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v66/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v66/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/ping.md b/old_docs/API_docs_v66/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v66/methods/ping.md +++ b/old_docs/API_docs_v66/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v66/methods/req_DH_params.md +++ b/old_docs/API_docs_v66/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/req_pq.md b/old_docs/API_docs_v66/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v66/methods/req_pq.md +++ b/old_docs/API_docs_v66/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v66/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v66/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/upload_getWebFile.md b/old_docs/API_docs_v66/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v66/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v66/methods/users_getUsers.md b/old_docs/API_docs_v66/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v66/methods/users_getUsers.md +++ b/old_docs/API_docs_v66/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_changePhone.md b/old_docs/API_docs_v68/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v68/methods/account_changePhone.md +++ b/old_docs/API_docs_v68/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_checkUsername.md b/old_docs/API_docs_v68/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v68/methods/account_checkUsername.md +++ b/old_docs/API_docs_v68/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_confirmPhone.md b/old_docs/API_docs_v68/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v68/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v68/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_deleteAccount.md b/old_docs/API_docs_v68/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v68/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v68/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getAccountTTL.md b/old_docs/API_docs_v68/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v68/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getAuthorizations.md b/old_docs/API_docs_v68/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v68/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v68/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getNotifySettings.md b/old_docs/API_docs_v68/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v68/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getPassword.md b/old_docs/API_docs_v68/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v68/methods/account_getPassword.md +++ b/old_docs/API_docs_v68/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getPrivacy.md b/old_docs/API_docs_v68/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v68/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getTmpPassword.md b/old_docs/API_docs_v68/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v68/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v68/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_getWallPapers.md b/old_docs/API_docs_v68/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v68/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v68/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_registerDevice.md b/old_docs/API_docs_v68/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v68/methods/account_registerDevice.md +++ b/old_docs/API_docs_v68/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_reportPeer.md b/old_docs/API_docs_v68/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v68/methods/account_reportPeer.md +++ b/old_docs/API_docs_v68/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_resetAuthorization.md b/old_docs/API_docs_v68/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v68/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v68/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v68/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v68/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_setAccountTTL.md b/old_docs/API_docs_v68/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v68/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v68/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_setPrivacy.md b/old_docs/API_docs_v68/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v68/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v68/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_unregisterDevice.md b/old_docs/API_docs_v68/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v68/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v68/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v68/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v68/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v68/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_updateProfile.md b/old_docs/API_docs_v68/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v68/methods/account_updateProfile.md +++ b/old_docs/API_docs_v68/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_updateStatus.md b/old_docs/API_docs_v68/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v68/methods/account_updateStatus.md +++ b/old_docs/API_docs_v68/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/account_updateUsername.md b/old_docs/API_docs_v68/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v68/methods/account_updateUsername.md +++ b/old_docs/API_docs_v68/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_cancelCode.md b/old_docs/API_docs_v68/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v68/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v68/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_checkPhone.md b/old_docs/API_docs_v68/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v68/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v68/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v68/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_recoverPassword.md b/old_docs/API_docs_v68/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v68/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v68/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v68/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_resendCode.md b/old_docs/API_docs_v68/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v68/methods/auth_resendCode.md +++ b/old_docs/API_docs_v68/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v68/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/auth_sendInvites.md b/old_docs/API_docs_v68/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v68/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v68/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v68/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v68/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_checkUsername.md b/old_docs/API_docs_v68/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v68/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v68/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_createChannel.md b/old_docs/API_docs_v68/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v68/methods/channels_createChannel.md +++ b/old_docs/API_docs_v68/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_deleteChannel.md b/old_docs/API_docs_v68/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v68/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_deleteMessages.md b/old_docs/API_docs_v68/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v68/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_editAbout.md b/old_docs/API_docs_v68/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v68/methods/channels_editAbout.md +++ b/old_docs/API_docs_v68/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_editAdmin.md b/old_docs/API_docs_v68/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v68/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v68/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_editBanned.md b/old_docs/API_docs_v68/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v68/methods/channels_editBanned.md +++ b/old_docs/API_docs_v68/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_editPhoto.md b/old_docs/API_docs_v68/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v68/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v68/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_editTitle.md b/old_docs/API_docs_v68/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v68/methods/channels_editTitle.md +++ b/old_docs/API_docs_v68/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_exportInvite.md b/old_docs/API_docs_v68/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v68/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v68/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v68/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v68/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getAdminLog.md b/old_docs/API_docs_v68/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getChannels.md b/old_docs/API_docs_v68/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v68/methods/channels_getChannels.md +++ b/old_docs/API_docs_v68/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getMessages.md b/old_docs/API_docs_v68/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v68/methods/channels_getMessages.md +++ b/old_docs/API_docs_v68/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getParticipant.md b/old_docs/API_docs_v68/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_getParticipants.md b/old_docs/API_docs_v68/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v68/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v68/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v68/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_joinChannel.md b/old_docs/API_docs_v68/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v68/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v68/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_leaveChannel.md b/old_docs/API_docs_v68/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v68/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v68/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_readHistory.md b/old_docs/API_docs_v68/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v68/methods/channels_readHistory.md +++ b/old_docs/API_docs_v68/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_reportSpam.md b/old_docs/API_docs_v68/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v68/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v68/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_toggleInvites.md b/old_docs/API_docs_v68/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v68/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v68/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v68/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v68/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/channels_updateUsername.md b/old_docs/API_docs_v68/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v68/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v68/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_block.md b/old_docs/API_docs_v68/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v68/methods/contacts_block.md +++ b/old_docs/API_docs_v68/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContact.md b/old_docs/API_docs_v68/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v68/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_exportCard.md b/old_docs/API_docs_v68/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v68/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v68/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_getBlocked.md b/old_docs/API_docs_v68/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v68/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v68/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_getContacts.md b/old_docs/API_docs_v68/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v68/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_getStatuses.md b/old_docs/API_docs_v68/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v68/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v68/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v68/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v68/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_importCard.md b/old_docs/API_docs_v68/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v68/methods/contacts_importCard.md +++ b/old_docs/API_docs_v68/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_importContacts.md b/old_docs/API_docs_v68/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v68/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v68/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v68/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_search.md b/old_docs/API_docs_v68/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v68/methods/contacts_search.md +++ b/old_docs/API_docs_v68/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contacts_unblock.md b/old_docs/API_docs_v68/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v68/methods/contacts_unblock.md +++ b/old_docs/API_docs_v68/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v68/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v68/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v68/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/destroy_session.md b/old_docs/API_docs_v68/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v68/methods/destroy_session.md +++ b/old_docs/API_docs_v68/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v68/methods/get_future_salts.md +++ b/old_docs/API_docs_v68/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getAppChangelog.md b/old_docs/API_docs_v68/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v68/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v68/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getAppUpdate.md b/old_docs/API_docs_v68/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v68/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v68/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getCdnConfig.md b/old_docs/API_docs_v68/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v68/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v68/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getConfig.md b/old_docs/API_docs_v68/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v68/methods/help_getConfig.md +++ b/old_docs/API_docs_v68/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getInviteText.md b/old_docs/API_docs_v68/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v68/methods/help_getInviteText.md +++ b/old_docs/API_docs_v68/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getNearestDc.md b/old_docs/API_docs_v68/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v68/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v68/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getSupport.md b/old_docs/API_docs_v68/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v68/methods/help_getSupport.md +++ b/old_docs/API_docs_v68/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_getTermsOfService.md b/old_docs/API_docs_v68/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v68/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v68/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_saveAppLog.md b/old_docs/API_docs_v68/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v68/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v68/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v68/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/initConnection.md b/old_docs/API_docs_v68/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v68/methods/initConnection.md +++ b/old_docs/API_docs_v68/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsg.md b/old_docs/API_docs_v68/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v68/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v68/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/invokeWithLayer.md b/old_docs/API_docs_v68/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v68/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v68/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v68/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/langpack_getDifference.md b/old_docs/API_docs_v68/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v68/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v68/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/langpack_getLangPack.md b/old_docs/API_docs_v68/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v68/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/langpack_getLanguages.md b/old_docs/API_docs_v68/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v68/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v68/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/langpack_getStrings.md b/old_docs/API_docs_v68/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v68/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v68/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_addChatUser.md b/old_docs/API_docs_v68/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v68/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v68/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_createChat.md b/old_docs/API_docs_v68/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v68/methods/messages_createChat.md +++ b/old_docs/API_docs_v68/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v68/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_deleteHistory.md b/old_docs/API_docs_v68/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v68/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_deleteMessages.md b/old_docs/API_docs_v68/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v68/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v68/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v68/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v68/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_editChatTitle.md b/old_docs/API_docs_v68/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v68/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v68/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_editMessage.md b/old_docs/API_docs_v68/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v68/methods/messages_editMessage.md +++ b/old_docs/API_docs_v68/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v68/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessage.md b/old_docs/API_docs_v68/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_forwardMessages.md b/old_docs/API_docs_v68/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v68/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v68/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getAllChats.md b/old_docs/API_docs_v68/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v68/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v68/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getAllStickers.md b/old_docs/API_docs_v68/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v68/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getChats.md b/old_docs/API_docs_v68/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v68/methods/messages_getChats.md +++ b/old_docs/API_docs_v68/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getCommonChats.md b/old_docs/API_docs_v68/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v68/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v68/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getDialogs.md b/old_docs/API_docs_v68/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v68/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v68/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v68/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getHistory.md b/old_docs/API_docs_v68/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v68/methods/messages_getHistory.md +++ b/old_docs/API_docs_v68/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v68/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v68/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getMessages.md b/old_docs/API_docs_v68/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessages.md +++ b/old_docs/API_docs_v68/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v68/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v68/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v68/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v68/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v68/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v68/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v68/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getStickerSet.md b/old_docs/API_docs_v68/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v68/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getWebPage.md b/old_docs/API_docs_v68/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v68/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v68/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_importChatInvite.md b/old_docs/API_docs_v68/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v68/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v68/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_installStickerSet.md b/old_docs/API_docs_v68/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v68/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_migrateChat.md b/old_docs/API_docs_v68/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v68/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v68/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_readHistory.md b/old_docs/API_docs_v68/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v68/methods/messages_readHistory.md +++ b/old_docs/API_docs_v68/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_readMessageContents.md b/old_docs/API_docs_v68/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v68/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v68/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_receivedMessages.md b/old_docs/API_docs_v68/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v68/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v68/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v68/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_reportSpam.md b/old_docs/API_docs_v68/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v68/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v68/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_saveDraft.md b/old_docs/API_docs_v68/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v68/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v68/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_saveGif.md b/old_docs/API_docs_v68/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v68/methods/messages_saveGif.md +++ b/old_docs/API_docs_v68/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v68/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_search.md b/old_docs/API_docs_v68/methods/messages_search.md index 358913c9..fe496cc9 100644 --- a/old_docs/API_docs_v68/methods/messages_search.md +++ b/old_docs/API_docs_v68/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_searchGifs.md b/old_docs/API_docs_v68/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v68/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_searchGlobal.md b/old_docs/API_docs_v68/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v68/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v68/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v68/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v68/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendMedia.md b/old_docs/API_docs_v68/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v68/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_sendMessage.md b/old_docs/API_docs_v68/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v68/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v68/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v68/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setGameScore.md b/old_docs/API_docs_v68/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v68/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v68/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_setTyping.md b/old_docs/API_docs_v68/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v68/methods/messages_setTyping.md +++ b/old_docs/API_docs_v68/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_startBot.md b/old_docs/API_docs_v68/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v68/methods/messages_startBot.md +++ b/old_docs/API_docs_v68/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v68/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v68/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/messages_uploadMedia.md b/old_docs/API_docs_v68/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v68/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v68/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v68/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v68/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v68/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/phone_getCallConfig.md b/old_docs/API_docs_v68/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v68/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v68/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/phone_receivedCall.md b/old_docs/API_docs_v68/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v68/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v68/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v68/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v68/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/phone_setCallRating.md b/old_docs/API_docs_v68/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v68/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v68/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/photos_deletePhotos.md b/old_docs/API_docs_v68/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v68/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v68/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v68/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v68/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/ping.md b/old_docs/API_docs_v68/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v68/methods/ping.md +++ b/old_docs/API_docs_v68/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v68/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v68/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v68/methods/req_DH_params.md +++ b/old_docs/API_docs_v68/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/req_pq.md b/old_docs/API_docs_v68/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v68/methods/req_pq.md +++ b/old_docs/API_docs_v68/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v68/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v68/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v68/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md index 1507d9df..4899404e 100644 --- a/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v68/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v68/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v68/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md index d3b80524..d9fba1ee 100644 --- a/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v68/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/upload_getWebFile.md b/old_docs/API_docs_v68/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v68/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v68/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v68/methods/users_getUsers.md b/old_docs/API_docs_v68/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v68/methods/users_getUsers.md +++ b/old_docs/API_docs_v68/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_changePhone.md b/old_docs/API_docs_v70/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v70/methods/account_changePhone.md +++ b/old_docs/API_docs_v70/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_checkUsername.md b/old_docs/API_docs_v70/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v70/methods/account_checkUsername.md +++ b/old_docs/API_docs_v70/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_confirmPhone.md b/old_docs/API_docs_v70/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v70/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v70/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_deleteAccount.md b/old_docs/API_docs_v70/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v70/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v70/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getAccountTTL.md b/old_docs/API_docs_v70/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v70/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getAuthorizations.md b/old_docs/API_docs_v70/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v70/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v70/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getNotifySettings.md b/old_docs/API_docs_v70/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v70/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getPassword.md b/old_docs/API_docs_v70/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v70/methods/account_getPassword.md +++ b/old_docs/API_docs_v70/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getPrivacy.md b/old_docs/API_docs_v70/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v70/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getTmpPassword.md b/old_docs/API_docs_v70/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v70/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v70/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_getWallPapers.md b/old_docs/API_docs_v70/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v70/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v70/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_registerDevice.md b/old_docs/API_docs_v70/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v70/methods/account_registerDevice.md +++ b/old_docs/API_docs_v70/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_reportPeer.md b/old_docs/API_docs_v70/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v70/methods/account_reportPeer.md +++ b/old_docs/API_docs_v70/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_resetAuthorization.md b/old_docs/API_docs_v70/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v70/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v70/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v70/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v70/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_setAccountTTL.md b/old_docs/API_docs_v70/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v70/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v70/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_setPrivacy.md b/old_docs/API_docs_v70/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v70/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v70/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_unregisterDevice.md b/old_docs/API_docs_v70/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v70/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v70/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v70/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v70/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v70/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_updateProfile.md b/old_docs/API_docs_v70/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v70/methods/account_updateProfile.md +++ b/old_docs/API_docs_v70/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_updateStatus.md b/old_docs/API_docs_v70/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v70/methods/account_updateStatus.md +++ b/old_docs/API_docs_v70/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/account_updateUsername.md b/old_docs/API_docs_v70/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v70/methods/account_updateUsername.md +++ b/old_docs/API_docs_v70/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_cancelCode.md b/old_docs/API_docs_v70/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v70/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v70/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_checkPhone.md b/old_docs/API_docs_v70/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v70/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v70/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v70/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_recoverPassword.md b/old_docs/API_docs_v70/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v70/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v70/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v70/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_resendCode.md b/old_docs/API_docs_v70/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v70/methods/auth_resendCode.md +++ b/old_docs/API_docs_v70/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v70/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/auth_sendInvites.md b/old_docs/API_docs_v70/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v70/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v70/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v70/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v70/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_checkUsername.md b/old_docs/API_docs_v70/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v70/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v70/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_createChannel.md b/old_docs/API_docs_v70/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v70/methods/channels_createChannel.md +++ b/old_docs/API_docs_v70/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_deleteChannel.md b/old_docs/API_docs_v70/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v70/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_deleteMessages.md b/old_docs/API_docs_v70/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v70/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_editAbout.md b/old_docs/API_docs_v70/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v70/methods/channels_editAbout.md +++ b/old_docs/API_docs_v70/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_editAdmin.md b/old_docs/API_docs_v70/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v70/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v70/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_editBanned.md b/old_docs/API_docs_v70/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v70/methods/channels_editBanned.md +++ b/old_docs/API_docs_v70/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_editPhoto.md b/old_docs/API_docs_v70/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v70/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v70/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_editTitle.md b/old_docs/API_docs_v70/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v70/methods/channels_editTitle.md +++ b/old_docs/API_docs_v70/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_exportInvite.md b/old_docs/API_docs_v70/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v70/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v70/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v70/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v70/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getAdminLog.md b/old_docs/API_docs_v70/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getChannels.md b/old_docs/API_docs_v70/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v70/methods/channels_getChannels.md +++ b/old_docs/API_docs_v70/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getMessages.md b/old_docs/API_docs_v70/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v70/methods/channels_getMessages.md +++ b/old_docs/API_docs_v70/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getParticipant.md b/old_docs/API_docs_v70/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_getParticipants.md b/old_docs/API_docs_v70/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v70/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v70/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v70/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v70/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_joinChannel.md b/old_docs/API_docs_v70/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v70/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v70/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_leaveChannel.md b/old_docs/API_docs_v70/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v70/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v70/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_readHistory.md b/old_docs/API_docs_v70/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v70/methods/channels_readHistory.md +++ b/old_docs/API_docs_v70/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_reportSpam.md b/old_docs/API_docs_v70/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v70/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v70/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_toggleInvites.md b/old_docs/API_docs_v70/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v70/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v70/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v70/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v70/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/channels_updateUsername.md b/old_docs/API_docs_v70/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v70/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v70/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_block.md b/old_docs/API_docs_v70/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v70/methods/contacts_block.md +++ b/old_docs/API_docs_v70/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContact.md b/old_docs/API_docs_v70/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v70/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_exportCard.md b/old_docs/API_docs_v70/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v70/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v70/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_getBlocked.md b/old_docs/API_docs_v70/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v70/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v70/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_getContacts.md b/old_docs/API_docs_v70/methods/contacts_getContacts.md index dfa407f2..7d838aa0 100644 --- a/old_docs/API_docs_v70/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_getStatuses.md b/old_docs/API_docs_v70/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v70/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v70/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v70/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v70/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_importCard.md b/old_docs/API_docs_v70/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v70/methods/contacts_importCard.md +++ b/old_docs/API_docs_v70/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_importContacts.md b/old_docs/API_docs_v70/methods/contacts_importContacts.md index f1b17e2c..197375a5 100644 --- a/old_docs/API_docs_v70/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v70/methods/contacts_importContacts.md @@ -29,6 +29,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v70/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_search.md b/old_docs/API_docs_v70/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v70/methods/contacts_search.md +++ b/old_docs/API_docs_v70/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contacts_unblock.md b/old_docs/API_docs_v70/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v70/methods/contacts_unblock.md +++ b/old_docs/API_docs_v70/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v70/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v70/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v70/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/destroy_session.md b/old_docs/API_docs_v70/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v70/methods/destroy_session.md +++ b/old_docs/API_docs_v70/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v70/methods/get_future_salts.md +++ b/old_docs/API_docs_v70/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getAppChangelog.md b/old_docs/API_docs_v70/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v70/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v70/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getAppUpdate.md b/old_docs/API_docs_v70/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v70/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v70/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getCdnConfig.md b/old_docs/API_docs_v70/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v70/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v70/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getConfig.md b/old_docs/API_docs_v70/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v70/methods/help_getConfig.md +++ b/old_docs/API_docs_v70/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getInviteText.md b/old_docs/API_docs_v70/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v70/methods/help_getInviteText.md +++ b/old_docs/API_docs_v70/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getNearestDc.md b/old_docs/API_docs_v70/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v70/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v70/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getSupport.md b/old_docs/API_docs_v70/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v70/methods/help_getSupport.md +++ b/old_docs/API_docs_v70/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_getTermsOfService.md b/old_docs/API_docs_v70/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v70/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v70/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_saveAppLog.md b/old_docs/API_docs_v70/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v70/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v70/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v70/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/initConnection.md b/old_docs/API_docs_v70/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v70/methods/initConnection.md +++ b/old_docs/API_docs_v70/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsg.md b/old_docs/API_docs_v70/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v70/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v70/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/invokeWithLayer.md b/old_docs/API_docs_v70/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v70/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v70/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v70/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/langpack_getDifference.md b/old_docs/API_docs_v70/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v70/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v70/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/langpack_getLangPack.md b/old_docs/API_docs_v70/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v70/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/langpack_getLanguages.md b/old_docs/API_docs_v70/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v70/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v70/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/langpack_getStrings.md b/old_docs/API_docs_v70/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v70/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v70/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_addChatUser.md b/old_docs/API_docs_v70/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v70/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v70/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_createChat.md b/old_docs/API_docs_v70/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v70/methods/messages_createChat.md +++ b/old_docs/API_docs_v70/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v70/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_deleteHistory.md b/old_docs/API_docs_v70/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v70/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_deleteMessages.md b/old_docs/API_docs_v70/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v70/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v70/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v70/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v70/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_editChatTitle.md b/old_docs/API_docs_v70/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v70/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v70/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_editMessage.md b/old_docs/API_docs_v70/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v70/methods/messages_editMessage.md +++ b/old_docs/API_docs_v70/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v70/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessage.md b/old_docs/API_docs_v70/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_forwardMessages.md b/old_docs/API_docs_v70/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v70/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v70/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getAllChats.md b/old_docs/API_docs_v70/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v70/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v70/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getAllStickers.md b/old_docs/API_docs_v70/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v70/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getChats.md b/old_docs/API_docs_v70/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v70/methods/messages_getChats.md +++ b/old_docs/API_docs_v70/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getCommonChats.md b/old_docs/API_docs_v70/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v70/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v70/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getDialogs.md b/old_docs/API_docs_v70/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v70/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v70/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v70/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getHistory.md b/old_docs/API_docs_v70/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v70/methods/messages_getHistory.md +++ b/old_docs/API_docs_v70/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v70/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v70/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getMessages.md b/old_docs/API_docs_v70/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessages.md +++ b/old_docs/API_docs_v70/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v70/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v70/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v70/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v70/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v70/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v70/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v70/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getStickerSet.md b/old_docs/API_docs_v70/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v70/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getWebPage.md b/old_docs/API_docs_v70/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v70/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v70/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_importChatInvite.md b/old_docs/API_docs_v70/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v70/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v70/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_installStickerSet.md b/old_docs/API_docs_v70/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v70/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_migrateChat.md b/old_docs/API_docs_v70/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v70/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v70/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_readHistory.md b/old_docs/API_docs_v70/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v70/methods/messages_readHistory.md +++ b/old_docs/API_docs_v70/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_readMessageContents.md b/old_docs/API_docs_v70/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v70/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v70/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_receivedMessages.md b/old_docs/API_docs_v70/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v70/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v70/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v70/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_reportSpam.md b/old_docs/API_docs_v70/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v70/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v70/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_saveDraft.md b/old_docs/API_docs_v70/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v70/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v70/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_saveGif.md b/old_docs/API_docs_v70/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v70/methods/messages_saveGif.md +++ b/old_docs/API_docs_v70/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v70/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_search.md b/old_docs/API_docs_v70/methods/messages_search.md index 358913c9..fe496cc9 100644 --- a/old_docs/API_docs_v70/methods/messages_search.md +++ b/old_docs/API_docs_v70/methods/messages_search.md @@ -36,6 +36,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_searchGifs.md b/old_docs/API_docs_v70/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v70/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_searchGlobal.md b/old_docs/API_docs_v70/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v70/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v70/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v70/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v70/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendMedia.md b/old_docs/API_docs_v70/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v70/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendMessage.md b/old_docs/API_docs_v70/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v70/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v70/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v70/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v70/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setGameScore.md b/old_docs/API_docs_v70/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v70/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v70/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_setTyping.md b/old_docs/API_docs_v70/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v70/methods/messages_setTyping.md +++ b/old_docs/API_docs_v70/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_startBot.md b/old_docs/API_docs_v70/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v70/methods/messages_startBot.md +++ b/old_docs/API_docs_v70/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v70/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v70/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/messages_uploadMedia.md b/old_docs/API_docs_v70/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v70/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v70/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v70/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v70/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v70/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/phone_getCallConfig.md b/old_docs/API_docs_v70/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v70/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v70/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/phone_receivedCall.md b/old_docs/API_docs_v70/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v70/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v70/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v70/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v70/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/phone_setCallRating.md b/old_docs/API_docs_v70/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v70/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v70/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/photos_deletePhotos.md b/old_docs/API_docs_v70/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v70/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v70/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v70/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v70/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/ping.md b/old_docs/API_docs_v70/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v70/methods/ping.md +++ b/old_docs/API_docs_v70/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v70/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v70/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v70/methods/req_DH_params.md +++ b/old_docs/API_docs_v70/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/req_pq.md b/old_docs/API_docs_v70/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v70/methods/req_pq.md +++ b/old_docs/API_docs_v70/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v70/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v70/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v70/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v70/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v70/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v70/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v70/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/upload_getWebFile.md b/old_docs/API_docs_v70/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v70/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v70/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v70/methods/users_getUsers.md b/old_docs/API_docs_v70/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v70/methods/users_getUsers.md +++ b/old_docs/API_docs_v70/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_changePhone.md b/old_docs/API_docs_v71/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v71/methods/account_changePhone.md +++ b/old_docs/API_docs_v71/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_checkUsername.md b/old_docs/API_docs_v71/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v71/methods/account_checkUsername.md +++ b/old_docs/API_docs_v71/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_confirmPhone.md b/old_docs/API_docs_v71/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v71/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v71/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_deleteAccount.md b/old_docs/API_docs_v71/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v71/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v71/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getAccountTTL.md b/old_docs/API_docs_v71/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v71/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getAuthorizations.md b/old_docs/API_docs_v71/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v71/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v71/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getNotifySettings.md b/old_docs/API_docs_v71/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v71/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getPassword.md b/old_docs/API_docs_v71/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v71/methods/account_getPassword.md +++ b/old_docs/API_docs_v71/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getPrivacy.md b/old_docs/API_docs_v71/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v71/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getTmpPassword.md b/old_docs/API_docs_v71/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v71/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v71/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_getWallPapers.md b/old_docs/API_docs_v71/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v71/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v71/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_registerDevice.md b/old_docs/API_docs_v71/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v71/methods/account_registerDevice.md +++ b/old_docs/API_docs_v71/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_reportPeer.md b/old_docs/API_docs_v71/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v71/methods/account_reportPeer.md +++ b/old_docs/API_docs_v71/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_resetAuthorization.md b/old_docs/API_docs_v71/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v71/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v71/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v71/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v71/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_setAccountTTL.md b/old_docs/API_docs_v71/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v71/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v71/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_setPrivacy.md b/old_docs/API_docs_v71/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v71/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v71/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_unregisterDevice.md b/old_docs/API_docs_v71/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v71/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v71/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v71/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v71/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v71/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_updateProfile.md b/old_docs/API_docs_v71/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v71/methods/account_updateProfile.md +++ b/old_docs/API_docs_v71/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_updateStatus.md b/old_docs/API_docs_v71/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v71/methods/account_updateStatus.md +++ b/old_docs/API_docs_v71/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/account_updateUsername.md b/old_docs/API_docs_v71/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v71/methods/account_updateUsername.md +++ b/old_docs/API_docs_v71/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_cancelCode.md b/old_docs/API_docs_v71/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v71/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v71/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_checkPhone.md b/old_docs/API_docs_v71/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v71/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v71/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v71/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_recoverPassword.md b/old_docs/API_docs_v71/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v71/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v71/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v71/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_resendCode.md b/old_docs/API_docs_v71/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v71/methods/auth_resendCode.md +++ b/old_docs/API_docs_v71/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v71/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/auth_sendInvites.md b/old_docs/API_docs_v71/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v71/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v71/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v71/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v71/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_checkUsername.md b/old_docs/API_docs_v71/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v71/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v71/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_createChannel.md b/old_docs/API_docs_v71/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v71/methods/channels_createChannel.md +++ b/old_docs/API_docs_v71/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_deleteChannel.md b/old_docs/API_docs_v71/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v71/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_deleteMessages.md b/old_docs/API_docs_v71/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v71/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_editAbout.md b/old_docs/API_docs_v71/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v71/methods/channels_editAbout.md +++ b/old_docs/API_docs_v71/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_editAdmin.md b/old_docs/API_docs_v71/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v71/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v71/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_editBanned.md b/old_docs/API_docs_v71/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v71/methods/channels_editBanned.md +++ b/old_docs/API_docs_v71/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_editPhoto.md b/old_docs/API_docs_v71/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v71/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v71/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_editTitle.md b/old_docs/API_docs_v71/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v71/methods/channels_editTitle.md +++ b/old_docs/API_docs_v71/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_exportInvite.md b/old_docs/API_docs_v71/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v71/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v71/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v71/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v71/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getAdminLog.md b/old_docs/API_docs_v71/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getChannels.md b/old_docs/API_docs_v71/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v71/methods/channels_getChannels.md +++ b/old_docs/API_docs_v71/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getMessages.md b/old_docs/API_docs_v71/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v71/methods/channels_getMessages.md +++ b/old_docs/API_docs_v71/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getParticipant.md b/old_docs/API_docs_v71/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_getParticipants.md b/old_docs/API_docs_v71/methods/channels_getParticipants.md index 3d4dfa13..5f8c206d 100644 --- a/old_docs/API_docs_v71/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v71/methods/channels_getParticipants.md @@ -31,6 +31,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v71/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v71/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_joinChannel.md b/old_docs/API_docs_v71/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v71/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v71/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_leaveChannel.md b/old_docs/API_docs_v71/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v71/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v71/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_readHistory.md b/old_docs/API_docs_v71/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v71/methods/channels_readHistory.md +++ b/old_docs/API_docs_v71/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_readMessageContents.md b/old_docs/API_docs_v71/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v71/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_reportSpam.md b/old_docs/API_docs_v71/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v71/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v71/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_setStickers.md b/old_docs/API_docs_v71/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v71/methods/channels_setStickers.md +++ b/old_docs/API_docs_v71/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_toggleInvites.md b/old_docs/API_docs_v71/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v71/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v71/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v71/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v71/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/channels_updateUsername.md b/old_docs/API_docs_v71/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v71/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v71/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_block.md b/old_docs/API_docs_v71/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v71/methods/contacts_block.md +++ b/old_docs/API_docs_v71/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContact.md b/old_docs/API_docs_v71/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v71/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_exportCard.md b/old_docs/API_docs_v71/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v71/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v71/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_getBlocked.md b/old_docs/API_docs_v71/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v71/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v71/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_getContacts.md b/old_docs/API_docs_v71/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v71/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_getStatuses.md b/old_docs/API_docs_v71/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v71/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v71/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v71/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v71/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_importCard.md b/old_docs/API_docs_v71/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v71/methods/contacts_importCard.md +++ b/old_docs/API_docs_v71/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_importContacts.md b/old_docs/API_docs_v71/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v71/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v71/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_resetSaved.md b/old_docs/API_docs_v71/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v71/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v71/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_search.md b/old_docs/API_docs_v71/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v71/methods/contacts_search.md +++ b/old_docs/API_docs_v71/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contacts_unblock.md b/old_docs/API_docs_v71/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v71/methods/contacts_unblock.md +++ b/old_docs/API_docs_v71/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v71/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v71/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v71/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/destroy_session.md b/old_docs/API_docs_v71/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v71/methods/destroy_session.md +++ b/old_docs/API_docs_v71/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v71/methods/get_future_salts.md +++ b/old_docs/API_docs_v71/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getAppChangelog.md b/old_docs/API_docs_v71/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v71/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v71/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getAppUpdate.md b/old_docs/API_docs_v71/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v71/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v71/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getCdnConfig.md b/old_docs/API_docs_v71/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v71/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v71/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getConfig.md b/old_docs/API_docs_v71/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v71/methods/help_getConfig.md +++ b/old_docs/API_docs_v71/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getInviteText.md b/old_docs/API_docs_v71/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v71/methods/help_getInviteText.md +++ b/old_docs/API_docs_v71/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getNearestDc.md b/old_docs/API_docs_v71/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v71/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v71/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getSupport.md b/old_docs/API_docs_v71/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v71/methods/help_getSupport.md +++ b/old_docs/API_docs_v71/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_getTermsOfService.md b/old_docs/API_docs_v71/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v71/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v71/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_saveAppLog.md b/old_docs/API_docs_v71/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v71/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v71/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v71/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/initConnection.md b/old_docs/API_docs_v71/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v71/methods/initConnection.md +++ b/old_docs/API_docs_v71/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsg.md b/old_docs/API_docs_v71/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v71/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v71/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/invokeWithLayer.md b/old_docs/API_docs_v71/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v71/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v71/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v71/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/langpack_getDifference.md b/old_docs/API_docs_v71/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v71/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v71/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/langpack_getLangPack.md b/old_docs/API_docs_v71/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v71/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/langpack_getLanguages.md b/old_docs/API_docs_v71/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v71/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v71/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/langpack_getStrings.md b/old_docs/API_docs_v71/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v71/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v71/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_addChatUser.md b/old_docs/API_docs_v71/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v71/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v71/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_createChat.md b/old_docs/API_docs_v71/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v71/methods/messages_createChat.md +++ b/old_docs/API_docs_v71/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v71/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_deleteHistory.md b/old_docs/API_docs_v71/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v71/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_deleteMessages.md b/old_docs/API_docs_v71/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v71/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v71/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v71/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v71/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_editChatTitle.md b/old_docs/API_docs_v71/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v71/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v71/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_editMessage.md b/old_docs/API_docs_v71/methods/messages_editMessage.md index 2b4d63a1..398aeb05 100644 --- a/old_docs/API_docs_v71/methods/messages_editMessage.md +++ b/old_docs/API_docs_v71/methods/messages_editMessage.md @@ -34,6 +34,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v71/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_faveSticker.md b/old_docs/API_docs_v71/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v71/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v71/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessage.md b/old_docs/API_docs_v71/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_forwardMessages.md b/old_docs/API_docs_v71/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v71/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v71/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getAllChats.md b/old_docs/API_docs_v71/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v71/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v71/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getAllStickers.md b/old_docs/API_docs_v71/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v71/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getChats.md b/old_docs/API_docs_v71/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v71/methods/messages_getChats.md +++ b/old_docs/API_docs_v71/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getCommonChats.md b/old_docs/API_docs_v71/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v71/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v71/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getDialogs.md b/old_docs/API_docs_v71/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v71/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v71/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v71/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v71/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getHistory.md b/old_docs/API_docs_v71/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v71/methods/messages_getHistory.md +++ b/old_docs/API_docs_v71/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v71/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v71/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getMessages.md b/old_docs/API_docs_v71/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessages.md +++ b/old_docs/API_docs_v71/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v71/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v71/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v71/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v71/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v71/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v71/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v71/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getStickerSet.md b/old_docs/API_docs_v71/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v71/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v71/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getWebPage.md b/old_docs/API_docs_v71/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v71/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v71/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_importChatInvite.md b/old_docs/API_docs_v71/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v71/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v71/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_installStickerSet.md b/old_docs/API_docs_v71/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v71/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_migrateChat.md b/old_docs/API_docs_v71/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v71/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v71/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_readHistory.md b/old_docs/API_docs_v71/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v71/methods/messages_readHistory.md +++ b/old_docs/API_docs_v71/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_readMessageContents.md b/old_docs/API_docs_v71/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v71/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v71/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_receivedMessages.md b/old_docs/API_docs_v71/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v71/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v71/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v71/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_reportSpam.md b/old_docs/API_docs_v71/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v71/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v71/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_saveDraft.md b/old_docs/API_docs_v71/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v71/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v71/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_saveGif.md b/old_docs/API_docs_v71/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v71/methods/messages_saveGif.md +++ b/old_docs/API_docs_v71/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v71/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_search.md b/old_docs/API_docs_v71/methods/messages_search.md index 85ff60bc..2d50712f 100644 --- a/old_docs/API_docs_v71/methods/messages_search.md +++ b/old_docs/API_docs_v71/methods/messages_search.md @@ -38,6 +38,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_searchGifs.md b/old_docs/API_docs_v71/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v71/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_searchGlobal.md b/old_docs/API_docs_v71/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v71/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v71/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v71/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v71/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendMedia.md b/old_docs/API_docs_v71/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v71/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendMessage.md b/old_docs/API_docs_v71/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v71/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v71/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v71/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v71/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setGameScore.md b/old_docs/API_docs_v71/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v71/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v71/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_setTyping.md b/old_docs/API_docs_v71/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v71/methods/messages_setTyping.md +++ b/old_docs/API_docs_v71/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_startBot.md b/old_docs/API_docs_v71/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v71/methods/messages_startBot.md +++ b/old_docs/API_docs_v71/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v71/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v71/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/messages_uploadMedia.md b/old_docs/API_docs_v71/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v71/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v71/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v71/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v71/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v71/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/phone_getCallConfig.md b/old_docs/API_docs_v71/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v71/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v71/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/phone_receivedCall.md b/old_docs/API_docs_v71/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v71/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v71/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v71/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v71/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/phone_setCallRating.md b/old_docs/API_docs_v71/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v71/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v71/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/photos_deletePhotos.md b/old_docs/API_docs_v71/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v71/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v71/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v71/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v71/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/ping.md b/old_docs/API_docs_v71/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v71/methods/ping.md +++ b/old_docs/API_docs_v71/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v71/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v71/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v71/methods/req_DH_params.md +++ b/old_docs/API_docs_v71/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/req_pq.md b/old_docs/API_docs_v71/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v71/methods/req_pq.md +++ b/old_docs/API_docs_v71/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v71/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v71/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v71/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v71/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v71/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v71/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v71/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/upload_getWebFile.md b/old_docs/API_docs_v71/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v71/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v71/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v71/methods/users_getUsers.md b/old_docs/API_docs_v71/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v71/methods/users_getUsers.md +++ b/old_docs/API_docs_v71/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_changePhone.md b/old_docs/API_docs_v72/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v72/methods/account_changePhone.md +++ b/old_docs/API_docs_v72/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_checkUsername.md b/old_docs/API_docs_v72/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v72/methods/account_checkUsername.md +++ b/old_docs/API_docs_v72/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_confirmPhone.md b/old_docs/API_docs_v72/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v72/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v72/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_deleteAccount.md b/old_docs/API_docs_v72/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v72/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v72/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getAccountTTL.md b/old_docs/API_docs_v72/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v72/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getAuthorizations.md b/old_docs/API_docs_v72/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v72/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v72/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getNotifySettings.md b/old_docs/API_docs_v72/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v72/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getPassword.md b/old_docs/API_docs_v72/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v72/methods/account_getPassword.md +++ b/old_docs/API_docs_v72/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getPrivacy.md b/old_docs/API_docs_v72/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v72/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getTmpPassword.md b/old_docs/API_docs_v72/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v72/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v72/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_getWallPapers.md b/old_docs/API_docs_v72/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v72/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v72/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_registerDevice.md b/old_docs/API_docs_v72/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v72/methods/account_registerDevice.md +++ b/old_docs/API_docs_v72/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_reportPeer.md b/old_docs/API_docs_v72/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v72/methods/account_reportPeer.md +++ b/old_docs/API_docs_v72/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_resetAuthorization.md b/old_docs/API_docs_v72/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v72/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v72/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v72/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v72/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_setAccountTTL.md b/old_docs/API_docs_v72/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v72/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v72/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_setPrivacy.md b/old_docs/API_docs_v72/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v72/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v72/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_unregisterDevice.md b/old_docs/API_docs_v72/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v72/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v72/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v72/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v72/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v72/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_updateProfile.md b/old_docs/API_docs_v72/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v72/methods/account_updateProfile.md +++ b/old_docs/API_docs_v72/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_updateStatus.md b/old_docs/API_docs_v72/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v72/methods/account_updateStatus.md +++ b/old_docs/API_docs_v72/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/account_updateUsername.md b/old_docs/API_docs_v72/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v72/methods/account_updateUsername.md +++ b/old_docs/API_docs_v72/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_cancelCode.md b/old_docs/API_docs_v72/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v72/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v72/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_checkPhone.md b/old_docs/API_docs_v72/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v72/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v72/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v72/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_recoverPassword.md b/old_docs/API_docs_v72/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v72/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v72/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v72/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_resendCode.md b/old_docs/API_docs_v72/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v72/methods/auth_resendCode.md +++ b/old_docs/API_docs_v72/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v72/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/auth_sendInvites.md b/old_docs/API_docs_v72/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v72/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v72/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v72/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v72/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_checkUsername.md b/old_docs/API_docs_v72/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v72/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v72/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_createChannel.md b/old_docs/API_docs_v72/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v72/methods/channels_createChannel.md +++ b/old_docs/API_docs_v72/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_deleteChannel.md b/old_docs/API_docs_v72/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v72/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_deleteHistory.md b/old_docs/API_docs_v72/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_deleteMessages.md b/old_docs/API_docs_v72/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v72/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_editAbout.md b/old_docs/API_docs_v72/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v72/methods/channels_editAbout.md +++ b/old_docs/API_docs_v72/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_editAdmin.md b/old_docs/API_docs_v72/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v72/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v72/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_editBanned.md b/old_docs/API_docs_v72/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v72/methods/channels_editBanned.md +++ b/old_docs/API_docs_v72/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_editPhoto.md b/old_docs/API_docs_v72/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v72/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v72/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_editTitle.md b/old_docs/API_docs_v72/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v72/methods/channels_editTitle.md +++ b/old_docs/API_docs_v72/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_exportInvite.md b/old_docs/API_docs_v72/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v72/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v72/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v72/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v72/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getAdminLog.md b/old_docs/API_docs_v72/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getChannels.md b/old_docs/API_docs_v72/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v72/methods/channels_getChannels.md +++ b/old_docs/API_docs_v72/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getMessages.md b/old_docs/API_docs_v72/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v72/methods/channels_getMessages.md +++ b/old_docs/API_docs_v72/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getParticipant.md b/old_docs/API_docs_v72/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_getParticipants.md b/old_docs/API_docs_v72/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v72/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v72/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v72/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v72/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_joinChannel.md b/old_docs/API_docs_v72/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v72/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v72/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_leaveChannel.md b/old_docs/API_docs_v72/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v72/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v72/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_readHistory.md b/old_docs/API_docs_v72/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v72/methods/channels_readHistory.md +++ b/old_docs/API_docs_v72/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_readMessageContents.md b/old_docs/API_docs_v72/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v72/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_reportSpam.md b/old_docs/API_docs_v72/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v72/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v72/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_setStickers.md b/old_docs/API_docs_v72/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v72/methods/channels_setStickers.md +++ b/old_docs/API_docs_v72/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_toggleInvites.md b/old_docs/API_docs_v72/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v72/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v72/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v72/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v72/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v72/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/channels_updateUsername.md b/old_docs/API_docs_v72/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v72/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v72/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_block.md b/old_docs/API_docs_v72/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v72/methods/contacts_block.md +++ b/old_docs/API_docs_v72/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContact.md b/old_docs/API_docs_v72/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v72/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_exportCard.md b/old_docs/API_docs_v72/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v72/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v72/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_getBlocked.md b/old_docs/API_docs_v72/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v72/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v72/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_getContacts.md b/old_docs/API_docs_v72/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v72/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_getStatuses.md b/old_docs/API_docs_v72/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v72/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v72/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v72/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v72/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_importCard.md b/old_docs/API_docs_v72/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v72/methods/contacts_importCard.md +++ b/old_docs/API_docs_v72/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_importContacts.md b/old_docs/API_docs_v72/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v72/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v72/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_resetSaved.md b/old_docs/API_docs_v72/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v72/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v72/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_search.md b/old_docs/API_docs_v72/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v72/methods/contacts_search.md +++ b/old_docs/API_docs_v72/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contacts_unblock.md b/old_docs/API_docs_v72/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v72/methods/contacts_unblock.md +++ b/old_docs/API_docs_v72/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md index 2776a131..27e2525b 100644 --- a/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v72/methods/contest_saveDeveloperInfo.md @@ -32,6 +32,7 @@ Save developer info for telegram contest if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 aff3981b..e2531592 100644 --- a/old_docs/API_docs_v72/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v72/methods/destroy_auth_key.md @@ -23,6 +23,7 @@ Destroy current authorization key if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/destroy_session.md b/old_docs/API_docs_v72/methods/destroy_session.md index d7472c3e..310e3541 100644 --- a/old_docs/API_docs_v72/methods/destroy_session.md +++ b/old_docs/API_docs_v72/methods/destroy_session.md @@ -28,6 +28,7 @@ Destroy the current MTProto session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 2ab445b6..d3e3bfc1 100644 --- a/old_docs/API_docs_v72/methods/get_future_salts.md +++ b/old_docs/API_docs_v72/methods/get_future_salts.md @@ -28,6 +28,7 @@ Get future salts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getAppChangelog.md b/old_docs/API_docs_v72/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v72/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v72/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getAppUpdate.md b/old_docs/API_docs_v72/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v72/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v72/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getCdnConfig.md b/old_docs/API_docs_v72/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v72/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v72/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getConfig.md b/old_docs/API_docs_v72/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v72/methods/help_getConfig.md +++ b/old_docs/API_docs_v72/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getInviteText.md b/old_docs/API_docs_v72/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v72/methods/help_getInviteText.md +++ b/old_docs/API_docs_v72/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getNearestDc.md b/old_docs/API_docs_v72/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v72/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v72/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v72/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getSupport.md b/old_docs/API_docs_v72/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v72/methods/help_getSupport.md +++ b/old_docs/API_docs_v72/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_getTermsOfService.md b/old_docs/API_docs_v72/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v72/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v72/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_saveAppLog.md b/old_docs/API_docs_v72/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v72/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v72/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v72/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/initConnection.md b/old_docs/API_docs_v72/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v72/methods/initConnection.md +++ b/old_docs/API_docs_v72/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsg.md b/old_docs/API_docs_v72/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v72/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v72/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/invokeWithLayer.md b/old_docs/API_docs_v72/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v72/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v72/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v72/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/langpack_getDifference.md b/old_docs/API_docs_v72/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v72/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v72/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/langpack_getLangPack.md b/old_docs/API_docs_v72/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v72/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/langpack_getLanguages.md b/old_docs/API_docs_v72/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v72/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v72/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/langpack_getStrings.md b/old_docs/API_docs_v72/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v72/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v72/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_addChatUser.md b/old_docs/API_docs_v72/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v72/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v72/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_createChat.md b/old_docs/API_docs_v72/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v72/methods/messages_createChat.md +++ b/old_docs/API_docs_v72/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v72/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_deleteHistory.md b/old_docs/API_docs_v72/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v72/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_deleteMessages.md b/old_docs/API_docs_v72/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v72/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v72/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v72/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v72/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_editChatTitle.md b/old_docs/API_docs_v72/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v72/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v72/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md index dcf2e5e1..c6d4f73c 100644 --- a/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editInlineBotMessage.md @@ -33,6 +33,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_editMessage.md b/old_docs/API_docs_v72/methods/messages_editMessage.md index 64614539..b87d672e 100644 --- a/old_docs/API_docs_v72/methods/messages_editMessage.md +++ b/old_docs/API_docs_v72/methods/messages_editMessage.md @@ -36,6 +36,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v72/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_faveSticker.md b/old_docs/API_docs_v72/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v72/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v72/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessage.md b/old_docs/API_docs_v72/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_forwardMessages.md b/old_docs/API_docs_v72/methods/messages_forwardMessages.md index c08c8ed3..a91cf34d 100644 --- a/old_docs/API_docs_v72/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v72/methods/messages_forwardMessages.md @@ -33,6 +33,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getAllChats.md b/old_docs/API_docs_v72/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v72/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v72/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getAllStickers.md b/old_docs/API_docs_v72/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v72/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getChats.md b/old_docs/API_docs_v72/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v72/methods/messages_getChats.md +++ b/old_docs/API_docs_v72/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getCommonChats.md b/old_docs/API_docs_v72/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v72/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v72/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getDialogs.md b/old_docs/API_docs_v72/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v72/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v72/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v72/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v72/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getHistory.md b/old_docs/API_docs_v72/methods/messages_getHistory.md index 23f2d6e9..9945e44a 100644 --- a/old_docs/API_docs_v72/methods/messages_getHistory.md +++ b/old_docs/API_docs_v72/methods/messages_getHistory.md @@ -34,6 +34,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v72/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v72/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getMessages.md b/old_docs/API_docs_v72/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessages.md +++ b/old_docs/API_docs_v72/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v72/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v72/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v72/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v72/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md index 5764b32a..efc686b9 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentLocations.md @@ -29,6 +29,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v72/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v72/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v72/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getStickerSet.md b/old_docs/API_docs_v72/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v72/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v72/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getWebPage.md b/old_docs/API_docs_v72/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v72/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v72/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_importChatInvite.md b/old_docs/API_docs_v72/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v72/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v72/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_installStickerSet.md b/old_docs/API_docs_v72/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v72/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_migrateChat.md b/old_docs/API_docs_v72/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v72/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v72/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_readHistory.md b/old_docs/API_docs_v72/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v72/methods/messages_readHistory.md +++ b/old_docs/API_docs_v72/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_readMentions.md b/old_docs/API_docs_v72/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v72/methods/messages_readMentions.md +++ b/old_docs/API_docs_v72/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_readMessageContents.md b/old_docs/API_docs_v72/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v72/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v72/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_receivedMessages.md b/old_docs/API_docs_v72/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v72/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v72/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v72/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_reportSpam.md b/old_docs/API_docs_v72/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v72/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v72/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_saveDraft.md b/old_docs/API_docs_v72/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v72/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v72/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_saveGif.md b/old_docs/API_docs_v72/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v72/methods/messages_saveGif.md +++ b/old_docs/API_docs_v72/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v72/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_search.md b/old_docs/API_docs_v72/methods/messages_search.md index 85ff60bc..2d50712f 100644 --- a/old_docs/API_docs_v72/methods/messages_search.md +++ b/old_docs/API_docs_v72/methods/messages_search.md @@ -38,6 +38,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_searchGifs.md b/old_docs/API_docs_v72/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v72/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_searchGlobal.md b/old_docs/API_docs_v72/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v72/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v72/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v72/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v72/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendMedia.md b/old_docs/API_docs_v72/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v72/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendMessage.md b/old_docs/API_docs_v72/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v72/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v72/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v72/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v72/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setGameScore.md b/old_docs/API_docs_v72/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v72/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v72/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_setTyping.md b/old_docs/API_docs_v72/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v72/methods/messages_setTyping.md +++ b/old_docs/API_docs_v72/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_startBot.md b/old_docs/API_docs_v72/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v72/methods/messages_startBot.md +++ b/old_docs/API_docs_v72/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v72/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v72/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/messages_uploadMedia.md b/old_docs/API_docs_v72/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v72/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v72/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v72/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v72/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v72/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/phone_getCallConfig.md b/old_docs/API_docs_v72/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v72/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v72/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/phone_receivedCall.md b/old_docs/API_docs_v72/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v72/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v72/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v72/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v72/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/phone_setCallRating.md b/old_docs/API_docs_v72/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v72/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v72/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/photos_deletePhotos.md b/old_docs/API_docs_v72/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v72/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v72/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v72/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v72/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/ping.md b/old_docs/API_docs_v72/methods/ping.md index b3acdd9f..88b8e668 100644 --- a/old_docs/API_docs_v72/methods/ping.md +++ b/old_docs/API_docs_v72/methods/ping.md @@ -28,6 +28,7 @@ Pings the server if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 337ba565..e2fbe73b 100644 --- a/old_docs/API_docs_v72/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v72/methods/ping_delay_disconnect.md @@ -29,6 +29,7 @@ Pings the server and causes disconection if the same method is not called within if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 9d2fc7d3..37b73fe5 100644 --- a/old_docs/API_docs_v72/methods/req_DH_params.md +++ b/old_docs/API_docs_v72/methods/req_DH_params.md @@ -33,6 +33,7 @@ Requests Diffie-hellman parameters for key exchange if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/req_pq.md b/old_docs/API_docs_v72/methods/req_pq.md index 8c764814..c3bbecf4 100644 --- a/old_docs/API_docs_v72/methods/req_pq.md +++ b/old_docs/API_docs_v72/methods/req_pq.md @@ -28,6 +28,7 @@ Requests PQ for factorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8b81eefd..e267ea84 100644 --- a/old_docs/API_docs_v72/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v72/methods/rpc_drop_answer.md @@ -28,6 +28,7 @@ Do not send answer to provided request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); 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 8bf36c8a..67c8ba50 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 @@ -30,6 +30,7 @@ Sets client diffie-hellman parameters if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v72/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v72/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v72/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v72/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v72/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/upload_getWebFile.md b/old_docs/API_docs_v72/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v72/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v72/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v72/methods/users_getUsers.md b/old_docs/API_docs_v72/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v72/methods/users_getUsers.md +++ b/old_docs/API_docs_v72/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_changePhone.md b/old_docs/API_docs_v73/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v73/methods/account_changePhone.md +++ b/old_docs/API_docs_v73/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_checkUsername.md b/old_docs/API_docs_v73/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v73/methods/account_checkUsername.md +++ b/old_docs/API_docs_v73/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_confirmPhone.md b/old_docs/API_docs_v73/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v73/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v73/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_deleteAccount.md b/old_docs/API_docs_v73/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v73/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v73/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getAccountTTL.md b/old_docs/API_docs_v73/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v73/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getAuthorizations.md b/old_docs/API_docs_v73/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v73/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v73/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getNotifySettings.md b/old_docs/API_docs_v73/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v73/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getPassword.md b/old_docs/API_docs_v73/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v73/methods/account_getPassword.md +++ b/old_docs/API_docs_v73/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getPrivacy.md b/old_docs/API_docs_v73/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v73/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getTmpPassword.md b/old_docs/API_docs_v73/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v73/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v73/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_getWallPapers.md b/old_docs/API_docs_v73/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v73/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v73/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_registerDevice.md b/old_docs/API_docs_v73/methods/account_registerDevice.md index ed1fced0..88a94432 100644 --- a/old_docs/API_docs_v73/methods/account_registerDevice.md +++ b/old_docs/API_docs_v73/methods/account_registerDevice.md @@ -29,6 +29,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_reportPeer.md b/old_docs/API_docs_v73/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v73/methods/account_reportPeer.md +++ b/old_docs/API_docs_v73/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_resetAuthorization.md b/old_docs/API_docs_v73/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v73/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v73/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v73/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v73/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_setAccountTTL.md b/old_docs/API_docs_v73/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v73/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v73/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_setPrivacy.md b/old_docs/API_docs_v73/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v73/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v73/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_unregisterDevice.md b/old_docs/API_docs_v73/methods/account_unregisterDevice.md index ad6ab670..d2f63daa 100644 --- a/old_docs/API_docs_v73/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v73/methods/account_unregisterDevice.md @@ -29,6 +29,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v73/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v73/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v73/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_updateProfile.md b/old_docs/API_docs_v73/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v73/methods/account_updateProfile.md +++ b/old_docs/API_docs_v73/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_updateStatus.md b/old_docs/API_docs_v73/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v73/methods/account_updateStatus.md +++ b/old_docs/API_docs_v73/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/account_updateUsername.md b/old_docs/API_docs_v73/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v73/methods/account_updateUsername.md +++ b/old_docs/API_docs_v73/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_cancelCode.md b/old_docs/API_docs_v73/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v73/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v73/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_checkPhone.md b/old_docs/API_docs_v73/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v73/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v73/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v73/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_recoverPassword.md b/old_docs/API_docs_v73/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v73/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v73/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v73/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_resendCode.md b/old_docs/API_docs_v73/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v73/methods/auth_resendCode.md +++ b/old_docs/API_docs_v73/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v73/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/auth_sendInvites.md b/old_docs/API_docs_v73/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v73/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v73/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v73/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v73/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_checkUsername.md b/old_docs/API_docs_v73/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v73/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v73/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_createChannel.md b/old_docs/API_docs_v73/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v73/methods/channels_createChannel.md +++ b/old_docs/API_docs_v73/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_deleteChannel.md b/old_docs/API_docs_v73/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v73/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_deleteHistory.md b/old_docs/API_docs_v73/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_deleteMessages.md b/old_docs/API_docs_v73/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v73/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_editAbout.md b/old_docs/API_docs_v73/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v73/methods/channels_editAbout.md +++ b/old_docs/API_docs_v73/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_editAdmin.md b/old_docs/API_docs_v73/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v73/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v73/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_editBanned.md b/old_docs/API_docs_v73/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v73/methods/channels_editBanned.md +++ b/old_docs/API_docs_v73/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_editPhoto.md b/old_docs/API_docs_v73/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v73/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v73/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_editTitle.md b/old_docs/API_docs_v73/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v73/methods/channels_editTitle.md +++ b/old_docs/API_docs_v73/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_exportInvite.md b/old_docs/API_docs_v73/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v73/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v73/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md index a2e2cc10..fffaf63f 100644 --- a/old_docs/API_docs_v73/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v73/methods/channels_exportMessageLink.md @@ -29,6 +29,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getAdminLog.md b/old_docs/API_docs_v73/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getChannels.md b/old_docs/API_docs_v73/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v73/methods/channels_getChannels.md +++ b/old_docs/API_docs_v73/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getMessages.md b/old_docs/API_docs_v73/methods/channels_getMessages.md index 208cbcc4..55a6685f 100644 --- a/old_docs/API_docs_v73/methods/channels_getMessages.md +++ b/old_docs/API_docs_v73/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getParticipant.md b/old_docs/API_docs_v73/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_getParticipants.md b/old_docs/API_docs_v73/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v73/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v73/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v73/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v73/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_joinChannel.md b/old_docs/API_docs_v73/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v73/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v73/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_leaveChannel.md b/old_docs/API_docs_v73/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v73/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v73/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_readHistory.md b/old_docs/API_docs_v73/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v73/methods/channels_readHistory.md +++ b/old_docs/API_docs_v73/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_readMessageContents.md b/old_docs/API_docs_v73/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v73/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_reportSpam.md b/old_docs/API_docs_v73/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v73/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v73/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_setStickers.md b/old_docs/API_docs_v73/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v73/methods/channels_setStickers.md +++ b/old_docs/API_docs_v73/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_toggleInvites.md b/old_docs/API_docs_v73/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v73/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v73/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v73/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v73/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v73/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/channels_updateUsername.md b/old_docs/API_docs_v73/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v73/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v73/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_block.md b/old_docs/API_docs_v73/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v73/methods/contacts_block.md +++ b/old_docs/API_docs_v73/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContact.md b/old_docs/API_docs_v73/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v73/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_exportCard.md b/old_docs/API_docs_v73/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v73/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v73/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_getBlocked.md b/old_docs/API_docs_v73/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v73/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v73/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_getContacts.md b/old_docs/API_docs_v73/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v73/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_getStatuses.md b/old_docs/API_docs_v73/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v73/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v73/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v73/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v73/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_importCard.md b/old_docs/API_docs_v73/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v73/methods/contacts_importCard.md +++ b/old_docs/API_docs_v73/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_importContacts.md b/old_docs/API_docs_v73/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v73/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v73/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_resetSaved.md b/old_docs/API_docs_v73/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v73/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v73/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_search.md b/old_docs/API_docs_v73/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v73/methods/contacts_search.md +++ b/old_docs/API_docs_v73/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/contacts_unblock.md b/old_docs/API_docs_v73/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v73/methods/contacts_unblock.md +++ b/old_docs/API_docs_v73/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getAppChangelog.md b/old_docs/API_docs_v73/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v73/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v73/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getAppUpdate.md b/old_docs/API_docs_v73/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v73/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v73/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getCdnConfig.md b/old_docs/API_docs_v73/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v73/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v73/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getConfig.md b/old_docs/API_docs_v73/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v73/methods/help_getConfig.md +++ b/old_docs/API_docs_v73/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getInviteText.md b/old_docs/API_docs_v73/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v73/methods/help_getInviteText.md +++ b/old_docs/API_docs_v73/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getNearestDc.md b/old_docs/API_docs_v73/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v73/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v73/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v73/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getSupport.md b/old_docs/API_docs_v73/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v73/methods/help_getSupport.md +++ b/old_docs/API_docs_v73/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_getTermsOfService.md b/old_docs/API_docs_v73/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v73/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v73/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_saveAppLog.md b/old_docs/API_docs_v73/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v73/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v73/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v73/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/initConnection.md b/old_docs/API_docs_v73/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v73/methods/initConnection.md +++ b/old_docs/API_docs_v73/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsg.md b/old_docs/API_docs_v73/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v73/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v73/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/invokeWithLayer.md b/old_docs/API_docs_v73/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v73/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v73/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v73/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/langpack_getDifference.md b/old_docs/API_docs_v73/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v73/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v73/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/langpack_getLangPack.md b/old_docs/API_docs_v73/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v73/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/langpack_getLanguages.md b/old_docs/API_docs_v73/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v73/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v73/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/langpack_getStrings.md b/old_docs/API_docs_v73/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v73/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v73/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_addChatUser.md b/old_docs/API_docs_v73/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v73/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v73/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_createChat.md b/old_docs/API_docs_v73/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v73/methods/messages_createChat.md +++ b/old_docs/API_docs_v73/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v73/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_deleteHistory.md b/old_docs/API_docs_v73/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v73/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_deleteMessages.md b/old_docs/API_docs_v73/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v73/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v73/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v73/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v73/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_editChatTitle.md b/old_docs/API_docs_v73/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v73/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v73/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md index 7e05e431..e08cfb51 100644 --- a/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editInlineBotMessage.md @@ -35,6 +35,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_editMessage.md b/old_docs/API_docs_v73/methods/messages_editMessage.md index 64614539..b87d672e 100644 --- a/old_docs/API_docs_v73/methods/messages_editMessage.md +++ b/old_docs/API_docs_v73/methods/messages_editMessage.md @@ -36,6 +36,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v73/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_faveSticker.md b/old_docs/API_docs_v73/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v73/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v73/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessage.md b/old_docs/API_docs_v73/methods/messages_forwardMessage.md index d9c0453f..f048b087 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessage.md @@ -29,6 +29,7 @@ Forward message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_forwardMessages.md b/old_docs/API_docs_v73/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v73/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v73/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getAllChats.md b/old_docs/API_docs_v73/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v73/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v73/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getAllStickers.md b/old_docs/API_docs_v73/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v73/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getChats.md b/old_docs/API_docs_v73/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v73/methods/messages_getChats.md +++ b/old_docs/API_docs_v73/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getCommonChats.md b/old_docs/API_docs_v73/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v73/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v73/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getDialogs.md b/old_docs/API_docs_v73/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v73/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v73/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v73/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v73/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getHistory.md b/old_docs/API_docs_v73/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v73/methods/messages_getHistory.md +++ b/old_docs/API_docs_v73/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v73/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v73/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getMessages.md b/old_docs/API_docs_v73/methods/messages_getMessages.md index 5ffeec2e..dc3f38ee 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessages.md +++ b/old_docs/API_docs_v73/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v73/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v73/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v73/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v73/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md index 5764b32a..efc686b9 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentLocations.md @@ -29,6 +29,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v73/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v73/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v73/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getStickerSet.md b/old_docs/API_docs_v73/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v73/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v73/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getWebPage.md b/old_docs/API_docs_v73/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md index 4838be94..962b91c5 100644 --- a/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v73/methods/messages_getWebPagePreview.md @@ -28,6 +28,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v73/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_importChatInvite.md b/old_docs/API_docs_v73/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v73/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v73/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_installStickerSet.md b/old_docs/API_docs_v73/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v73/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_migrateChat.md b/old_docs/API_docs_v73/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v73/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v73/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_readHistory.md b/old_docs/API_docs_v73/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v73/methods/messages_readHistory.md +++ b/old_docs/API_docs_v73/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_readMentions.md b/old_docs/API_docs_v73/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v73/methods/messages_readMentions.md +++ b/old_docs/API_docs_v73/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_readMessageContents.md b/old_docs/API_docs_v73/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v73/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v73/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_receivedMessages.md b/old_docs/API_docs_v73/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v73/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v73/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v73/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_reportSpam.md b/old_docs/API_docs_v73/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v73/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v73/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_saveDraft.md b/old_docs/API_docs_v73/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v73/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v73/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_saveGif.md b/old_docs/API_docs_v73/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v73/methods/messages_saveGif.md +++ b/old_docs/API_docs_v73/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v73/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_search.md b/old_docs/API_docs_v73/methods/messages_search.md index 85ff60bc..2d50712f 100644 --- a/old_docs/API_docs_v73/methods/messages_search.md +++ b/old_docs/API_docs_v73/methods/messages_search.md @@ -38,6 +38,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_searchGifs.md b/old_docs/API_docs_v73/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v73/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_searchGlobal.md b/old_docs/API_docs_v73/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v73/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v73/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v73/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v73/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendMedia.md b/old_docs/API_docs_v73/methods/messages_sendMedia.md index 7c4e0dcf..19038ead 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMedia.md @@ -34,6 +34,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendMessage.md b/old_docs/API_docs_v73/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v73/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v73/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v73/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v73/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setGameScore.md b/old_docs/API_docs_v73/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v73/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v73/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_setTyping.md b/old_docs/API_docs_v73/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v73/methods/messages_setTyping.md +++ b/old_docs/API_docs_v73/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_startBot.md b/old_docs/API_docs_v73/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v73/methods/messages_startBot.md +++ b/old_docs/API_docs_v73/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v73/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v73/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/messages_uploadMedia.md b/old_docs/API_docs_v73/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v73/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v73/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v73/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v73/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v73/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/phone_getCallConfig.md b/old_docs/API_docs_v73/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v73/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v73/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/phone_receivedCall.md b/old_docs/API_docs_v73/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v73/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v73/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v73/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v73/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/phone_setCallRating.md b/old_docs/API_docs_v73/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v73/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v73/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/photos_deletePhotos.md b/old_docs/API_docs_v73/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v73/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v73/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v73/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v73/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v73/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v73/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v73/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v73/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v73/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/upload_getWebFile.md b/old_docs/API_docs_v73/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v73/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v73/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v73/methods/users_getUsers.md b/old_docs/API_docs_v73/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v73/methods/users_getUsers.md +++ b/old_docs/API_docs_v73/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_changePhone.md b/old_docs/API_docs_v75/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v75/methods/account_changePhone.md +++ b/old_docs/API_docs_v75/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_checkUsername.md b/old_docs/API_docs_v75/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v75/methods/account_checkUsername.md +++ b/old_docs/API_docs_v75/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_confirmPhone.md b/old_docs/API_docs_v75/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v75/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v75/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_deleteAccount.md b/old_docs/API_docs_v75/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v75/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v75/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getAccountTTL.md b/old_docs/API_docs_v75/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v75/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v75/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getAuthorizations.md b/old_docs/API_docs_v75/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v75/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getNotifySettings.md b/old_docs/API_docs_v75/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v75/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getPassword.md b/old_docs/API_docs_v75/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v75/methods/account_getPassword.md +++ b/old_docs/API_docs_v75/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getPrivacy.md b/old_docs/API_docs_v75/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v75/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v75/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getTmpPassword.md b/old_docs/API_docs_v75/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v75/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v75/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getWallPapers.md b/old_docs/API_docs_v75/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v75/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v75/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_registerDevice.md b/old_docs/API_docs_v75/methods/account_registerDevice.md index 9497a5a5..54db5035 100644 --- a/old_docs/API_docs_v75/methods/account_registerDevice.md +++ b/old_docs/API_docs_v75/methods/account_registerDevice.md @@ -31,6 +31,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_reportPeer.md b/old_docs/API_docs_v75/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v75/methods/account_reportPeer.md +++ b/old_docs/API_docs_v75/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_resetAuthorization.md b/old_docs/API_docs_v75/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v75/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v75/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_resetNotifySettings.md b/old_docs/API_docs_v75/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v75/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v75/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v75/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v75/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_setAccountTTL.md b/old_docs/API_docs_v75/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v75/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v75/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_setPrivacy.md b/old_docs/API_docs_v75/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v75/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v75/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_unregisterDevice.md b/old_docs/API_docs_v75/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v75/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v75/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v75/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v75/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v75/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_updateProfile.md b/old_docs/API_docs_v75/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v75/methods/account_updateProfile.md +++ b/old_docs/API_docs_v75/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_updateStatus.md b/old_docs/API_docs_v75/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v75/methods/account_updateStatus.md +++ b/old_docs/API_docs_v75/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/account_updateUsername.md b/old_docs/API_docs_v75/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v75/methods/account_updateUsername.md +++ b/old_docs/API_docs_v75/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_cancelCode.md b/old_docs/API_docs_v75/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v75/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v75/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_checkPhone.md b/old_docs/API_docs_v75/methods/auth_checkPhone.md index f8bbd9b6..d40a0f16 100644 --- a/old_docs/API_docs_v75/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v75/methods/auth_checkPhone.md @@ -28,6 +28,7 @@ Check if this phone number is registered on telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v75/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_recoverPassword.md b/old_docs/API_docs_v75/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v75/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v75/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v75/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_resendCode.md b/old_docs/API_docs_v75/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v75/methods/auth_resendCode.md +++ b/old_docs/API_docs_v75/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v75/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/auth_sendInvites.md b/old_docs/API_docs_v75/methods/auth_sendInvites.md index df18d335..20a130ac 100644 --- a/old_docs/API_docs_v75/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v75/methods/auth_sendInvites.md @@ -29,6 +29,7 @@ Invite friends to telegram! if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v75/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v75/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_checkUsername.md b/old_docs/API_docs_v75/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v75/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v75/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_createChannel.md b/old_docs/API_docs_v75/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v75/methods/channels_createChannel.md +++ b/old_docs/API_docs_v75/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_deleteChannel.md b/old_docs/API_docs_v75/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v75/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_deleteHistory.md b/old_docs/API_docs_v75/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v75/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_deleteMessages.md b/old_docs/API_docs_v75/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v75/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v75/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_editAbout.md b/old_docs/API_docs_v75/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v75/methods/channels_editAbout.md +++ b/old_docs/API_docs_v75/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_editAdmin.md b/old_docs/API_docs_v75/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v75/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v75/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_editBanned.md b/old_docs/API_docs_v75/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v75/methods/channels_editBanned.md +++ b/old_docs/API_docs_v75/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_editPhoto.md b/old_docs/API_docs_v75/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v75/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v75/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_editTitle.md b/old_docs/API_docs_v75/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v75/methods/channels_editTitle.md +++ b/old_docs/API_docs_v75/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_exportInvite.md b/old_docs/API_docs_v75/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v75/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v75/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_exportMessageLink.md b/old_docs/API_docs_v75/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v75/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v75/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getAdminLog.md b/old_docs/API_docs_v75/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v75/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v75/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v75/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getChannels.md b/old_docs/API_docs_v75/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v75/methods/channels_getChannels.md +++ b/old_docs/API_docs_v75/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getMessages.md b/old_docs/API_docs_v75/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v75/methods/channels_getMessages.md +++ b/old_docs/API_docs_v75/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getParticipant.md b/old_docs/API_docs_v75/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v75/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v75/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_getParticipants.md b/old_docs/API_docs_v75/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v75/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v75/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_inviteToChannel.md b/old_docs/API_docs_v75/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v75/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v75/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_joinChannel.md b/old_docs/API_docs_v75/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v75/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v75/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_leaveChannel.md b/old_docs/API_docs_v75/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v75/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v75/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_readHistory.md b/old_docs/API_docs_v75/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v75/methods/channels_readHistory.md +++ b/old_docs/API_docs_v75/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_readMessageContents.md b/old_docs/API_docs_v75/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v75/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v75/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_reportSpam.md b/old_docs/API_docs_v75/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v75/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v75/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_setStickers.md b/old_docs/API_docs_v75/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v75/methods/channels_setStickers.md +++ b/old_docs/API_docs_v75/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_toggleInvites.md b/old_docs/API_docs_v75/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v75/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v75/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v75/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_toggleSignatures.md b/old_docs/API_docs_v75/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v75/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v75/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v75/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/channels_updateUsername.md b/old_docs/API_docs_v75/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v75/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v75/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_block.md b/old_docs/API_docs_v75/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v75/methods/contacts_block.md +++ b/old_docs/API_docs_v75/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_deleteContact.md b/old_docs/API_docs_v75/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v75/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v75/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_deleteContacts.md b/old_docs/API_docs_v75/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v75/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_exportCard.md b/old_docs/API_docs_v75/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v75/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v75/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_getBlocked.md b/old_docs/API_docs_v75/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v75/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v75/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_getContacts.md b/old_docs/API_docs_v75/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v75/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_getStatuses.md b/old_docs/API_docs_v75/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v75/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v75/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_getTopPeers.md b/old_docs/API_docs_v75/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v75/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v75/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_importCard.md b/old_docs/API_docs_v75/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v75/methods/contacts_importCard.md +++ b/old_docs/API_docs_v75/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_importContacts.md b/old_docs/API_docs_v75/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v75/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v75/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_resetSaved.md b/old_docs/API_docs_v75/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v75/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v75/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v75/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_search.md b/old_docs/API_docs_v75/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v75/methods/contacts_search.md +++ b/old_docs/API_docs_v75/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/contacts_unblock.md b/old_docs/API_docs_v75/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v75/methods/contacts_unblock.md +++ b/old_docs/API_docs_v75/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getAppChangelog.md b/old_docs/API_docs_v75/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v75/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v75/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getAppUpdate.md b/old_docs/API_docs_v75/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v75/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v75/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getCdnConfig.md b/old_docs/API_docs_v75/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v75/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v75/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getConfig.md b/old_docs/API_docs_v75/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v75/methods/help_getConfig.md +++ b/old_docs/API_docs_v75/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getInviteText.md b/old_docs/API_docs_v75/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v75/methods/help_getInviteText.md +++ b/old_docs/API_docs_v75/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getNearestDc.md b/old_docs/API_docs_v75/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v75/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v75/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v75/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getSupport.md b/old_docs/API_docs_v75/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v75/methods/help_getSupport.md +++ b/old_docs/API_docs_v75/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_getTermsOfService.md b/old_docs/API_docs_v75/methods/help_getTermsOfService.md index 95d51e60..16db2a6e 100644 --- a/old_docs/API_docs_v75/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v75/methods/help_getTermsOfService.md @@ -23,6 +23,7 @@ Get terms of service if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_saveAppLog.md b/old_docs/API_docs_v75/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v75/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v75/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v75/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/initConnection.md b/old_docs/API_docs_v75/methods/initConnection.md index 858a9e5d..f5b10d04 100644 --- a/old_docs/API_docs_v75/methods/initConnection.md +++ b/old_docs/API_docs_v75/methods/initConnection.md @@ -35,6 +35,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/invokeAfterMsg.md b/old_docs/API_docs_v75/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v75/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v75/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/invokeAfterMsgs.md b/old_docs/API_docs_v75/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v75/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v75/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/invokeWithLayer.md b/old_docs/API_docs_v75/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v75/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v75/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v75/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/langpack_getDifference.md b/old_docs/API_docs_v75/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v75/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v75/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/langpack_getLangPack.md b/old_docs/API_docs_v75/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v75/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v75/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/langpack_getLanguages.md b/old_docs/API_docs_v75/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v75/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v75/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/langpack_getStrings.md b/old_docs/API_docs_v75/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v75/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v75/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_addChatUser.md b/old_docs/API_docs_v75/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v75/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v75/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_checkChatInvite.md b/old_docs/API_docs_v75/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v75/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v75/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_createChat.md b/old_docs/API_docs_v75/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v75/methods/messages_createChat.md +++ b/old_docs/API_docs_v75/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_deleteChatUser.md b/old_docs/API_docs_v75/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v75/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_deleteHistory.md b/old_docs/API_docs_v75/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v75/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_deleteMessages.md b/old_docs/API_docs_v75/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v75/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v75/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_editChatAdmin.md b/old_docs/API_docs_v75/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v75/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_editChatPhoto.md b/old_docs/API_docs_v75/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v75/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_editChatTitle.md b/old_docs/API_docs_v75/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v75/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v75/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md index 7e05e431..e08cfb51 100644 --- a/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editInlineBotMessage.md @@ -35,6 +35,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_editMessage.md b/old_docs/API_docs_v75/methods/messages_editMessage.md index 64614539..b87d672e 100644 --- a/old_docs/API_docs_v75/methods/messages_editMessage.md +++ b/old_docs/API_docs_v75/methods/messages_editMessage.md @@ -36,6 +36,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_exportChatInvite.md b/old_docs/API_docs_v75/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v75/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_faveSticker.md b/old_docs/API_docs_v75/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v75/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v75/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_forwardMessages.md b/old_docs/API_docs_v75/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v75/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v75/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getAllChats.md b/old_docs/API_docs_v75/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v75/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getAllDrafts.md b/old_docs/API_docs_v75/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v75/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getAllStickers.md b/old_docs/API_docs_v75/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v75/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v75/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getChats.md b/old_docs/API_docs_v75/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v75/methods/messages_getChats.md +++ b/old_docs/API_docs_v75/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getCommonChats.md b/old_docs/API_docs_v75/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v75/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v75/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getDialogs.md b/old_docs/API_docs_v75/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v75/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v75/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getFavedStickers.md b/old_docs/API_docs_v75/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v75/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getGameHighScores.md b/old_docs/API_docs_v75/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v75/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getHistory.md b/old_docs/API_docs_v75/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v75/methods/messages_getHistory.md +++ b/old_docs/API_docs_v75/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v75/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getMaskStickers.md b/old_docs/API_docs_v75/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v75/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getMessageEditData.md b/old_docs/API_docs_v75/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v75/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getMessages.md b/old_docs/API_docs_v75/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessages.md +++ b/old_docs/API_docs_v75/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getMessagesViews.md b/old_docs/API_docs_v75/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v75/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v75/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md index a34873df..f40de23f 100644 --- a/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getPeerSettings.md b/old_docs/API_docs_v75/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v75/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v75/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getRecentLocations.md b/old_docs/API_docs_v75/methods/messages_getRecentLocations.md index 5764b32a..efc686b9 100644 --- a/old_docs/API_docs_v75/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v75/methods/messages_getRecentLocations.md @@ -29,6 +29,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getRecentStickers.md b/old_docs/API_docs_v75/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v75/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getSavedGifs.md b/old_docs/API_docs_v75/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v75/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v75/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getStickerSet.md b/old_docs/API_docs_v75/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v75/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getStickers.md b/old_docs/API_docs_v75/methods/messages_getStickers.md index bd08df67..c10a682a 100644 --- a/old_docs/API_docs_v75/methods/messages_getStickers.md +++ b/old_docs/API_docs_v75/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v75/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getWebPage.md b/old_docs/API_docs_v75/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v75/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v75/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v75/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_hideReportSpam.md b/old_docs/API_docs_v75/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v75/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v75/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_importChatInvite.md b/old_docs/API_docs_v75/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v75/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v75/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_installStickerSet.md b/old_docs/API_docs_v75/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v75/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_migrateChat.md b/old_docs/API_docs_v75/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v75/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v75/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v75/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v75/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_readHistory.md b/old_docs/API_docs_v75/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v75/methods/messages_readHistory.md +++ b/old_docs/API_docs_v75/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_readMentions.md b/old_docs/API_docs_v75/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v75/methods/messages_readMentions.md +++ b/old_docs/API_docs_v75/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_readMessageContents.md b/old_docs/API_docs_v75/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v75/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v75/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_receivedMessages.md b/old_docs/API_docs_v75/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v75/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v75/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md index d8aeefa7..84e4bdbf 100644 --- a/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v75/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v75/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v75/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_reportSpam.md b/old_docs/API_docs_v75/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v75/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v75/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_saveDraft.md b/old_docs/API_docs_v75/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v75/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v75/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_saveGif.md b/old_docs/API_docs_v75/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v75/methods/messages_saveGif.md +++ b/old_docs/API_docs_v75/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v75/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_search.md b/old_docs/API_docs_v75/methods/messages_search.md index 85ff60bc..2d50712f 100644 --- a/old_docs/API_docs_v75/methods/messages_search.md +++ b/old_docs/API_docs_v75/methods/messages_search.md @@ -38,6 +38,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_searchGifs.md b/old_docs/API_docs_v75/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v75/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v75/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_searchGlobal.md b/old_docs/API_docs_v75/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v75/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v75/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendEncrypted.md b/old_docs/API_docs_v75/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v75/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v75/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendMedia.md b/old_docs/API_docs_v75/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v75/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendMessage.md b/old_docs/API_docs_v75/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v75/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v75/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v75/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v75/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v75/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v75/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v75/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setGameScore.md b/old_docs/API_docs_v75/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v75/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v75/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v75/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v75/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_setTyping.md b/old_docs/API_docs_v75/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v75/methods/messages_setTyping.md +++ b/old_docs/API_docs_v75/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_startBot.md b/old_docs/API_docs_v75/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v75/methods/messages_startBot.md +++ b/old_docs/API_docs_v75/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v75/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md index 02adfd4b..2659dcea 100644 --- a/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v75/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v75/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/messages_uploadMedia.md b/old_docs/API_docs_v75/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v75/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v75/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_getPaymentForm.md b/old_docs/API_docs_v75/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v75/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v75/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_getSavedInfo.md b/old_docs/API_docs_v75/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v75/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v75/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/phone_getCallConfig.md b/old_docs/API_docs_v75/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v75/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v75/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/phone_receivedCall.md b/old_docs/API_docs_v75/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v75/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v75/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/phone_saveCallDebug.md b/old_docs/API_docs_v75/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v75/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v75/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/phone_setCallRating.md b/old_docs/API_docs_v75/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v75/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v75/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/photos_deletePhotos.md b/old_docs/API_docs_v75/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v75/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v75/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/photos_getUserPhotos.md b/old_docs/API_docs_v75/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v75/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v75/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v75/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v75/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v75/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v75/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/stickers_createStickerSet.md b/old_docs/API_docs_v75/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v75/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v75/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v75/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/upload_getWebFile.md b/old_docs/API_docs_v75/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v75/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v75/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v75/methods/users_getUsers.md b/old_docs/API_docs_v75/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v75/methods/users_getUsers.md +++ b/old_docs/API_docs_v75/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_acceptAuthorization.md b/old_docs/API_docs_v81/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/old_docs/API_docs_v81/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_changePhone.md b/old_docs/API_docs_v81/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v81/methods/account_changePhone.md +++ b/old_docs/API_docs_v81/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_checkUsername.md b/old_docs/API_docs_v81/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v81/methods/account_checkUsername.md +++ b/old_docs/API_docs_v81/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_confirmPhone.md b/old_docs/API_docs_v81/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v81/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v81/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_deleteAccount.md b/old_docs/API_docs_v81/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v81/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v81/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_deleteSecureValue.md b/old_docs/API_docs_v81/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/old_docs/API_docs_v81/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v81/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getAccountTTL.md b/old_docs/API_docs_v81/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v81/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v81/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getAllSecureValues.md b/old_docs/API_docs_v81/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/old_docs/API_docs_v81/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v81/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v81/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getAuthorizations.md b/old_docs/API_docs_v81/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v81/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getNotifySettings.md b/old_docs/API_docs_v81/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v81/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getPassword.md b/old_docs/API_docs_v81/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v81/methods/account_getPassword.md +++ b/old_docs/API_docs_v81/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getPrivacy.md b/old_docs/API_docs_v81/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v81/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v81/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getSecureValue.md b/old_docs/API_docs_v81/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/old_docs/API_docs_v81/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getTmpPassword.md b/old_docs/API_docs_v81/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v81/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v81/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getWallPapers.md b/old_docs/API_docs_v81/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v81/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v81/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_initTakeoutSession.md b/old_docs/API_docs_v81/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/old_docs/API_docs_v81/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v81/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_registerDevice.md b/old_docs/API_docs_v81/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/old_docs/API_docs_v81/methods/account_registerDevice.md +++ b/old_docs/API_docs_v81/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_reportPeer.md b/old_docs/API_docs_v81/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v81/methods/account_reportPeer.md +++ b/old_docs/API_docs_v81/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_resetAuthorization.md b/old_docs/API_docs_v81/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v81/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_resetNotifySettings.md b/old_docs/API_docs_v81/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v81/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v81/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_saveSecureValue.md b/old_docs/API_docs_v81/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/old_docs/API_docs_v81/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v81/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v81/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md index 45902b30..995208cb 100644 --- a/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account_sendVerifyPhoneCode.md @@ -30,6 +30,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_setAccountTTL.md b/old_docs/API_docs_v81/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v81/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v81/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_setPrivacy.md b/old_docs/API_docs_v81/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v81/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v81/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_unregisterDevice.md b/old_docs/API_docs_v81/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v81/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v81/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v81/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v81/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v81/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_updateProfile.md b/old_docs/API_docs_v81/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v81/methods/account_updateProfile.md +++ b/old_docs/API_docs_v81/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_updateStatus.md b/old_docs/API_docs_v81/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v81/methods/account_updateStatus.md +++ b/old_docs/API_docs_v81/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_updateUsername.md b/old_docs/API_docs_v81/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v81/methods/account_updateUsername.md +++ b/old_docs/API_docs_v81/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_verifyEmail.md b/old_docs/API_docs_v81/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/old_docs/API_docs_v81/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v81/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/account_verifyPhone.md b/old_docs/API_docs_v81/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/old_docs/API_docs_v81/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v81/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_cancelCode.md b/old_docs/API_docs_v81/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v81/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v81/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v81/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_recoverPassword.md b/old_docs/API_docs_v81/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v81/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v81/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v81/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_resendCode.md b/old_docs/API_docs_v81/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v81/methods/auth_resendCode.md +++ b/old_docs/API_docs_v81/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v81/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v81/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v81/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_checkUsername.md b/old_docs/API_docs_v81/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v81/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v81/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_createChannel.md b/old_docs/API_docs_v81/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v81/methods/channels_createChannel.md +++ b/old_docs/API_docs_v81/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_deleteChannel.md b/old_docs/API_docs_v81/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v81/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_deleteHistory.md b/old_docs/API_docs_v81/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v81/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_deleteMessages.md b/old_docs/API_docs_v81/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v81/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v81/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_editAbout.md b/old_docs/API_docs_v81/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v81/methods/channels_editAbout.md +++ b/old_docs/API_docs_v81/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_editAdmin.md b/old_docs/API_docs_v81/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v81/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v81/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_editBanned.md b/old_docs/API_docs_v81/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v81/methods/channels_editBanned.md +++ b/old_docs/API_docs_v81/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_editPhoto.md b/old_docs/API_docs_v81/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v81/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v81/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_editTitle.md b/old_docs/API_docs_v81/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v81/methods/channels_editTitle.md +++ b/old_docs/API_docs_v81/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_exportInvite.md b/old_docs/API_docs_v81/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v81/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v81/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_exportMessageLink.md b/old_docs/API_docs_v81/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v81/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v81/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getAdminLog.md b/old_docs/API_docs_v81/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v81/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v81/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getChannels.md b/old_docs/API_docs_v81/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v81/methods/channels_getChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getLeftChannels.md b/old_docs/API_docs_v81/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/old_docs/API_docs_v81/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v81/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getMessages.md b/old_docs/API_docs_v81/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v81/methods/channels_getMessages.md +++ b/old_docs/API_docs_v81/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getParticipant.md b/old_docs/API_docs_v81/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v81/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v81/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_getParticipants.md b/old_docs/API_docs_v81/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v81/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v81/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_inviteToChannel.md b/old_docs/API_docs_v81/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v81/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v81/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_joinChannel.md b/old_docs/API_docs_v81/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v81/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v81/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_leaveChannel.md b/old_docs/API_docs_v81/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v81/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v81/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_readHistory.md b/old_docs/API_docs_v81/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v81/methods/channels_readHistory.md +++ b/old_docs/API_docs_v81/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_readMessageContents.md b/old_docs/API_docs_v81/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v81/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v81/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_reportSpam.md b/old_docs/API_docs_v81/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v81/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v81/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_setStickers.md b/old_docs/API_docs_v81/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v81/methods/channels_setStickers.md +++ b/old_docs/API_docs_v81/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_toggleInvites.md b/old_docs/API_docs_v81/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v81/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v81/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v81/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_toggleSignatures.md b/old_docs/API_docs_v81/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v81/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v81/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v81/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/channels_updateUsername.md b/old_docs/API_docs_v81/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v81/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v81/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_block.md b/old_docs/API_docs_v81/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v81/methods/contacts_block.md +++ b/old_docs/API_docs_v81/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_deleteContact.md b/old_docs/API_docs_v81/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v81/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v81/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_deleteContacts.md b/old_docs/API_docs_v81/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v81/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_exportCard.md b/old_docs/API_docs_v81/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v81/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v81/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_getBlocked.md b/old_docs/API_docs_v81/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v81/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v81/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_getContacts.md b/old_docs/API_docs_v81/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v81/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_getSaved.md b/old_docs/API_docs_v81/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/old_docs/API_docs_v81/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v81/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_getStatuses.md b/old_docs/API_docs_v81/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v81/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v81/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_getTopPeers.md b/old_docs/API_docs_v81/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v81/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v81/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_importCard.md b/old_docs/API_docs_v81/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v81/methods/contacts_importCard.md +++ b/old_docs/API_docs_v81/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_importContacts.md b/old_docs/API_docs_v81/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v81/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v81/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_resetSaved.md b/old_docs/API_docs_v81/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v81/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v81/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v81/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_search.md b/old_docs/API_docs_v81/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v81/methods/contacts_search.md +++ b/old_docs/API_docs_v81/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/contacts_unblock.md b/old_docs/API_docs_v81/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v81/methods/contacts_unblock.md +++ b/old_docs/API_docs_v81/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v81/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getAppChangelog.md b/old_docs/API_docs_v81/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v81/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v81/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getAppUpdate.md b/old_docs/API_docs_v81/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v81/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v81/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getCdnConfig.md b/old_docs/API_docs_v81/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v81/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v81/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getConfig.md b/old_docs/API_docs_v81/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v81/methods/help_getConfig.md +++ b/old_docs/API_docs_v81/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v81/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getInviteText.md b/old_docs/API_docs_v81/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v81/methods/help_getInviteText.md +++ b/old_docs/API_docs_v81/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getNearestDc.md b/old_docs/API_docs_v81/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v81/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v81/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getProxyData.md b/old_docs/API_docs_v81/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/old_docs/API_docs_v81/methods/help_getProxyData.md +++ b/old_docs/API_docs_v81/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v81/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getSupport.md b/old_docs/API_docs_v81/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v81/methods/help_getSupport.md +++ b/old_docs/API_docs_v81/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v81/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_saveAppLog.md b/old_docs/API_docs_v81/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v81/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v81/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v81/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/initConnection.md b/old_docs/API_docs_v81/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/old_docs/API_docs_v81/methods/initConnection.md +++ b/old_docs/API_docs_v81/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeAfterMsg.md b/old_docs/API_docs_v81/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v81/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v81/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeAfterMsgs.md b/old_docs/API_docs_v81/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v81/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v81/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeWithLayer.md b/old_docs/API_docs_v81/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v81/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v81/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v81/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeWithTakeout.md b/old_docs/API_docs_v81/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/old_docs/API_docs_v81/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v81/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v81/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/langpack_getDifference.md b/old_docs/API_docs_v81/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v81/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v81/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/langpack_getLangPack.md b/old_docs/API_docs_v81/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v81/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v81/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/langpack_getLanguages.md b/old_docs/API_docs_v81/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v81/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v81/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/langpack_getStrings.md b/old_docs/API_docs_v81/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v81/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v81/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_addChatUser.md b/old_docs/API_docs_v81/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v81/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v81/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_checkChatInvite.md b/old_docs/API_docs_v81/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v81/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v81/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_createChat.md b/old_docs/API_docs_v81/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v81/methods/messages_createChat.md +++ b/old_docs/API_docs_v81/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_deleteChatUser.md b/old_docs/API_docs_v81/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v81/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_deleteHistory.md b/old_docs/API_docs_v81/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v81/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_deleteMessages.md b/old_docs/API_docs_v81/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v81/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v81/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_editChatAdmin.md b/old_docs/API_docs_v81/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v81/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_editChatPhoto.md b/old_docs/API_docs_v81/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v81/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_editChatTitle.md b/old_docs/API_docs_v81/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v81/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v81/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md index 1ac1975f..4e0e58b1 100644 --- a/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editInlineBotMessage.md @@ -36,6 +36,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_editMessage.md b/old_docs/API_docs_v81/methods/messages_editMessage.md index 25946d9a..312e7291 100644 --- a/old_docs/API_docs_v81/methods/messages_editMessage.md +++ b/old_docs/API_docs_v81/methods/messages_editMessage.md @@ -37,6 +37,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_exportChatInvite.md b/old_docs/API_docs_v81/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v81/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_faveSticker.md b/old_docs/API_docs_v81/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v81/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v81/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_forwardMessages.md b/old_docs/API_docs_v81/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v81/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v81/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getAllChats.md b/old_docs/API_docs_v81/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v81/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getAllDrafts.md b/old_docs/API_docs_v81/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v81/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getAllStickers.md b/old_docs/API_docs_v81/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v81/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v81/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getChats.md b/old_docs/API_docs_v81/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v81/methods/messages_getChats.md +++ b/old_docs/API_docs_v81/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getCommonChats.md b/old_docs/API_docs_v81/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v81/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v81/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getDialogs.md b/old_docs/API_docs_v81/methods/messages_getDialogs.md index 0b22da97..63ed4601 100644 --- a/old_docs/API_docs_v81/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getDialogs.md @@ -32,6 +32,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v81/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getFavedStickers.md b/old_docs/API_docs_v81/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v81/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getGameHighScores.md b/old_docs/API_docs_v81/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v81/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getHistory.md b/old_docs/API_docs_v81/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v81/methods/messages_getHistory.md +++ b/old_docs/API_docs_v81/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v81/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getMaskStickers.md b/old_docs/API_docs_v81/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v81/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getMessageEditData.md b/old_docs/API_docs_v81/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v81/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getMessages.md b/old_docs/API_docs_v81/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessages.md +++ b/old_docs/API_docs_v81/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getMessagesViews.md b/old_docs/API_docs_v81/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v81/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v81/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getPeerSettings.md b/old_docs/API_docs_v81/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v81/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v81/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getRecentLocations.md b/old_docs/API_docs_v81/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/old_docs/API_docs_v81/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v81/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getRecentStickers.md b/old_docs/API_docs_v81/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v81/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getSavedGifs.md b/old_docs/API_docs_v81/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v81/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v81/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getSplitRanges.md b/old_docs/API_docs_v81/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/old_docs/API_docs_v81/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v81/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getStickerSet.md b/old_docs/API_docs_v81/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v81/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getStickers.md b/old_docs/API_docs_v81/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/old_docs/API_docs_v81/methods/messages_getStickers.md +++ b/old_docs/API_docs_v81/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v81/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getWebPage.md b/old_docs/API_docs_v81/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v81/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v81/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v81/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_hideReportSpam.md b/old_docs/API_docs_v81/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v81/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v81/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_importChatInvite.md b/old_docs/API_docs_v81/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v81/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v81/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_installStickerSet.md b/old_docs/API_docs_v81/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v81/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_migrateChat.md b/old_docs/API_docs_v81/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v81/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v81/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v81/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v81/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_readHistory.md b/old_docs/API_docs_v81/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v81/methods/messages_readHistory.md +++ b/old_docs/API_docs_v81/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_readMentions.md b/old_docs/API_docs_v81/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v81/methods/messages_readMentions.md +++ b/old_docs/API_docs_v81/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_readMessageContents.md b/old_docs/API_docs_v81/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v81/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v81/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_receivedMessages.md b/old_docs/API_docs_v81/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v81/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v81/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v81/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v81/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_report.md b/old_docs/API_docs_v81/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/old_docs/API_docs_v81/methods/messages_report.md +++ b/old_docs/API_docs_v81/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v81/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_reportSpam.md b/old_docs/API_docs_v81/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v81/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v81/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_saveDraft.md b/old_docs/API_docs_v81/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v81/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v81/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_saveGif.md b/old_docs/API_docs_v81/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v81/methods/messages_saveGif.md +++ b/old_docs/API_docs_v81/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v81/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_search.md b/old_docs/API_docs_v81/methods/messages_search.md index 5d038792..f553a286 100644 --- a/old_docs/API_docs_v81/methods/messages_search.md +++ b/old_docs/API_docs_v81/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_searchGifs.md b/old_docs/API_docs_v81/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v81/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v81/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_searchGlobal.md b/old_docs/API_docs_v81/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v81/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v81/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_searchStickerSets.md b/old_docs/API_docs_v81/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/old_docs/API_docs_v81/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v81/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendEncrypted.md b/old_docs/API_docs_v81/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v81/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v81/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendMedia.md b/old_docs/API_docs_v81/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v81/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendMessage.md b/old_docs/API_docs_v81/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v81/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v81/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v81/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v81/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v81/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v81/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v81/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setGameScore.md b/old_docs/API_docs_v81/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v81/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v81/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v81/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v81/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_setTyping.md b/old_docs/API_docs_v81/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v81/methods/messages_setTyping.md +++ b/old_docs/API_docs_v81/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_startBot.md b/old_docs/API_docs_v81/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v81/methods/messages_startBot.md +++ b/old_docs/API_docs_v81/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v81/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v81/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v81/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/messages_uploadMedia.md b/old_docs/API_docs_v81/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v81/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v81/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_getPaymentForm.md b/old_docs/API_docs_v81/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v81/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v81/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_getSavedInfo.md b/old_docs/API_docs_v81/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v81/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v81/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/phone_getCallConfig.md b/old_docs/API_docs_v81/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v81/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v81/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/phone_receivedCall.md b/old_docs/API_docs_v81/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v81/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v81/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/phone_saveCallDebug.md b/old_docs/API_docs_v81/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v81/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v81/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/phone_setCallRating.md b/old_docs/API_docs_v81/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v81/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v81/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/photos_deletePhotos.md b/old_docs/API_docs_v81/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v81/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v81/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/photos_getUserPhotos.md b/old_docs/API_docs_v81/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v81/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v81/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v81/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v81/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v81/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v81/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/stickers_createStickerSet.md b/old_docs/API_docs_v81/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v81/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v81/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v81/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/upload_getWebFile.md b/old_docs/API_docs_v81/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v81/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v81/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/users_getUsers.md b/old_docs/API_docs_v81/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v81/methods/users_getUsers.md +++ b/old_docs/API_docs_v81/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v81/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_acceptAuthorization.md b/old_docs/API_docs_v82/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/old_docs/API_docs_v82/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v82/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_changePhone.md b/old_docs/API_docs_v82/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v82/methods/account_changePhone.md +++ b/old_docs/API_docs_v82/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_checkUsername.md b/old_docs/API_docs_v82/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v82/methods/account_checkUsername.md +++ b/old_docs/API_docs_v82/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_confirmPhone.md b/old_docs/API_docs_v82/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v82/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v82/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_deleteAccount.md b/old_docs/API_docs_v82/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v82/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v82/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_deleteSecureValue.md b/old_docs/API_docs_v82/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/old_docs/API_docs_v82/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v82/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v82/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/old_docs/API_docs_v82/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v82/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getAccountTTL.md b/old_docs/API_docs_v82/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v82/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v82/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getAllSecureValues.md b/old_docs/API_docs_v82/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/old_docs/API_docs_v82/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v82/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v82/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/old_docs/API_docs_v82/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v82/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getAuthorizations.md b/old_docs/API_docs_v82/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v82/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v82/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getNotifySettings.md b/old_docs/API_docs_v82/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v82/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v82/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getPassword.md b/old_docs/API_docs_v82/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v82/methods/account_getPassword.md +++ b/old_docs/API_docs_v82/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getPrivacy.md b/old_docs/API_docs_v82/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v82/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v82/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getSecureValue.md b/old_docs/API_docs_v82/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/old_docs/API_docs_v82/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v82/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getTmpPassword.md b/old_docs/API_docs_v82/methods/account_getTmpPassword.md index be75dc69..72dcab34 100644 --- a/old_docs/API_docs_v82/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v82/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getWallPapers.md b/old_docs/API_docs_v82/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v82/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v82/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v82/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v82/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v82/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_initTakeoutSession.md b/old_docs/API_docs_v82/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/old_docs/API_docs_v82/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v82/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_registerDevice.md b/old_docs/API_docs_v82/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/old_docs/API_docs_v82/methods/account_registerDevice.md +++ b/old_docs/API_docs_v82/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_reportPeer.md b/old_docs/API_docs_v82/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v82/methods/account_reportPeer.md +++ b/old_docs/API_docs_v82/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_resetAuthorization.md b/old_docs/API_docs_v82/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v82/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v82/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_resetNotifySettings.md b/old_docs/API_docs_v82/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v82/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v82/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v82/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v82/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v82/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v82/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v82/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v82/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_saveSecureValue.md b/old_docs/API_docs_v82/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/old_docs/API_docs_v82/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v82/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v82/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v82/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v82/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v82/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v82/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v82/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v82/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/old_docs/API_docs_v82/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v82/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v82/methods/account_sendVerifyPhoneCode.md index 45902b30..995208cb 100644 --- a/old_docs/API_docs_v82/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v82/methods/account_sendVerifyPhoneCode.md @@ -30,6 +30,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_setAccountTTL.md b/old_docs/API_docs_v82/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v82/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v82/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_setPrivacy.md b/old_docs/API_docs_v82/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v82/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v82/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_unregisterDevice.md b/old_docs/API_docs_v82/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v82/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v82/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v82/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v82/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v82/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_updateNotifySettings.md b/old_docs/API_docs_v82/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v82/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v82/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_updateProfile.md b/old_docs/API_docs_v82/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v82/methods/account_updateProfile.md +++ b/old_docs/API_docs_v82/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_updateStatus.md b/old_docs/API_docs_v82/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v82/methods/account_updateStatus.md +++ b/old_docs/API_docs_v82/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_updateUsername.md b/old_docs/API_docs_v82/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v82/methods/account_updateUsername.md +++ b/old_docs/API_docs_v82/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_verifyEmail.md b/old_docs/API_docs_v82/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/old_docs/API_docs_v82/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v82/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/account_verifyPhone.md b/old_docs/API_docs_v82/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/old_docs/API_docs_v82/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v82/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_cancelCode.md b/old_docs/API_docs_v82/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v82/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v82/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v82/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v82/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v82/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_recoverPassword.md b/old_docs/API_docs_v82/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v82/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v82/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v82/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v82/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v82/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_resendCode.md b/old_docs/API_docs_v82/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v82/methods/auth_resendCode.md +++ b/old_docs/API_docs_v82/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v82/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v82/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v82/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v82/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v82/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v82/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v82/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v82/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v82/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_checkUsername.md b/old_docs/API_docs_v82/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v82/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v82/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_createChannel.md b/old_docs/API_docs_v82/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v82/methods/channels_createChannel.md +++ b/old_docs/API_docs_v82/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_deleteChannel.md b/old_docs/API_docs_v82/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v82/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v82/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_deleteHistory.md b/old_docs/API_docs_v82/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v82/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v82/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_deleteMessages.md b/old_docs/API_docs_v82/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v82/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v82/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v82/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v82/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v82/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_editAbout.md b/old_docs/API_docs_v82/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v82/methods/channels_editAbout.md +++ b/old_docs/API_docs_v82/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_editAdmin.md b/old_docs/API_docs_v82/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v82/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v82/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_editBanned.md b/old_docs/API_docs_v82/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v82/methods/channels_editBanned.md +++ b/old_docs/API_docs_v82/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_editPhoto.md b/old_docs/API_docs_v82/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v82/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v82/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_editTitle.md b/old_docs/API_docs_v82/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v82/methods/channels_editTitle.md +++ b/old_docs/API_docs_v82/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_exportInvite.md b/old_docs/API_docs_v82/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v82/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v82/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_exportMessageLink.md b/old_docs/API_docs_v82/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v82/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v82/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getAdminLog.md b/old_docs/API_docs_v82/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v82/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v82/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v82/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v82/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v82/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getChannels.md b/old_docs/API_docs_v82/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v82/methods/channels_getChannels.md +++ b/old_docs/API_docs_v82/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getLeftChannels.md b/old_docs/API_docs_v82/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/old_docs/API_docs_v82/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v82/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getMessages.md b/old_docs/API_docs_v82/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v82/methods/channels_getMessages.md +++ b/old_docs/API_docs_v82/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getParticipant.md b/old_docs/API_docs_v82/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v82/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v82/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_getParticipants.md b/old_docs/API_docs_v82/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v82/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v82/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_inviteToChannel.md b/old_docs/API_docs_v82/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v82/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v82/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_joinChannel.md b/old_docs/API_docs_v82/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v82/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v82/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_leaveChannel.md b/old_docs/API_docs_v82/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v82/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v82/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_readHistory.md b/old_docs/API_docs_v82/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v82/methods/channels_readHistory.md +++ b/old_docs/API_docs_v82/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_readMessageContents.md b/old_docs/API_docs_v82/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v82/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v82/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_reportSpam.md b/old_docs/API_docs_v82/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v82/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v82/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_setStickers.md b/old_docs/API_docs_v82/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v82/methods/channels_setStickers.md +++ b/old_docs/API_docs_v82/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_toggleInvites.md b/old_docs/API_docs_v82/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v82/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v82/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v82/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v82/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v82/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_toggleSignatures.md b/old_docs/API_docs_v82/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v82/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v82/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v82/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v82/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v82/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/channels_updateUsername.md b/old_docs/API_docs_v82/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v82/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v82/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_block.md b/old_docs/API_docs_v82/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v82/methods/contacts_block.md +++ b/old_docs/API_docs_v82/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_deleteContact.md b/old_docs/API_docs_v82/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v82/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v82/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_deleteContacts.md b/old_docs/API_docs_v82/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v82/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v82/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_exportCard.md b/old_docs/API_docs_v82/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v82/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v82/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_getBlocked.md b/old_docs/API_docs_v82/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v82/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v82/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_getContacts.md b/old_docs/API_docs_v82/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v82/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v82/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_getSaved.md b/old_docs/API_docs_v82/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/old_docs/API_docs_v82/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v82/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_getStatuses.md b/old_docs/API_docs_v82/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v82/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v82/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_getTopPeers.md b/old_docs/API_docs_v82/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v82/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v82/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_importCard.md b/old_docs/API_docs_v82/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v82/methods/contacts_importCard.md +++ b/old_docs/API_docs_v82/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_importContacts.md b/old_docs/API_docs_v82/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v82/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v82/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_resetSaved.md b/old_docs/API_docs_v82/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v82/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v82/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v82/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v82/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v82/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_search.md b/old_docs/API_docs_v82/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v82/methods/contacts_search.md +++ b/old_docs/API_docs_v82/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_toggleTopPeers.md b/old_docs/API_docs_v82/methods/contacts_toggleTopPeers.md index b68b4bf3..2e9f8106 100644 --- a/old_docs/API_docs_v82/methods/contacts_toggleTopPeers.md +++ b/old_docs/API_docs_v82/methods/contacts_toggleTopPeers.md @@ -28,6 +28,7 @@ Toggle top peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/contacts_unblock.md b/old_docs/API_docs_v82/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v82/methods/contacts_unblock.md +++ b/old_docs/API_docs_v82/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v82/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/old_docs/API_docs_v82/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v82/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getAppChangelog.md b/old_docs/API_docs_v82/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v82/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v82/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getAppUpdate.md b/old_docs/API_docs_v82/methods/help_getAppUpdate.md index 541b5972..7e2fdfcd 100644 --- a/old_docs/API_docs_v82/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v82/methods/help_getAppUpdate.md @@ -23,6 +23,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getCdnConfig.md b/old_docs/API_docs_v82/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v82/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v82/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getConfig.md b/old_docs/API_docs_v82/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v82/methods/help_getConfig.md +++ b/old_docs/API_docs_v82/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v82/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/old_docs/API_docs_v82/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v82/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getInviteText.md b/old_docs/API_docs_v82/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v82/methods/help_getInviteText.md +++ b/old_docs/API_docs_v82/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getNearestDc.md b/old_docs/API_docs_v82/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v82/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v82/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getProxyData.md b/old_docs/API_docs_v82/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/old_docs/API_docs_v82/methods/help_getProxyData.md +++ b/old_docs/API_docs_v82/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v82/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v82/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v82/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getSupport.md b/old_docs/API_docs_v82/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v82/methods/help_getSupport.md +++ b/old_docs/API_docs_v82/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v82/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/old_docs/API_docs_v82/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v82/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_saveAppLog.md b/old_docs/API_docs_v82/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v82/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v82/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v82/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v82/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v82/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/initConnection.md b/old_docs/API_docs_v82/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/old_docs/API_docs_v82/methods/initConnection.md +++ b/old_docs/API_docs_v82/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeAfterMsg.md b/old_docs/API_docs_v82/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v82/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v82/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeAfterMsgs.md b/old_docs/API_docs_v82/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v82/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v82/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeWithLayer.md b/old_docs/API_docs_v82/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v82/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v82/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v82/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/old_docs/API_docs_v82/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v82/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeWithTakeout.md b/old_docs/API_docs_v82/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/old_docs/API_docs_v82/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v82/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v82/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v82/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v82/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/langpack_getDifference.md b/old_docs/API_docs_v82/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v82/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v82/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/langpack_getLangPack.md b/old_docs/API_docs_v82/methods/langpack_getLangPack.md index 98001615..a75b3cdc 100644 --- a/old_docs/API_docs_v82/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v82/methods/langpack_getLangPack.md @@ -28,6 +28,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/langpack_getLanguages.md b/old_docs/API_docs_v82/methods/langpack_getLanguages.md index 8a592a86..a0d7be4a 100644 --- a/old_docs/API_docs_v82/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v82/methods/langpack_getLanguages.md @@ -23,6 +23,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/langpack_getStrings.md b/old_docs/API_docs_v82/methods/langpack_getStrings.md index ccd0a684..8724cc49 100644 --- a/old_docs/API_docs_v82/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v82/methods/langpack_getStrings.md @@ -29,6 +29,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_addChatUser.md b/old_docs/API_docs_v82/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v82/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v82/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_checkChatInvite.md b/old_docs/API_docs_v82/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v82/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v82/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v82/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v82/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v82/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_createChat.md b/old_docs/API_docs_v82/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v82/methods/messages_createChat.md +++ b/old_docs/API_docs_v82/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_deleteChatUser.md b/old_docs/API_docs_v82/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v82/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v82/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_deleteHistory.md b/old_docs/API_docs_v82/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v82/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v82/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_deleteMessages.md b/old_docs/API_docs_v82/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v82/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v82/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_editChatAdmin.md b/old_docs/API_docs_v82/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v82/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v82/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_editChatPhoto.md b/old_docs/API_docs_v82/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v82/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v82/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_editChatTitle.md b/old_docs/API_docs_v82/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v82/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v82/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md index 1ac1975f..4e0e58b1 100644 --- a/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v82/methods/messages_editInlineBotMessage.md @@ -36,6 +36,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_editMessage.md b/old_docs/API_docs_v82/methods/messages_editMessage.md index 25946d9a..312e7291 100644 --- a/old_docs/API_docs_v82/methods/messages_editMessage.md +++ b/old_docs/API_docs_v82/methods/messages_editMessage.md @@ -37,6 +37,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_exportChatInvite.md b/old_docs/API_docs_v82/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v82/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v82/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_faveSticker.md b/old_docs/API_docs_v82/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v82/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v82/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_forwardMessages.md b/old_docs/API_docs_v82/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v82/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v82/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getAllChats.md b/old_docs/API_docs_v82/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v82/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v82/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getAllDrafts.md b/old_docs/API_docs_v82/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v82/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v82/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getAllStickers.md b/old_docs/API_docs_v82/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v82/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v82/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v82/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v82/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v82/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v82/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v82/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v82/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getChats.md b/old_docs/API_docs_v82/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v82/methods/messages_getChats.md +++ b/old_docs/API_docs_v82/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getCommonChats.md b/old_docs/API_docs_v82/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v82/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v82/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getDialogUnreadMarks.md b/old_docs/API_docs_v82/methods/messages_getDialogUnreadMarks.md index 74c65efa..212b2859 100644 --- a/old_docs/API_docs_v82/methods/messages_getDialogUnreadMarks.md +++ b/old_docs/API_docs_v82/methods/messages_getDialogUnreadMarks.md @@ -23,6 +23,7 @@ Get dialogs marked as unread manually if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getDialogs.md b/old_docs/API_docs_v82/methods/messages_getDialogs.md index 9e2e33c2..54d7c469 100644 --- a/old_docs/API_docs_v82/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v82/methods/messages_getDialogs.md @@ -33,6 +33,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v82/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v82/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v82/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getFavedStickers.md b/old_docs/API_docs_v82/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v82/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v82/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v82/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getGameHighScores.md b/old_docs/API_docs_v82/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v82/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v82/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getHistory.md b/old_docs/API_docs_v82/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v82/methods/messages_getHistory.md +++ b/old_docs/API_docs_v82/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v82/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v82/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v82/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v82/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v82/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v82/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getMaskStickers.md b/old_docs/API_docs_v82/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v82/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getMessageEditData.md b/old_docs/API_docs_v82/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v82/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v82/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getMessages.md b/old_docs/API_docs_v82/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v82/methods/messages_getMessages.md +++ b/old_docs/API_docs_v82/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getMessagesViews.md b/old_docs/API_docs_v82/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v82/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v82/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v82/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/old_docs/API_docs_v82/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v82/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getPeerSettings.md b/old_docs/API_docs_v82/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v82/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v82/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v82/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v82/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v82/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getRecentLocations.md b/old_docs/API_docs_v82/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/old_docs/API_docs_v82/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v82/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getRecentStickers.md b/old_docs/API_docs_v82/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v82/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getSavedGifs.md b/old_docs/API_docs_v82/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v82/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v82/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getSplitRanges.md b/old_docs/API_docs_v82/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/old_docs/API_docs_v82/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v82/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getStickerSet.md b/old_docs/API_docs_v82/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v82/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v82/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getStickers.md b/old_docs/API_docs_v82/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/old_docs/API_docs_v82/methods/messages_getStickers.md +++ b/old_docs/API_docs_v82/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v82/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v82/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v82/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getWebPage.md b/old_docs/API_docs_v82/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v82/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v82/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v82/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_hideReportSpam.md b/old_docs/API_docs_v82/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v82/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v82/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_importChatInvite.md b/old_docs/API_docs_v82/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v82/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v82/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_installStickerSet.md b/old_docs/API_docs_v82/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v82/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v82/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_markDialogUnread.md b/old_docs/API_docs_v82/methods/messages_markDialogUnread.md index ddf580db..d9b92661 100644 --- a/old_docs/API_docs_v82/methods/messages_markDialogUnread.md +++ b/old_docs/API_docs_v82/methods/messages_markDialogUnread.md @@ -29,6 +29,7 @@ Mark dialog as unread if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_migrateChat.md b/old_docs/API_docs_v82/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v82/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v82/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v82/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v82/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v82/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v82/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v82/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v82/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_readHistory.md b/old_docs/API_docs_v82/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v82/methods/messages_readHistory.md +++ b/old_docs/API_docs_v82/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_readMentions.md b/old_docs/API_docs_v82/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v82/methods/messages_readMentions.md +++ b/old_docs/API_docs_v82/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_readMessageContents.md b/old_docs/API_docs_v82/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v82/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v82/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_receivedMessages.md b/old_docs/API_docs_v82/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v82/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v82/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v82/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/old_docs/API_docs_v82/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v82/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v82/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v82/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v82/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_report.md b/old_docs/API_docs_v82/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/old_docs/API_docs_v82/methods/messages_report.md +++ b/old_docs/API_docs_v82/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v82/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v82/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v82/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_reportSpam.md b/old_docs/API_docs_v82/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v82/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v82/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_saveDraft.md b/old_docs/API_docs_v82/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v82/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v82/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_saveGif.md b/old_docs/API_docs_v82/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v82/methods/messages_saveGif.md +++ b/old_docs/API_docs_v82/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v82/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v82/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v82/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_search.md b/old_docs/API_docs_v82/methods/messages_search.md index 5d038792..f553a286 100644 --- a/old_docs/API_docs_v82/methods/messages_search.md +++ b/old_docs/API_docs_v82/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_searchGifs.md b/old_docs/API_docs_v82/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v82/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v82/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_searchGlobal.md b/old_docs/API_docs_v82/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v82/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v82/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_searchStickerSets.md b/old_docs/API_docs_v82/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/old_docs/API_docs_v82/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v82/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendEncrypted.md b/old_docs/API_docs_v82/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v82/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v82/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v82/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v82/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v82/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v82/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v82/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v82/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v82/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v82/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v82/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendMedia.md b/old_docs/API_docs_v82/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v82/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v82/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendMessage.md b/old_docs/API_docs_v82/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v82/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v82/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v82/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v82/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v82/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v82/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v82/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v82/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v82/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v82/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v82/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v82/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v82/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v82/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v82/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v82/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v82/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v82/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v82/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v82/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setGameScore.md b/old_docs/API_docs_v82/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v82/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v82/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v82/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v82/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v82/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v82/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v82/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v82/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_setTyping.md b/old_docs/API_docs_v82/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v82/methods/messages_setTyping.md +++ b/old_docs/API_docs_v82/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_startBot.md b/old_docs/API_docs_v82/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v82/methods/messages_startBot.md +++ b/old_docs/API_docs_v82/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v82/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v82/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v82/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v82/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/old_docs/API_docs_v82/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v82/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v82/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v82/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v82/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v82/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v82/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v82/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/messages_uploadMedia.md b/old_docs/API_docs_v82/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v82/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v82/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v82/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v82/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v82/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_getPaymentForm.md b/old_docs/API_docs_v82/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v82/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v82/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v82/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v82/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v82/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_getSavedInfo.md b/old_docs/API_docs_v82/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v82/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v82/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v82/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v82/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v82/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v82/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v82/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v82/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/phone_getCallConfig.md b/old_docs/API_docs_v82/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v82/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v82/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/phone_receivedCall.md b/old_docs/API_docs_v82/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v82/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v82/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/phone_saveCallDebug.md b/old_docs/API_docs_v82/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v82/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v82/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/phone_setCallRating.md b/old_docs/API_docs_v82/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v82/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v82/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/photos_deletePhotos.md b/old_docs/API_docs_v82/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v82/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v82/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/photos_getUserPhotos.md b/old_docs/API_docs_v82/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v82/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v82/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v82/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v82/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v82/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v82/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v82/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v82/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v82/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v82/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v82/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v82/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v82/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v82/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/stickers_createStickerSet.md b/old_docs/API_docs_v82/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v82/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v82/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v82/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v82/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v82/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/upload_getWebFile.md b/old_docs/API_docs_v82/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v82/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v82/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/users_getUsers.md b/old_docs/API_docs_v82/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v82/methods/users_getUsers.md +++ b/old_docs/API_docs_v82/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v82/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v82/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/old_docs/API_docs_v82/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v82/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_acceptAuthorization.md b/old_docs/API_docs_v86/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/old_docs/API_docs_v86/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v86/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_changePhone.md b/old_docs/API_docs_v86/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v86/methods/account_changePhone.md +++ b/old_docs/API_docs_v86/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_checkUsername.md b/old_docs/API_docs_v86/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v86/methods/account_checkUsername.md +++ b/old_docs/API_docs_v86/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_confirmPhone.md b/old_docs/API_docs_v86/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v86/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v86/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_deleteAccount.md b/old_docs/API_docs_v86/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v86/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v86/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_deleteSecureValue.md b/old_docs/API_docs_v86/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/old_docs/API_docs_v86/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v86/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v86/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/old_docs/API_docs_v86/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v86/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getAccountTTL.md b/old_docs/API_docs_v86/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v86/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v86/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getAllSecureValues.md b/old_docs/API_docs_v86/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/old_docs/API_docs_v86/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v86/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v86/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/old_docs/API_docs_v86/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v86/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getAuthorizations.md b/old_docs/API_docs_v86/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v86/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v86/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getNotifySettings.md b/old_docs/API_docs_v86/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v86/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v86/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getPassword.md b/old_docs/API_docs_v86/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v86/methods/account_getPassword.md +++ b/old_docs/API_docs_v86/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getPrivacy.md b/old_docs/API_docs_v86/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v86/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v86/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getSecureValue.md b/old_docs/API_docs_v86/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/old_docs/API_docs_v86/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v86/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getTmpPassword.md b/old_docs/API_docs_v86/methods/account_getTmpPassword.md index 15639c35..208d2ea7 100644 --- a/old_docs/API_docs_v86/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v86/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getWallPapers.md b/old_docs/API_docs_v86/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v86/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v86/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v86/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v86/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v86/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_initTakeoutSession.md b/old_docs/API_docs_v86/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/old_docs/API_docs_v86/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v86/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_registerDevice.md b/old_docs/API_docs_v86/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/old_docs/API_docs_v86/methods/account_registerDevice.md +++ b/old_docs/API_docs_v86/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_reportPeer.md b/old_docs/API_docs_v86/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v86/methods/account_reportPeer.md +++ b/old_docs/API_docs_v86/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_resetAuthorization.md b/old_docs/API_docs_v86/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v86/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v86/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_resetNotifySettings.md b/old_docs/API_docs_v86/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v86/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v86/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v86/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v86/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v86/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v86/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v86/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v86/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_saveSecureValue.md b/old_docs/API_docs_v86/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/old_docs/API_docs_v86/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v86/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v86/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v86/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v86/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v86/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v86/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v86/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v86/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/old_docs/API_docs_v86/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v86/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v86/methods/account_sendVerifyPhoneCode.md index 45902b30..995208cb 100644 --- a/old_docs/API_docs_v86/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v86/methods/account_sendVerifyPhoneCode.md @@ -30,6 +30,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_setAccountTTL.md b/old_docs/API_docs_v86/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v86/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v86/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_setPrivacy.md b/old_docs/API_docs_v86/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v86/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v86/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_unregisterDevice.md b/old_docs/API_docs_v86/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v86/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v86/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v86/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v86/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v86/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_updateNotifySettings.md b/old_docs/API_docs_v86/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v86/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v86/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_updateProfile.md b/old_docs/API_docs_v86/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v86/methods/account_updateProfile.md +++ b/old_docs/API_docs_v86/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_updateStatus.md b/old_docs/API_docs_v86/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v86/methods/account_updateStatus.md +++ b/old_docs/API_docs_v86/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_updateUsername.md b/old_docs/API_docs_v86/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v86/methods/account_updateUsername.md +++ b/old_docs/API_docs_v86/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_verifyEmail.md b/old_docs/API_docs_v86/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/old_docs/API_docs_v86/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v86/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/account_verifyPhone.md b/old_docs/API_docs_v86/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/old_docs/API_docs_v86/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v86/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_cancelCode.md b/old_docs/API_docs_v86/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v86/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v86/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v86/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v86/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v86/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_recoverPassword.md b/old_docs/API_docs_v86/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v86/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v86/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v86/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v86/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v86/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_resendCode.md b/old_docs/API_docs_v86/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v86/methods/auth_resendCode.md +++ b/old_docs/API_docs_v86/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v86/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v86/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v86/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v86/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v86/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v86/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v86/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v86/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v86/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_checkUsername.md b/old_docs/API_docs_v86/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v86/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v86/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_createChannel.md b/old_docs/API_docs_v86/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v86/methods/channels_createChannel.md +++ b/old_docs/API_docs_v86/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_deleteChannel.md b/old_docs/API_docs_v86/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v86/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v86/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_deleteHistory.md b/old_docs/API_docs_v86/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v86/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v86/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_deleteMessages.md b/old_docs/API_docs_v86/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v86/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v86/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v86/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v86/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v86/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_editAbout.md b/old_docs/API_docs_v86/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v86/methods/channels_editAbout.md +++ b/old_docs/API_docs_v86/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_editAdmin.md b/old_docs/API_docs_v86/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v86/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v86/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_editBanned.md b/old_docs/API_docs_v86/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v86/methods/channels_editBanned.md +++ b/old_docs/API_docs_v86/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_editPhoto.md b/old_docs/API_docs_v86/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v86/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v86/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_editTitle.md b/old_docs/API_docs_v86/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v86/methods/channels_editTitle.md +++ b/old_docs/API_docs_v86/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_exportInvite.md b/old_docs/API_docs_v86/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v86/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v86/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_exportMessageLink.md b/old_docs/API_docs_v86/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v86/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v86/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getAdminLog.md b/old_docs/API_docs_v86/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v86/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v86/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v86/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v86/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v86/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getChannels.md b/old_docs/API_docs_v86/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v86/methods/channels_getChannels.md +++ b/old_docs/API_docs_v86/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getLeftChannels.md b/old_docs/API_docs_v86/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/old_docs/API_docs_v86/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v86/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getMessages.md b/old_docs/API_docs_v86/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v86/methods/channels_getMessages.md +++ b/old_docs/API_docs_v86/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getParticipant.md b/old_docs/API_docs_v86/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v86/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v86/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_getParticipants.md b/old_docs/API_docs_v86/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v86/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v86/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_inviteToChannel.md b/old_docs/API_docs_v86/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v86/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v86/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_joinChannel.md b/old_docs/API_docs_v86/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v86/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v86/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_leaveChannel.md b/old_docs/API_docs_v86/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v86/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v86/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_readHistory.md b/old_docs/API_docs_v86/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v86/methods/channels_readHistory.md +++ b/old_docs/API_docs_v86/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_readMessageContents.md b/old_docs/API_docs_v86/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v86/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v86/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_reportSpam.md b/old_docs/API_docs_v86/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v86/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v86/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_setStickers.md b/old_docs/API_docs_v86/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v86/methods/channels_setStickers.md +++ b/old_docs/API_docs_v86/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_toggleInvites.md b/old_docs/API_docs_v86/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v86/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v86/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v86/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v86/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v86/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_toggleSignatures.md b/old_docs/API_docs_v86/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v86/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v86/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v86/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v86/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v86/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/channels_updateUsername.md b/old_docs/API_docs_v86/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v86/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v86/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_block.md b/old_docs/API_docs_v86/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v86/methods/contacts_block.md +++ b/old_docs/API_docs_v86/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_deleteContact.md b/old_docs/API_docs_v86/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v86/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v86/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_deleteContacts.md b/old_docs/API_docs_v86/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v86/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v86/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_exportCard.md b/old_docs/API_docs_v86/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v86/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v86/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_getBlocked.md b/old_docs/API_docs_v86/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v86/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v86/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_getContacts.md b/old_docs/API_docs_v86/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v86/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v86/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_getSaved.md b/old_docs/API_docs_v86/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/old_docs/API_docs_v86/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v86/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_getStatuses.md b/old_docs/API_docs_v86/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v86/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v86/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_getTopPeers.md b/old_docs/API_docs_v86/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v86/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v86/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_importCard.md b/old_docs/API_docs_v86/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v86/methods/contacts_importCard.md +++ b/old_docs/API_docs_v86/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_importContacts.md b/old_docs/API_docs_v86/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v86/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v86/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_resetSaved.md b/old_docs/API_docs_v86/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v86/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v86/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v86/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v86/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v86/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_search.md b/old_docs/API_docs_v86/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v86/methods/contacts_search.md +++ b/old_docs/API_docs_v86/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_toggleTopPeers.md b/old_docs/API_docs_v86/methods/contacts_toggleTopPeers.md index b68b4bf3..2e9f8106 100644 --- a/old_docs/API_docs_v86/methods/contacts_toggleTopPeers.md +++ b/old_docs/API_docs_v86/methods/contacts_toggleTopPeers.md @@ -28,6 +28,7 @@ Toggle top peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/contacts_unblock.md b/old_docs/API_docs_v86/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v86/methods/contacts_unblock.md +++ b/old_docs/API_docs_v86/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v86/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/old_docs/API_docs_v86/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v86/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getAppChangelog.md b/old_docs/API_docs_v86/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v86/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v86/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getAppUpdate.md b/old_docs/API_docs_v86/methods/help_getAppUpdate.md index 4558e073..2b0c90bf 100644 --- a/old_docs/API_docs_v86/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v86/methods/help_getAppUpdate.md @@ -28,6 +28,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getCdnConfig.md b/old_docs/API_docs_v86/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v86/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v86/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getConfig.md b/old_docs/API_docs_v86/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v86/methods/help_getConfig.md +++ b/old_docs/API_docs_v86/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v86/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/old_docs/API_docs_v86/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v86/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getInviteText.md b/old_docs/API_docs_v86/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v86/methods/help_getInviteText.md +++ b/old_docs/API_docs_v86/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getNearestDc.md b/old_docs/API_docs_v86/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v86/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v86/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getPassportConfig.md b/old_docs/API_docs_v86/methods/help_getPassportConfig.md index 4b58fa73..be2d0279 100644 --- a/old_docs/API_docs_v86/methods/help_getPassportConfig.md +++ b/old_docs/API_docs_v86/methods/help_getPassportConfig.md @@ -28,6 +28,7 @@ Get passport config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getProxyData.md b/old_docs/API_docs_v86/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/old_docs/API_docs_v86/methods/help_getProxyData.md +++ b/old_docs/API_docs_v86/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v86/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v86/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v86/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getSupport.md b/old_docs/API_docs_v86/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v86/methods/help_getSupport.md +++ b/old_docs/API_docs_v86/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v86/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/old_docs/API_docs_v86/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v86/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_saveAppLog.md b/old_docs/API_docs_v86/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v86/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v86/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v86/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v86/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v86/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/initConnection.md b/old_docs/API_docs_v86/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/old_docs/API_docs_v86/methods/initConnection.md +++ b/old_docs/API_docs_v86/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeAfterMsg.md b/old_docs/API_docs_v86/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v86/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v86/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeAfterMsgs.md b/old_docs/API_docs_v86/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v86/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v86/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeWithLayer.md b/old_docs/API_docs_v86/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v86/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v86/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v86/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/old_docs/API_docs_v86/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v86/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeWithTakeout.md b/old_docs/API_docs_v86/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/old_docs/API_docs_v86/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v86/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v86/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v86/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v86/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/langpack_getDifference.md b/old_docs/API_docs_v86/methods/langpack_getDifference.md index 30184f61..1d5a777f 100644 --- a/old_docs/API_docs_v86/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v86/methods/langpack_getDifference.md @@ -28,6 +28,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/langpack_getLangPack.md b/old_docs/API_docs_v86/methods/langpack_getLangPack.md index c6944f50..b7e5b041 100644 --- a/old_docs/API_docs_v86/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v86/methods/langpack_getLangPack.md @@ -29,6 +29,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/langpack_getLanguages.md b/old_docs/API_docs_v86/methods/langpack_getLanguages.md index 093ca8a5..ea9faf78 100644 --- a/old_docs/API_docs_v86/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v86/methods/langpack_getLanguages.md @@ -28,6 +28,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/langpack_getStrings.md b/old_docs/API_docs_v86/methods/langpack_getStrings.md index 4df420e7..0fe32c87 100644 --- a/old_docs/API_docs_v86/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v86/methods/langpack_getStrings.md @@ -30,6 +30,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_addChatUser.md b/old_docs/API_docs_v86/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v86/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v86/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_checkChatInvite.md b/old_docs/API_docs_v86/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v86/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v86/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_clearAllDrafts.md b/old_docs/API_docs_v86/methods/messages_clearAllDrafts.md index 9840c525..6cf75853 100644 --- a/old_docs/API_docs_v86/methods/messages_clearAllDrafts.md +++ b/old_docs/API_docs_v86/methods/messages_clearAllDrafts.md @@ -23,6 +23,7 @@ Clear all drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v86/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v86/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v86/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_createChat.md b/old_docs/API_docs_v86/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v86/methods/messages_createChat.md +++ b/old_docs/API_docs_v86/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_deleteChatUser.md b/old_docs/API_docs_v86/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v86/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v86/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_deleteHistory.md b/old_docs/API_docs_v86/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v86/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v86/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_deleteMessages.md b/old_docs/API_docs_v86/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v86/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v86/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_editChatAdmin.md b/old_docs/API_docs_v86/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v86/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v86/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_editChatPhoto.md b/old_docs/API_docs_v86/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v86/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v86/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_editChatTitle.md b/old_docs/API_docs_v86/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v86/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v86/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md index 1ac1975f..4e0e58b1 100644 --- a/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v86/methods/messages_editInlineBotMessage.md @@ -36,6 +36,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_editMessage.md b/old_docs/API_docs_v86/methods/messages_editMessage.md index 25946d9a..312e7291 100644 --- a/old_docs/API_docs_v86/methods/messages_editMessage.md +++ b/old_docs/API_docs_v86/methods/messages_editMessage.md @@ -37,6 +37,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_exportChatInvite.md b/old_docs/API_docs_v86/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v86/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v86/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_faveSticker.md b/old_docs/API_docs_v86/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v86/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v86/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_forwardMessages.md b/old_docs/API_docs_v86/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v86/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v86/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getAllChats.md b/old_docs/API_docs_v86/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v86/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v86/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getAllDrafts.md b/old_docs/API_docs_v86/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v86/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v86/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getAllStickers.md b/old_docs/API_docs_v86/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v86/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v86/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v86/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v86/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v86/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v86/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v86/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v86/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getChats.md b/old_docs/API_docs_v86/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v86/methods/messages_getChats.md +++ b/old_docs/API_docs_v86/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getCommonChats.md b/old_docs/API_docs_v86/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v86/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v86/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getDialogUnreadMarks.md b/old_docs/API_docs_v86/methods/messages_getDialogUnreadMarks.md index 74c65efa..212b2859 100644 --- a/old_docs/API_docs_v86/methods/messages_getDialogUnreadMarks.md +++ b/old_docs/API_docs_v86/methods/messages_getDialogUnreadMarks.md @@ -23,6 +23,7 @@ Get dialogs marked as unread manually if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getDialogs.md b/old_docs/API_docs_v86/methods/messages_getDialogs.md index 9e2e33c2..54d7c469 100644 --- a/old_docs/API_docs_v86/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v86/methods/messages_getDialogs.md @@ -33,6 +33,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v86/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v86/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v86/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getFavedStickers.md b/old_docs/API_docs_v86/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v86/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v86/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v86/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getGameHighScores.md b/old_docs/API_docs_v86/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v86/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v86/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getHistory.md b/old_docs/API_docs_v86/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v86/methods/messages_getHistory.md +++ b/old_docs/API_docs_v86/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v86/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v86/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v86/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v86/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v86/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v86/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getMaskStickers.md b/old_docs/API_docs_v86/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v86/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getMessageEditData.md b/old_docs/API_docs_v86/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v86/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v86/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getMessages.md b/old_docs/API_docs_v86/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v86/methods/messages_getMessages.md +++ b/old_docs/API_docs_v86/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getMessagesViews.md b/old_docs/API_docs_v86/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v86/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v86/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v86/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/old_docs/API_docs_v86/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v86/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getPeerSettings.md b/old_docs/API_docs_v86/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v86/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v86/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v86/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v86/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v86/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getRecentLocations.md b/old_docs/API_docs_v86/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/old_docs/API_docs_v86/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v86/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getRecentStickers.md b/old_docs/API_docs_v86/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v86/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getSavedGifs.md b/old_docs/API_docs_v86/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v86/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v86/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getSplitRanges.md b/old_docs/API_docs_v86/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/old_docs/API_docs_v86/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v86/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getStickerSet.md b/old_docs/API_docs_v86/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v86/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v86/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getStickers.md b/old_docs/API_docs_v86/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/old_docs/API_docs_v86/methods/messages_getStickers.md +++ b/old_docs/API_docs_v86/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v86/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v86/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v86/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getWebPage.md b/old_docs/API_docs_v86/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v86/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v86/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v86/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_hideReportSpam.md b/old_docs/API_docs_v86/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v86/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v86/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_importChatInvite.md b/old_docs/API_docs_v86/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v86/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v86/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_installStickerSet.md b/old_docs/API_docs_v86/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v86/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v86/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_markDialogUnread.md b/old_docs/API_docs_v86/methods/messages_markDialogUnread.md index ddf580db..d9b92661 100644 --- a/old_docs/API_docs_v86/methods/messages_markDialogUnread.md +++ b/old_docs/API_docs_v86/methods/messages_markDialogUnread.md @@ -29,6 +29,7 @@ Mark dialog as unread if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_migrateChat.md b/old_docs/API_docs_v86/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v86/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v86/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v86/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v86/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v86/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v86/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v86/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v86/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_readHistory.md b/old_docs/API_docs_v86/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v86/methods/messages_readHistory.md +++ b/old_docs/API_docs_v86/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_readMentions.md b/old_docs/API_docs_v86/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v86/methods/messages_readMentions.md +++ b/old_docs/API_docs_v86/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_readMessageContents.md b/old_docs/API_docs_v86/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v86/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v86/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_receivedMessages.md b/old_docs/API_docs_v86/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v86/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v86/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v86/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/old_docs/API_docs_v86/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v86/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v86/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v86/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v86/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_report.md b/old_docs/API_docs_v86/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/old_docs/API_docs_v86/methods/messages_report.md +++ b/old_docs/API_docs_v86/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v86/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v86/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v86/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_reportSpam.md b/old_docs/API_docs_v86/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v86/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v86/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_saveDraft.md b/old_docs/API_docs_v86/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v86/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v86/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_saveGif.md b/old_docs/API_docs_v86/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v86/methods/messages_saveGif.md +++ b/old_docs/API_docs_v86/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v86/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v86/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v86/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_search.md b/old_docs/API_docs_v86/methods/messages_search.md index 5d038792..f553a286 100644 --- a/old_docs/API_docs_v86/methods/messages_search.md +++ b/old_docs/API_docs_v86/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_searchGifs.md b/old_docs/API_docs_v86/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v86/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v86/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_searchGlobal.md b/old_docs/API_docs_v86/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v86/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v86/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_searchStickerSets.md b/old_docs/API_docs_v86/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/old_docs/API_docs_v86/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v86/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendEncrypted.md b/old_docs/API_docs_v86/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v86/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v86/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v86/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v86/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v86/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v86/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v86/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v86/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v86/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v86/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v86/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendMedia.md b/old_docs/API_docs_v86/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v86/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v86/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendMessage.md b/old_docs/API_docs_v86/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v86/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v86/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v86/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v86/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v86/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v86/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v86/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v86/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v86/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v86/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v86/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v86/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v86/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v86/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v86/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v86/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v86/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v86/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v86/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v86/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setGameScore.md b/old_docs/API_docs_v86/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v86/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v86/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v86/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v86/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v86/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v86/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v86/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v86/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_setTyping.md b/old_docs/API_docs_v86/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v86/methods/messages_setTyping.md +++ b/old_docs/API_docs_v86/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_startBot.md b/old_docs/API_docs_v86/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v86/methods/messages_startBot.md +++ b/old_docs/API_docs_v86/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v86/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v86/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v86/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v86/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/old_docs/API_docs_v86/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v86/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v86/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v86/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v86/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v86/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v86/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v86/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/messages_uploadMedia.md b/old_docs/API_docs_v86/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v86/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v86/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v86/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v86/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v86/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_getPaymentForm.md b/old_docs/API_docs_v86/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v86/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v86/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v86/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v86/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v86/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_getSavedInfo.md b/old_docs/API_docs_v86/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v86/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v86/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v86/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v86/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v86/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v86/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v86/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v86/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/phone_getCallConfig.md b/old_docs/API_docs_v86/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v86/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v86/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/phone_receivedCall.md b/old_docs/API_docs_v86/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v86/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v86/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/phone_saveCallDebug.md b/old_docs/API_docs_v86/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v86/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v86/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/phone_setCallRating.md b/old_docs/API_docs_v86/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v86/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v86/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/photos_deletePhotos.md b/old_docs/API_docs_v86/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v86/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v86/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/photos_getUserPhotos.md b/old_docs/API_docs_v86/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v86/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v86/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v86/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v86/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v86/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v86/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v86/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v86/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v86/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v86/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v86/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v86/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v86/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v86/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/stickers_createStickerSet.md b/old_docs/API_docs_v86/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v86/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v86/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v86/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v86/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v86/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/upload_getWebFile.md b/old_docs/API_docs_v86/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v86/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v86/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/users_getUsers.md b/old_docs/API_docs_v86/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v86/methods/users_getUsers.md +++ b/old_docs/API_docs_v86/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v86/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v86/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/old_docs/API_docs_v86/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v86/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_acceptAuthorization.md b/old_docs/API_docs_v89/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/old_docs/API_docs_v89/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v89/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_cancelPasswordEmail.md b/old_docs/API_docs_v89/methods/account_cancelPasswordEmail.md index 00120310..7e1b0e4c 100644 --- a/old_docs/API_docs_v89/methods/account_cancelPasswordEmail.md +++ b/old_docs/API_docs_v89/methods/account_cancelPasswordEmail.md @@ -23,6 +23,7 @@ Cancel password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_changePhone.md b/old_docs/API_docs_v89/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v89/methods/account_changePhone.md +++ b/old_docs/API_docs_v89/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_checkUsername.md b/old_docs/API_docs_v89/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v89/methods/account_checkUsername.md +++ b/old_docs/API_docs_v89/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_confirmPasswordEmail.md b/old_docs/API_docs_v89/methods/account_confirmPasswordEmail.md index 7eaca911..03783240 100644 --- a/old_docs/API_docs_v89/methods/account_confirmPasswordEmail.md +++ b/old_docs/API_docs_v89/methods/account_confirmPasswordEmail.md @@ -28,6 +28,7 @@ Confirm password recovery using email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_confirmPhone.md b/old_docs/API_docs_v89/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v89/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v89/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_deleteAccount.md b/old_docs/API_docs_v89/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v89/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v89/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_deleteSecureValue.md b/old_docs/API_docs_v89/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/old_docs/API_docs_v89/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v89/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v89/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/old_docs/API_docs_v89/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v89/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getAccountTTL.md b/old_docs/API_docs_v89/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v89/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v89/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getAllSecureValues.md b/old_docs/API_docs_v89/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/old_docs/API_docs_v89/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v89/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v89/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/old_docs/API_docs_v89/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v89/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getAuthorizations.md b/old_docs/API_docs_v89/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v89/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v89/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getNotifySettings.md b/old_docs/API_docs_v89/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v89/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v89/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getPassword.md b/old_docs/API_docs_v89/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v89/methods/account_getPassword.md +++ b/old_docs/API_docs_v89/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getPrivacy.md b/old_docs/API_docs_v89/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v89/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v89/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getSecureValue.md b/old_docs/API_docs_v89/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/old_docs/API_docs_v89/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v89/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getTmpPassword.md b/old_docs/API_docs_v89/methods/account_getTmpPassword.md index 15639c35..208d2ea7 100644 --- a/old_docs/API_docs_v89/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v89/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getWallPapers.md b/old_docs/API_docs_v89/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v89/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v89/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v89/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v89/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v89/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_initTakeoutSession.md b/old_docs/API_docs_v89/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/old_docs/API_docs_v89/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v89/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_registerDevice.md b/old_docs/API_docs_v89/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/old_docs/API_docs_v89/methods/account_registerDevice.md +++ b/old_docs/API_docs_v89/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_reportPeer.md b/old_docs/API_docs_v89/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v89/methods/account_reportPeer.md +++ b/old_docs/API_docs_v89/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_resendPasswordEmail.md b/old_docs/API_docs_v89/methods/account_resendPasswordEmail.md index 8f6d20fc..f30f949b 100644 --- a/old_docs/API_docs_v89/methods/account_resendPasswordEmail.md +++ b/old_docs/API_docs_v89/methods/account_resendPasswordEmail.md @@ -23,6 +23,7 @@ Resend password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_resetAuthorization.md b/old_docs/API_docs_v89/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v89/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v89/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_resetNotifySettings.md b/old_docs/API_docs_v89/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v89/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v89/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v89/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v89/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v89/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v89/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v89/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v89/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_saveSecureValue.md b/old_docs/API_docs_v89/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/old_docs/API_docs_v89/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v89/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v89/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v89/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v89/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v89/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v89/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v89/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v89/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/old_docs/API_docs_v89/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v89/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v89/methods/account_sendVerifyPhoneCode.md index 45902b30..995208cb 100644 --- a/old_docs/API_docs_v89/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v89/methods/account_sendVerifyPhoneCode.md @@ -30,6 +30,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_setAccountTTL.md b/old_docs/API_docs_v89/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v89/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v89/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_setPrivacy.md b/old_docs/API_docs_v89/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v89/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v89/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_unregisterDevice.md b/old_docs/API_docs_v89/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v89/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v89/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v89/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v89/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v89/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_updateNotifySettings.md b/old_docs/API_docs_v89/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v89/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v89/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_updateProfile.md b/old_docs/API_docs_v89/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v89/methods/account_updateProfile.md +++ b/old_docs/API_docs_v89/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_updateStatus.md b/old_docs/API_docs_v89/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v89/methods/account_updateStatus.md +++ b/old_docs/API_docs_v89/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_updateUsername.md b/old_docs/API_docs_v89/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v89/methods/account_updateUsername.md +++ b/old_docs/API_docs_v89/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_verifyEmail.md b/old_docs/API_docs_v89/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/old_docs/API_docs_v89/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v89/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/account_verifyPhone.md b/old_docs/API_docs_v89/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/old_docs/API_docs_v89/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v89/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_cancelCode.md b/old_docs/API_docs_v89/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v89/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v89/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v89/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v89/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v89/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_recoverPassword.md b/old_docs/API_docs_v89/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v89/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v89/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v89/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v89/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v89/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_resendCode.md b/old_docs/API_docs_v89/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v89/methods/auth_resendCode.md +++ b/old_docs/API_docs_v89/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v89/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v89/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v89/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v89/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v89/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v89/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v89/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v89/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v89/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_checkUsername.md b/old_docs/API_docs_v89/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v89/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v89/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_createChannel.md b/old_docs/API_docs_v89/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v89/methods/channels_createChannel.md +++ b/old_docs/API_docs_v89/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_deleteChannel.md b/old_docs/API_docs_v89/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v89/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v89/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_deleteHistory.md b/old_docs/API_docs_v89/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v89/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v89/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_deleteMessages.md b/old_docs/API_docs_v89/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v89/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v89/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v89/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v89/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v89/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_editAbout.md b/old_docs/API_docs_v89/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v89/methods/channels_editAbout.md +++ b/old_docs/API_docs_v89/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_editAdmin.md b/old_docs/API_docs_v89/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v89/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v89/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_editBanned.md b/old_docs/API_docs_v89/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v89/methods/channels_editBanned.md +++ b/old_docs/API_docs_v89/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_editPhoto.md b/old_docs/API_docs_v89/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v89/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v89/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_editTitle.md b/old_docs/API_docs_v89/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v89/methods/channels_editTitle.md +++ b/old_docs/API_docs_v89/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_exportInvite.md b/old_docs/API_docs_v89/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v89/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v89/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_exportMessageLink.md b/old_docs/API_docs_v89/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v89/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v89/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getAdminLog.md b/old_docs/API_docs_v89/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v89/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v89/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v89/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v89/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v89/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getChannels.md b/old_docs/API_docs_v89/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v89/methods/channels_getChannels.md +++ b/old_docs/API_docs_v89/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getLeftChannels.md b/old_docs/API_docs_v89/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/old_docs/API_docs_v89/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v89/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getMessages.md b/old_docs/API_docs_v89/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v89/methods/channels_getMessages.md +++ b/old_docs/API_docs_v89/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getParticipant.md b/old_docs/API_docs_v89/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v89/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v89/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_getParticipants.md b/old_docs/API_docs_v89/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v89/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v89/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_inviteToChannel.md b/old_docs/API_docs_v89/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v89/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v89/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_joinChannel.md b/old_docs/API_docs_v89/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v89/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v89/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_leaveChannel.md b/old_docs/API_docs_v89/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v89/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v89/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_readHistory.md b/old_docs/API_docs_v89/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v89/methods/channels_readHistory.md +++ b/old_docs/API_docs_v89/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_readMessageContents.md b/old_docs/API_docs_v89/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v89/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v89/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_reportSpam.md b/old_docs/API_docs_v89/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v89/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v89/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_setStickers.md b/old_docs/API_docs_v89/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v89/methods/channels_setStickers.md +++ b/old_docs/API_docs_v89/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_toggleInvites.md b/old_docs/API_docs_v89/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v89/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v89/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v89/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v89/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v89/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_toggleSignatures.md b/old_docs/API_docs_v89/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v89/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v89/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v89/methods/channels_updatePinnedMessage.md index 9d2cc058..e8cd92e9 100644 --- a/old_docs/API_docs_v89/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v89/methods/channels_updatePinnedMessage.md @@ -30,6 +30,7 @@ Set the pinned message of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/channels_updateUsername.md b/old_docs/API_docs_v89/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v89/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v89/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_block.md b/old_docs/API_docs_v89/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v89/methods/contacts_block.md +++ b/old_docs/API_docs_v89/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_deleteContact.md b/old_docs/API_docs_v89/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v89/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v89/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_deleteContacts.md b/old_docs/API_docs_v89/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v89/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v89/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_exportCard.md b/old_docs/API_docs_v89/methods/contacts_exportCard.md index eec195e5..7630b85f 100644 --- a/old_docs/API_docs_v89/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v89/methods/contacts_exportCard.md @@ -23,6 +23,7 @@ Export contact as card if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getBlocked.md b/old_docs/API_docs_v89/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v89/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v89/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getContactIDs.md b/old_docs/API_docs_v89/methods/contacts_getContactIDs.md index 46a1d748..09ce8bf7 100644 --- a/old_docs/API_docs_v89/methods/contacts_getContactIDs.md +++ b/old_docs/API_docs_v89/methods/contacts_getContactIDs.md @@ -28,6 +28,7 @@ Get contacts by IDs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getContacts.md b/old_docs/API_docs_v89/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v89/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v89/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getSaved.md b/old_docs/API_docs_v89/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/old_docs/API_docs_v89/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v89/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getStatuses.md b/old_docs/API_docs_v89/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v89/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v89/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_getTopPeers.md b/old_docs/API_docs_v89/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v89/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v89/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_importCard.md b/old_docs/API_docs_v89/methods/contacts_importCard.md index 45280124..d8549185 100644 --- a/old_docs/API_docs_v89/methods/contacts_importCard.md +++ b/old_docs/API_docs_v89/methods/contacts_importCard.md @@ -28,6 +28,7 @@ Import card as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_importContacts.md b/old_docs/API_docs_v89/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v89/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v89/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_resetSaved.md b/old_docs/API_docs_v89/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v89/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v89/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v89/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v89/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v89/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_search.md b/old_docs/API_docs_v89/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v89/methods/contacts_search.md +++ b/old_docs/API_docs_v89/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_toggleTopPeers.md b/old_docs/API_docs_v89/methods/contacts_toggleTopPeers.md index b68b4bf3..2e9f8106 100644 --- a/old_docs/API_docs_v89/methods/contacts_toggleTopPeers.md +++ b/old_docs/API_docs_v89/methods/contacts_toggleTopPeers.md @@ -28,6 +28,7 @@ Toggle top peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/contacts_unblock.md b/old_docs/API_docs_v89/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v89/methods/contacts_unblock.md +++ b/old_docs/API_docs_v89/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v89/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/old_docs/API_docs_v89/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v89/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_editUserInfo.md b/old_docs/API_docs_v89/methods/help_editUserInfo.md index 580d2f33..5955d8e9 100644 --- a/old_docs/API_docs_v89/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v89/methods/help_editUserInfo.md @@ -31,6 +31,7 @@ Edit user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getAppChangelog.md b/old_docs/API_docs_v89/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v89/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v89/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getAppUpdate.md b/old_docs/API_docs_v89/methods/help_getAppUpdate.md index 4558e073..2b0c90bf 100644 --- a/old_docs/API_docs_v89/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v89/methods/help_getAppUpdate.md @@ -28,6 +28,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getCdnConfig.md b/old_docs/API_docs_v89/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v89/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v89/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getConfig.md b/old_docs/API_docs_v89/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v89/methods/help_getConfig.md +++ b/old_docs/API_docs_v89/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v89/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/old_docs/API_docs_v89/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v89/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getInviteText.md b/old_docs/API_docs_v89/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v89/methods/help_getInviteText.md +++ b/old_docs/API_docs_v89/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getNearestDc.md b/old_docs/API_docs_v89/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v89/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v89/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getPassportConfig.md b/old_docs/API_docs_v89/methods/help_getPassportConfig.md index 4b58fa73..be2d0279 100644 --- a/old_docs/API_docs_v89/methods/help_getPassportConfig.md +++ b/old_docs/API_docs_v89/methods/help_getPassportConfig.md @@ -28,6 +28,7 @@ Get passport config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getProxyData.md b/old_docs/API_docs_v89/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/old_docs/API_docs_v89/methods/help_getProxyData.md +++ b/old_docs/API_docs_v89/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v89/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v89/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v89/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getSupport.md b/old_docs/API_docs_v89/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v89/methods/help_getSupport.md +++ b/old_docs/API_docs_v89/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getSupportName.md b/old_docs/API_docs_v89/methods/help_getSupportName.md index 83440dc3..252c61d0 100644 --- a/old_docs/API_docs_v89/methods/help_getSupportName.md +++ b/old_docs/API_docs_v89/methods/help_getSupportName.md @@ -23,6 +23,7 @@ Get support name if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v89/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/old_docs/API_docs_v89/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v89/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_getUserInfo.md b/old_docs/API_docs_v89/methods/help_getUserInfo.md index 051af31f..7274528c 100644 --- a/old_docs/API_docs_v89/methods/help_getUserInfo.md +++ b/old_docs/API_docs_v89/methods/help_getUserInfo.md @@ -28,6 +28,7 @@ Get user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_saveAppLog.md b/old_docs/API_docs_v89/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v89/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v89/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v89/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v89/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v89/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/initConnection.md b/old_docs/API_docs_v89/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/old_docs/API_docs_v89/methods/initConnection.md +++ b/old_docs/API_docs_v89/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeAfterMsg.md b/old_docs/API_docs_v89/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v89/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v89/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeAfterMsgs.md b/old_docs/API_docs_v89/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v89/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v89/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeWithLayer.md b/old_docs/API_docs_v89/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v89/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v89/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v89/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/old_docs/API_docs_v89/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v89/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeWithTakeout.md b/old_docs/API_docs_v89/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/old_docs/API_docs_v89/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v89/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v89/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v89/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v89/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/langpack_getDifference.md b/old_docs/API_docs_v89/methods/langpack_getDifference.md index 8ec3cb04..4af3c462 100644 --- a/old_docs/API_docs_v89/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v89/methods/langpack_getDifference.md @@ -29,6 +29,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/langpack_getLangPack.md b/old_docs/API_docs_v89/methods/langpack_getLangPack.md index c6944f50..b7e5b041 100644 --- a/old_docs/API_docs_v89/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v89/methods/langpack_getLangPack.md @@ -29,6 +29,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/langpack_getLanguage.md b/old_docs/API_docs_v89/methods/langpack_getLanguage.md index a97a1429..03101a33 100644 --- a/old_docs/API_docs_v89/methods/langpack_getLanguage.md +++ b/old_docs/API_docs_v89/methods/langpack_getLanguage.md @@ -29,6 +29,7 @@ Get language if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/langpack_getLanguages.md b/old_docs/API_docs_v89/methods/langpack_getLanguages.md index 093ca8a5..ea9faf78 100644 --- a/old_docs/API_docs_v89/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v89/methods/langpack_getLanguages.md @@ -28,6 +28,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/langpack_getStrings.md b/old_docs/API_docs_v89/methods/langpack_getStrings.md index 4df420e7..0fe32c87 100644 --- a/old_docs/API_docs_v89/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v89/methods/langpack_getStrings.md @@ -30,6 +30,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_addChatUser.md b/old_docs/API_docs_v89/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v89/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v89/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_checkChatInvite.md b/old_docs/API_docs_v89/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v89/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v89/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_clearAllDrafts.md b/old_docs/API_docs_v89/methods/messages_clearAllDrafts.md index 9840c525..6cf75853 100644 --- a/old_docs/API_docs_v89/methods/messages_clearAllDrafts.md +++ b/old_docs/API_docs_v89/methods/messages_clearAllDrafts.md @@ -23,6 +23,7 @@ Clear all drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v89/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v89/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v89/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_createChat.md b/old_docs/API_docs_v89/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v89/methods/messages_createChat.md +++ b/old_docs/API_docs_v89/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_deleteChatUser.md b/old_docs/API_docs_v89/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v89/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v89/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_deleteHistory.md b/old_docs/API_docs_v89/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v89/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v89/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_deleteMessages.md b/old_docs/API_docs_v89/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v89/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v89/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_editChatAdmin.md b/old_docs/API_docs_v89/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v89/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v89/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_editChatPhoto.md b/old_docs/API_docs_v89/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v89/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v89/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_editChatTitle.md b/old_docs/API_docs_v89/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v89/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v89/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md index 1ac1975f..4e0e58b1 100644 --- a/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v89/methods/messages_editInlineBotMessage.md @@ -36,6 +36,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_editMessage.md b/old_docs/API_docs_v89/methods/messages_editMessage.md index 25946d9a..312e7291 100644 --- a/old_docs/API_docs_v89/methods/messages_editMessage.md +++ b/old_docs/API_docs_v89/methods/messages_editMessage.md @@ -37,6 +37,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_exportChatInvite.md b/old_docs/API_docs_v89/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v89/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v89/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_faveSticker.md b/old_docs/API_docs_v89/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v89/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v89/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_forwardMessages.md b/old_docs/API_docs_v89/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v89/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v89/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getAllChats.md b/old_docs/API_docs_v89/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v89/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v89/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getAllDrafts.md b/old_docs/API_docs_v89/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v89/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v89/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getAllStickers.md b/old_docs/API_docs_v89/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v89/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v89/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v89/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v89/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v89/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v89/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v89/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v89/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getChats.md b/old_docs/API_docs_v89/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v89/methods/messages_getChats.md +++ b/old_docs/API_docs_v89/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getCommonChats.md b/old_docs/API_docs_v89/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v89/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v89/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getDialogUnreadMarks.md b/old_docs/API_docs_v89/methods/messages_getDialogUnreadMarks.md index 74c65efa..212b2859 100644 --- a/old_docs/API_docs_v89/methods/messages_getDialogUnreadMarks.md +++ b/old_docs/API_docs_v89/methods/messages_getDialogUnreadMarks.md @@ -23,6 +23,7 @@ Get dialogs marked as unread manually if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getDialogs.md b/old_docs/API_docs_v89/methods/messages_getDialogs.md index 9e2e33c2..54d7c469 100644 --- a/old_docs/API_docs_v89/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v89/methods/messages_getDialogs.md @@ -33,6 +33,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v89/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v89/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v89/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getFavedStickers.md b/old_docs/API_docs_v89/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v89/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v89/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v89/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getGameHighScores.md b/old_docs/API_docs_v89/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v89/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v89/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getHistory.md b/old_docs/API_docs_v89/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v89/methods/messages_getHistory.md +++ b/old_docs/API_docs_v89/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v89/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v89/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v89/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v89/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v89/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v89/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getMaskStickers.md b/old_docs/API_docs_v89/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v89/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getMessageEditData.md b/old_docs/API_docs_v89/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v89/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v89/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getMessages.md b/old_docs/API_docs_v89/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v89/methods/messages_getMessages.md +++ b/old_docs/API_docs_v89/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getMessagesViews.md b/old_docs/API_docs_v89/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v89/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v89/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v89/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/old_docs/API_docs_v89/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v89/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getPeerSettings.md b/old_docs/API_docs_v89/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v89/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v89/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v89/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v89/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v89/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getRecentLocations.md b/old_docs/API_docs_v89/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/old_docs/API_docs_v89/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v89/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getRecentStickers.md b/old_docs/API_docs_v89/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v89/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getSavedGifs.md b/old_docs/API_docs_v89/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v89/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v89/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getSplitRanges.md b/old_docs/API_docs_v89/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/old_docs/API_docs_v89/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v89/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getStickerSet.md b/old_docs/API_docs_v89/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v89/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v89/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getStickers.md b/old_docs/API_docs_v89/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/old_docs/API_docs_v89/methods/messages_getStickers.md +++ b/old_docs/API_docs_v89/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v89/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v89/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v89/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getWebPage.md b/old_docs/API_docs_v89/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v89/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v89/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v89/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_hideReportSpam.md b/old_docs/API_docs_v89/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v89/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v89/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_importChatInvite.md b/old_docs/API_docs_v89/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v89/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v89/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_installStickerSet.md b/old_docs/API_docs_v89/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v89/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v89/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_markDialogUnread.md b/old_docs/API_docs_v89/methods/messages_markDialogUnread.md index ddf580db..d9b92661 100644 --- a/old_docs/API_docs_v89/methods/messages_markDialogUnread.md +++ b/old_docs/API_docs_v89/methods/messages_markDialogUnread.md @@ -29,6 +29,7 @@ Mark dialog as unread if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_migrateChat.md b/old_docs/API_docs_v89/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v89/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v89/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v89/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v89/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v89/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v89/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v89/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v89/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_readHistory.md b/old_docs/API_docs_v89/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v89/methods/messages_readHistory.md +++ b/old_docs/API_docs_v89/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_readMentions.md b/old_docs/API_docs_v89/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v89/methods/messages_readMentions.md +++ b/old_docs/API_docs_v89/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_readMessageContents.md b/old_docs/API_docs_v89/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v89/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v89/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_receivedMessages.md b/old_docs/API_docs_v89/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v89/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v89/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v89/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/old_docs/API_docs_v89/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v89/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v89/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v89/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v89/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_report.md b/old_docs/API_docs_v89/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/old_docs/API_docs_v89/methods/messages_report.md +++ b/old_docs/API_docs_v89/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v89/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v89/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v89/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_reportSpam.md b/old_docs/API_docs_v89/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v89/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v89/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_saveDraft.md b/old_docs/API_docs_v89/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v89/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v89/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_saveGif.md b/old_docs/API_docs_v89/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v89/methods/messages_saveGif.md +++ b/old_docs/API_docs_v89/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v89/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v89/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v89/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_search.md b/old_docs/API_docs_v89/methods/messages_search.md index 5d038792..f553a286 100644 --- a/old_docs/API_docs_v89/methods/messages_search.md +++ b/old_docs/API_docs_v89/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_searchGifs.md b/old_docs/API_docs_v89/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v89/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v89/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_searchGlobal.md b/old_docs/API_docs_v89/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v89/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v89/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_searchStickerSets.md b/old_docs/API_docs_v89/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/old_docs/API_docs_v89/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v89/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendEncrypted.md b/old_docs/API_docs_v89/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v89/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v89/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v89/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v89/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v89/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v89/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v89/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v89/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v89/methods/messages_sendInlineBotResult.md index 37fae63a..2d403acc 100644 --- a/old_docs/API_docs_v89/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v89/methods/messages_sendInlineBotResult.md @@ -34,6 +34,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendMedia.md b/old_docs/API_docs_v89/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v89/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v89/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendMessage.md b/old_docs/API_docs_v89/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v89/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v89/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v89/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v89/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v89/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v89/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v89/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v89/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v89/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v89/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v89/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v89/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v89/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v89/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v89/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v89/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v89/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v89/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v89/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v89/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setGameScore.md b/old_docs/API_docs_v89/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v89/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v89/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v89/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v89/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v89/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v89/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v89/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v89/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_setTyping.md b/old_docs/API_docs_v89/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v89/methods/messages_setTyping.md +++ b/old_docs/API_docs_v89/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_startBot.md b/old_docs/API_docs_v89/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v89/methods/messages_startBot.md +++ b/old_docs/API_docs_v89/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v89/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v89/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v89/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v89/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/old_docs/API_docs_v89/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v89/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v89/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v89/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v89/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_updatePinnedMessage.md b/old_docs/API_docs_v89/methods/messages_updatePinnedMessage.md index c9b59508..5109a8d5 100644 --- a/old_docs/API_docs_v89/methods/messages_updatePinnedMessage.md +++ b/old_docs/API_docs_v89/methods/messages_updatePinnedMessage.md @@ -30,6 +30,7 @@ Update pinned message (private chat only) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v89/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v89/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v89/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/messages_uploadMedia.md b/old_docs/API_docs_v89/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v89/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v89/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v89/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v89/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v89/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_getPaymentForm.md b/old_docs/API_docs_v89/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v89/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v89/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v89/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v89/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v89/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_getSavedInfo.md b/old_docs/API_docs_v89/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v89/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v89/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v89/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v89/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v89/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v89/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v89/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v89/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/phone_getCallConfig.md b/old_docs/API_docs_v89/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v89/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v89/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/phone_receivedCall.md b/old_docs/API_docs_v89/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v89/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v89/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/phone_saveCallDebug.md b/old_docs/API_docs_v89/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v89/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v89/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/phone_setCallRating.md b/old_docs/API_docs_v89/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v89/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v89/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/photos_deletePhotos.md b/old_docs/API_docs_v89/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v89/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v89/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/photos_getUserPhotos.md b/old_docs/API_docs_v89/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v89/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v89/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v89/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v89/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v89/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v89/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v89/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v89/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v89/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v89/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v89/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v89/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v89/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v89/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/stickers_createStickerSet.md b/old_docs/API_docs_v89/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v89/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v89/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v89/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v89/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v89/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/upload_getWebFile.md b/old_docs/API_docs_v89/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v89/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v89/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/users_getUsers.md b/old_docs/API_docs_v89/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v89/methods/users_getUsers.md +++ b/old_docs/API_docs_v89/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v89/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v89/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/old_docs/API_docs_v89/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v89/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_acceptAuthorization.md b/old_docs/API_docs_v91/methods/account_acceptAuthorization.md index 3db73de5..0550e785 100644 --- a/old_docs/API_docs_v91/methods/account_acceptAuthorization.md +++ b/old_docs/API_docs_v91/methods/account_acceptAuthorization.md @@ -32,6 +32,7 @@ Accept telegram passport authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_cancelPasswordEmail.md b/old_docs/API_docs_v91/methods/account_cancelPasswordEmail.md index 00120310..7e1b0e4c 100644 --- a/old_docs/API_docs_v91/methods/account_cancelPasswordEmail.md +++ b/old_docs/API_docs_v91/methods/account_cancelPasswordEmail.md @@ -23,6 +23,7 @@ Cancel password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_changePhone.md b/old_docs/API_docs_v91/methods/account_changePhone.md index 0625e903..9b145626 100644 --- a/old_docs/API_docs_v91/methods/account_changePhone.md +++ b/old_docs/API_docs_v91/methods/account_changePhone.md @@ -30,6 +30,7 @@ Change the phone number associated to this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_checkUsername.md b/old_docs/API_docs_v91/methods/account_checkUsername.md index 41efbdfb..14e2bd13 100644 --- a/old_docs/API_docs_v91/methods/account_checkUsername.md +++ b/old_docs/API_docs_v91/methods/account_checkUsername.md @@ -28,6 +28,7 @@ Check if this username is available if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_confirmPasswordEmail.md b/old_docs/API_docs_v91/methods/account_confirmPasswordEmail.md index 7eaca911..03783240 100644 --- a/old_docs/API_docs_v91/methods/account_confirmPasswordEmail.md +++ b/old_docs/API_docs_v91/methods/account_confirmPasswordEmail.md @@ -28,6 +28,7 @@ Confirm password recovery using email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_confirmPhone.md b/old_docs/API_docs_v91/methods/account_confirmPhone.md index aa015954..e4103b6a 100644 --- a/old_docs/API_docs_v91/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v91/methods/account_confirmPhone.md @@ -29,6 +29,7 @@ Confirm this phone number is associated to this account, obtain phone_code_hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_deleteAccount.md b/old_docs/API_docs_v91/methods/account_deleteAccount.md index 61e8e9f5..b9fed246 100644 --- a/old_docs/API_docs_v91/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v91/methods/account_deleteAccount.md @@ -28,6 +28,7 @@ Delete this account if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_deleteSecureValue.md b/old_docs/API_docs_v91/methods/account_deleteSecureValue.md index ac6b7ec8..a890c2c6 100644 --- a/old_docs/API_docs_v91/methods/account_deleteSecureValue.md +++ b/old_docs/API_docs_v91/methods/account_deleteSecureValue.md @@ -28,6 +28,7 @@ Delete secure telegram passport value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_finishTakeoutSession.md b/old_docs/API_docs_v91/methods/account_finishTakeoutSession.md index 8326800d..87bacb75 100644 --- a/old_docs/API_docs_v91/methods/account_finishTakeoutSession.md +++ b/old_docs/API_docs_v91/methods/account_finishTakeoutSession.md @@ -28,6 +28,7 @@ Finish account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getAccountTTL.md b/old_docs/API_docs_v91/methods/account_getAccountTTL.md index cbb2585a..800a48ff 100644 --- a/old_docs/API_docs_v91/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v91/methods/account_getAccountTTL.md @@ -23,6 +23,7 @@ Get account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getAllSecureValues.md b/old_docs/API_docs_v91/methods/account_getAllSecureValues.md index 408c805c..762b4515 100644 --- a/old_docs/API_docs_v91/methods/account_getAllSecureValues.md +++ b/old_docs/API_docs_v91/methods/account_getAllSecureValues.md @@ -23,6 +23,7 @@ Get all secure telegram passport values if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getAuthorizationForm.md b/old_docs/API_docs_v91/methods/account_getAuthorizationForm.md index c839f4ed..6eac815b 100644 --- a/old_docs/API_docs_v91/methods/account_getAuthorizationForm.md +++ b/old_docs/API_docs_v91/methods/account_getAuthorizationForm.md @@ -30,6 +30,7 @@ Bots only: get telegram passport authorization form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getAuthorizations.md b/old_docs/API_docs_v91/methods/account_getAuthorizations.md index 89b76985..755a3a22 100644 --- a/old_docs/API_docs_v91/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v91/methods/account_getAuthorizations.md @@ -23,6 +23,7 @@ Get all logged-in authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getContactSignUpNotification.md b/old_docs/API_docs_v91/methods/account_getContactSignUpNotification.md index b5102758..22ec729c 100644 --- a/old_docs/API_docs_v91/methods/account_getContactSignUpNotification.md +++ b/old_docs/API_docs_v91/methods/account_getContactSignUpNotification.md @@ -23,6 +23,7 @@ Contact signup notification setting value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getNotifyExceptions.md b/old_docs/API_docs_v91/methods/account_getNotifyExceptions.md index a8e98ce3..282028e5 100644 --- a/old_docs/API_docs_v91/methods/account_getNotifyExceptions.md +++ b/old_docs/API_docs_v91/methods/account_getNotifyExceptions.md @@ -29,6 +29,7 @@ Get notification exceptions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getNotifySettings.md b/old_docs/API_docs_v91/methods/account_getNotifySettings.md index 9f79374c..d18c663c 100644 --- a/old_docs/API_docs_v91/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v91/methods/account_getNotifySettings.md @@ -28,6 +28,7 @@ Get notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getPassword.md b/old_docs/API_docs_v91/methods/account_getPassword.md index 7a9b6f77..4fa898e7 100644 --- a/old_docs/API_docs_v91/methods/account_getPassword.md +++ b/old_docs/API_docs_v91/methods/account_getPassword.md @@ -23,6 +23,7 @@ Get the current password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getPrivacy.md b/old_docs/API_docs_v91/methods/account_getPrivacy.md index 04184002..0d13ae0e 100644 --- a/old_docs/API_docs_v91/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v91/methods/account_getPrivacy.md @@ -28,6 +28,7 @@ Get privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getSecureValue.md b/old_docs/API_docs_v91/methods/account_getSecureValue.md index a76b5ad5..470bd73b 100644 --- a/old_docs/API_docs_v91/methods/account_getSecureValue.md +++ b/old_docs/API_docs_v91/methods/account_getSecureValue.md @@ -28,6 +28,7 @@ Get secure value for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getTmpPassword.md b/old_docs/API_docs_v91/methods/account_getTmpPassword.md index 15639c35..208d2ea7 100644 --- a/old_docs/API_docs_v91/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v91/methods/account_getTmpPassword.md @@ -29,6 +29,7 @@ Get temporary password for buying products through bots if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getWallPapers.md b/old_docs/API_docs_v91/methods/account_getWallPapers.md index 8198996c..e0e7358b 100644 --- a/old_docs/API_docs_v91/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v91/methods/account_getWallPapers.md @@ -23,6 +23,7 @@ Returns a list of available wallpapers. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_getWebAuthorizations.md b/old_docs/API_docs_v91/methods/account_getWebAuthorizations.md index 292a6bfc..103adcf8 100644 --- a/old_docs/API_docs_v91/methods/account_getWebAuthorizations.md +++ b/old_docs/API_docs_v91/methods/account_getWebAuthorizations.md @@ -23,6 +23,7 @@ Get telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_initTakeoutSession.md b/old_docs/API_docs_v91/methods/account_initTakeoutSession.md index bb289ec4..9c1d34d0 100644 --- a/old_docs/API_docs_v91/methods/account_initTakeoutSession.md +++ b/old_docs/API_docs_v91/methods/account_initTakeoutSession.md @@ -34,6 +34,7 @@ Start account exporting session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_registerDevice.md b/old_docs/API_docs_v91/methods/account_registerDevice.md index 3d1cb1c5..f2602ddf 100644 --- a/old_docs/API_docs_v91/methods/account_registerDevice.md +++ b/old_docs/API_docs_v91/methods/account_registerDevice.md @@ -32,6 +32,7 @@ Register device for push notifications if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_reportPeer.md b/old_docs/API_docs_v91/methods/account_reportPeer.md index 673b48bf..f8c6f8c0 100644 --- a/old_docs/API_docs_v91/methods/account_reportPeer.md +++ b/old_docs/API_docs_v91/methods/account_reportPeer.md @@ -29,6 +29,7 @@ Report for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_resendPasswordEmail.md b/old_docs/API_docs_v91/methods/account_resendPasswordEmail.md index 8f6d20fc..f30f949b 100644 --- a/old_docs/API_docs_v91/methods/account_resendPasswordEmail.md +++ b/old_docs/API_docs_v91/methods/account_resendPasswordEmail.md @@ -23,6 +23,7 @@ Resend password recovery email if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_resetAuthorization.md b/old_docs/API_docs_v91/methods/account_resetAuthorization.md index 74b8a086..9057fa19 100644 --- a/old_docs/API_docs_v91/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v91/methods/account_resetAuthorization.md @@ -28,6 +28,7 @@ Delete a certain session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_resetNotifySettings.md b/old_docs/API_docs_v91/methods/account_resetNotifySettings.md index 1ec07077..b803049a 100644 --- a/old_docs/API_docs_v91/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v91/methods/account_resetNotifySettings.md @@ -23,6 +23,7 @@ Reset all notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_resetWebAuthorization.md b/old_docs/API_docs_v91/methods/account_resetWebAuthorization.md index a12b2b22..eef049c0 100644 --- a/old_docs/API_docs_v91/methods/account_resetWebAuthorization.md +++ b/old_docs/API_docs_v91/methods/account_resetWebAuthorization.md @@ -28,6 +28,7 @@ Delete a certain telegram web login authorization if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_resetWebAuthorizations.md b/old_docs/API_docs_v91/methods/account_resetWebAuthorizations.md index 594afa11..35c6137a 100644 --- a/old_docs/API_docs_v91/methods/account_resetWebAuthorizations.md +++ b/old_docs/API_docs_v91/methods/account_resetWebAuthorizations.md @@ -23,6 +23,7 @@ Reset all telegram web login authorizations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_saveSecureValue.md b/old_docs/API_docs_v91/methods/account_saveSecureValue.md index 09c39fad..ba385dfb 100644 --- a/old_docs/API_docs_v91/methods/account_saveSecureValue.md +++ b/old_docs/API_docs_v91/methods/account_saveSecureValue.md @@ -29,6 +29,7 @@ Save telegram passport secure value if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v91/methods/account_sendChangePhoneCode.md index 123a5880..d9c481b9 100644 --- a/old_docs/API_docs_v91/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v91/methods/account_sendChangePhoneCode.md @@ -30,6 +30,7 @@ Change the phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v91/methods/account_sendConfirmPhoneCode.md index 5c2612c2..15dbab05 100644 --- a/old_docs/API_docs_v91/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v91/methods/account_sendConfirmPhoneCode.md @@ -30,6 +30,7 @@ Send confirmation phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_sendVerifyEmailCode.md b/old_docs/API_docs_v91/methods/account_sendVerifyEmailCode.md index bf1020ca..5e7d4b08 100644 --- a/old_docs/API_docs_v91/methods/account_sendVerifyEmailCode.md +++ b/old_docs/API_docs_v91/methods/account_sendVerifyEmailCode.md @@ -28,6 +28,7 @@ Send email verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_sendVerifyPhoneCode.md b/old_docs/API_docs_v91/methods/account_sendVerifyPhoneCode.md index 45902b30..995208cb 100644 --- a/old_docs/API_docs_v91/methods/account_sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v91/methods/account_sendVerifyPhoneCode.md @@ -30,6 +30,7 @@ Send phone verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_setAccountTTL.md b/old_docs/API_docs_v91/methods/account_setAccountTTL.md index 2cdc09d8..5177994f 100644 --- a/old_docs/API_docs_v91/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v91/methods/account_setAccountTTL.md @@ -28,6 +28,7 @@ Set account TTL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_setContactSignUpNotification.md b/old_docs/API_docs_v91/methods/account_setContactSignUpNotification.md index e4e776e3..b7b79480 100644 --- a/old_docs/API_docs_v91/methods/account_setContactSignUpNotification.md +++ b/old_docs/API_docs_v91/methods/account_setContactSignUpNotification.md @@ -28,6 +28,7 @@ Set contact sign up notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_setPrivacy.md b/old_docs/API_docs_v91/methods/account_setPrivacy.md index 0cd97844..7e2bae94 100644 --- a/old_docs/API_docs_v91/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v91/methods/account_setPrivacy.md @@ -29,6 +29,7 @@ Set privacy settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_unregisterDevice.md b/old_docs/API_docs_v91/methods/account_unregisterDevice.md index e7e6a437..da9fcc1b 100644 --- a/old_docs/API_docs_v91/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v91/methods/account_unregisterDevice.md @@ -30,6 +30,7 @@ Stop sending PUSH notifications to app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v91/methods/account_updateDeviceLocked.md index 14faecef..16e662bd 100644 --- a/old_docs/API_docs_v91/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v91/methods/account_updateDeviceLocked.md @@ -28,6 +28,7 @@ Disable all notifications for a certain period if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_updateNotifySettings.md b/old_docs/API_docs_v91/methods/account_updateNotifySettings.md index d354d215..4509e5cb 100644 --- a/old_docs/API_docs_v91/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v91/methods/account_updateNotifySettings.md @@ -29,6 +29,7 @@ Change notification settings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_updateProfile.md b/old_docs/API_docs_v91/methods/account_updateProfile.md index f54515e5..f5edf377 100644 --- a/old_docs/API_docs_v91/methods/account_updateProfile.md +++ b/old_docs/API_docs_v91/methods/account_updateProfile.md @@ -30,6 +30,7 @@ Update profile info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_updateStatus.md b/old_docs/API_docs_v91/methods/account_updateStatus.md index 4a5ba063..8bdcbed8 100644 --- a/old_docs/API_docs_v91/methods/account_updateStatus.md +++ b/old_docs/API_docs_v91/methods/account_updateStatus.md @@ -28,6 +28,7 @@ Update online status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_updateUsername.md b/old_docs/API_docs_v91/methods/account_updateUsername.md index 8cea50d4..fa223172 100644 --- a/old_docs/API_docs_v91/methods/account_updateUsername.md +++ b/old_docs/API_docs_v91/methods/account_updateUsername.md @@ -28,6 +28,7 @@ Update this user's username if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_verifyEmail.md b/old_docs/API_docs_v91/methods/account_verifyEmail.md index 02b29db0..7c2c2211 100644 --- a/old_docs/API_docs_v91/methods/account_verifyEmail.md +++ b/old_docs/API_docs_v91/methods/account_verifyEmail.md @@ -29,6 +29,7 @@ Verify email address if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/account_verifyPhone.md b/old_docs/API_docs_v91/methods/account_verifyPhone.md index 9c4326fa..284d1075 100644 --- a/old_docs/API_docs_v91/methods/account_verifyPhone.md +++ b/old_docs/API_docs_v91/methods/account_verifyPhone.md @@ -30,6 +30,7 @@ Verify phone number if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_cancelCode.md b/old_docs/API_docs_v91/methods/auth_cancelCode.md index 352c88e9..ec3df7ef 100644 --- a/old_docs/API_docs_v91/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v91/methods/auth_cancelCode.md @@ -29,6 +29,7 @@ Invalidate sent phone code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v91/methods/auth_dropTempAuthKeys.md index 64ce7528..444629cb 100644 --- a/old_docs/API_docs_v91/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v91/methods/auth_dropTempAuthKeys.md @@ -28,6 +28,7 @@ Delete all temporary authorization keys except the ones provided if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_recoverPassword.md b/old_docs/API_docs_v91/methods/auth_recoverPassword.md index 3852f088..51afc2ad 100644 --- a/old_docs/API_docs_v91/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v91/methods/auth_recoverPassword.md @@ -28,6 +28,7 @@ Use the code that was emailed to you after running $MadelineProto->auth->request if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v91/methods/auth_requestPasswordRecovery.md index 2c1b2389..98a37ba5 100644 --- a/old_docs/API_docs_v91/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v91/methods/auth_requestPasswordRecovery.md @@ -23,6 +23,7 @@ Send an email to recover the 2FA password if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_resendCode.md b/old_docs/API_docs_v91/methods/auth_resendCode.md index 4ce58975..413654c3 100644 --- a/old_docs/API_docs_v91/methods/auth_resendCode.md +++ b/old_docs/API_docs_v91/methods/auth_resendCode.md @@ -29,6 +29,7 @@ Resend the SMS verification code if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v91/methods/auth_resetAuthorizations.md index 58ba44b4..535a0bdf 100644 --- a/old_docs/API_docs_v91/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v91/methods/auth_resetAuthorizations.md @@ -23,6 +23,7 @@ Delete all logged-in sessions. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v91/methods/bots_answerWebhookJSONQuery.md index 33b6c2a3..16df0e41 100644 --- a/old_docs/API_docs_v91/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v91/methods/bots_answerWebhookJSONQuery.md @@ -29,6 +29,7 @@ Send webhook request via bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v91/methods/bots_sendCustomRequest.md index bd368df5..3e453916 100644 --- a/old_docs/API_docs_v91/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v91/methods/bots_sendCustomRequest.md @@ -29,6 +29,7 @@ Send a custom request to the bot API if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_checkUsername.md b/old_docs/API_docs_v91/methods/channels_checkUsername.md index 573bf8f0..9c890e13 100644 --- a/old_docs/API_docs_v91/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v91/methods/channels_checkUsername.md @@ -29,6 +29,7 @@ Check if this username is free and can be assigned to a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_createChannel.md b/old_docs/API_docs_v91/methods/channels_createChannel.md index 1821c864..bcbe80ba 100644 --- a/old_docs/API_docs_v91/methods/channels_createChannel.md +++ b/old_docs/API_docs_v91/methods/channels_createChannel.md @@ -31,6 +31,7 @@ Create channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_deleteChannel.md b/old_docs/API_docs_v91/methods/channels_deleteChannel.md index a79ccb9f..880472f1 100644 --- a/old_docs/API_docs_v91/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v91/methods/channels_deleteChannel.md @@ -28,6 +28,7 @@ Delete a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_deleteHistory.md b/old_docs/API_docs_v91/methods/channels_deleteHistory.md index 606eb2dc..1c4f888e 100644 --- a/old_docs/API_docs_v91/methods/channels_deleteHistory.md +++ b/old_docs/API_docs_v91/methods/channels_deleteHistory.md @@ -29,6 +29,7 @@ Delete the history of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_deleteMessages.md b/old_docs/API_docs_v91/methods/channels_deleteMessages.md index 8cd7ebb3..e602c49b 100644 --- a/old_docs/API_docs_v91/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v91/methods/channels_deleteMessages.md @@ -29,6 +29,7 @@ Delete channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v91/methods/channels_deleteUserHistory.md index 78baa90f..3d809942 100644 --- a/old_docs/API_docs_v91/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v91/methods/channels_deleteUserHistory.md @@ -29,6 +29,7 @@ Delete all messages of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_editAbout.md b/old_docs/API_docs_v91/methods/channels_editAbout.md index 549d7ea5..dc136428 100644 --- a/old_docs/API_docs_v91/methods/channels_editAbout.md +++ b/old_docs/API_docs_v91/methods/channels_editAbout.md @@ -29,6 +29,7 @@ Edit the about text of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_editAdmin.md b/old_docs/API_docs_v91/methods/channels_editAdmin.md index 19670a43..53e5768b 100644 --- a/old_docs/API_docs_v91/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v91/methods/channels_editAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions of a user in a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_editBanned.md b/old_docs/API_docs_v91/methods/channels_editBanned.md index e18f236e..964afd0d 100644 --- a/old_docs/API_docs_v91/methods/channels_editBanned.md +++ b/old_docs/API_docs_v91/methods/channels_editBanned.md @@ -30,6 +30,7 @@ Kick or ban a user from a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_editPhoto.md b/old_docs/API_docs_v91/methods/channels_editPhoto.md index 7013c6e2..3c783919 100644 --- a/old_docs/API_docs_v91/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v91/methods/channels_editPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_editTitle.md b/old_docs/API_docs_v91/methods/channels_editTitle.md index a9c8c50f..4e997a5b 100644 --- a/old_docs/API_docs_v91/methods/channels_editTitle.md +++ b/old_docs/API_docs_v91/methods/channels_editTitle.md @@ -29,6 +29,7 @@ Edit the title of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_exportInvite.md b/old_docs/API_docs_v91/methods/channels_exportInvite.md index 5a92097a..50b3bbf5 100644 --- a/old_docs/API_docs_v91/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v91/methods/channels_exportInvite.md @@ -28,6 +28,7 @@ Export the invite link of a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_exportMessageLink.md b/old_docs/API_docs_v91/methods/channels_exportMessageLink.md index c28b37e0..1e0e64a7 100644 --- a/old_docs/API_docs_v91/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v91/methods/channels_exportMessageLink.md @@ -30,6 +30,7 @@ Get the link of a message in a channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getAdminLog.md b/old_docs/API_docs_v91/methods/channels_getAdminLog.md index 79a6b402..c9cabeec 100644 --- a/old_docs/API_docs_v91/methods/channels_getAdminLog.md +++ b/old_docs/API_docs_v91/methods/channels_getAdminLog.md @@ -34,6 +34,7 @@ Get admin log of a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v91/methods/channels_getAdminedPublicChannels.md index dc2c29ed..bf76a86f 100644 --- a/old_docs/API_docs_v91/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v91/methods/channels_getAdminedPublicChannels.md @@ -23,6 +23,7 @@ Get all supergroups/channels where you're admin if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getChannels.md b/old_docs/API_docs_v91/methods/channels_getChannels.md index a146be1e..69334ced 100644 --- a/old_docs/API_docs_v91/methods/channels_getChannels.md +++ b/old_docs/API_docs_v91/methods/channels_getChannels.md @@ -28,6 +28,7 @@ Get info about multiple channels/supergroups if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getLeftChannels.md b/old_docs/API_docs_v91/methods/channels_getLeftChannels.md index 3623d820..95786625 100644 --- a/old_docs/API_docs_v91/methods/channels_getLeftChannels.md +++ b/old_docs/API_docs_v91/methods/channels_getLeftChannels.md @@ -28,6 +28,7 @@ Get all channels you left if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getMessages.md b/old_docs/API_docs_v91/methods/channels_getMessages.md index 95382110..8f8862e4 100644 --- a/old_docs/API_docs_v91/methods/channels_getMessages.md +++ b/old_docs/API_docs_v91/methods/channels_getMessages.md @@ -29,6 +29,7 @@ Get channel/supergroup messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getParticipant.md b/old_docs/API_docs_v91/methods/channels_getParticipant.md index 9cf80799..f81aa1db 100644 --- a/old_docs/API_docs_v91/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v91/methods/channels_getParticipant.md @@ -29,6 +29,7 @@ Get info about a certain channel/supergroup participant if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_getParticipants.md b/old_docs/API_docs_v91/methods/channels_getParticipants.md index eefd0917..1ab962be 100644 --- a/old_docs/API_docs_v91/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v91/methods/channels_getParticipants.md @@ -32,6 +32,7 @@ Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_cha if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_inviteToChannel.md b/old_docs/API_docs_v91/methods/channels_inviteToChannel.md index 998e3895..5fff0209 100644 --- a/old_docs/API_docs_v91/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v91/methods/channels_inviteToChannel.md @@ -29,6 +29,7 @@ Add users to channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_joinChannel.md b/old_docs/API_docs_v91/methods/channels_joinChannel.md index 3c6a3b94..1705f2ac 100644 --- a/old_docs/API_docs_v91/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v91/methods/channels_joinChannel.md @@ -28,6 +28,7 @@ Join a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_leaveChannel.md b/old_docs/API_docs_v91/methods/channels_leaveChannel.md index 0934089f..c6f89368 100644 --- a/old_docs/API_docs_v91/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v91/methods/channels_leaveChannel.md @@ -28,6 +28,7 @@ Leave a channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_readHistory.md b/old_docs/API_docs_v91/methods/channels_readHistory.md index cf5c1529..a7b345a6 100644 --- a/old_docs/API_docs_v91/methods/channels_readHistory.md +++ b/old_docs/API_docs_v91/methods/channels_readHistory.md @@ -29,6 +29,7 @@ Mark channel/supergroup history as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_readMessageContents.md b/old_docs/API_docs_v91/methods/channels_readMessageContents.md index a6cf4f3a..eeea27f4 100644 --- a/old_docs/API_docs_v91/methods/channels_readMessageContents.md +++ b/old_docs/API_docs_v91/methods/channels_readMessageContents.md @@ -29,6 +29,7 @@ Mark channel/supergroup messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_reportSpam.md b/old_docs/API_docs_v91/methods/channels_reportSpam.md index b0e99eb1..18c9c798 100644 --- a/old_docs/API_docs_v91/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v91/methods/channels_reportSpam.md @@ -30,6 +30,7 @@ Report a message in a supergroup/channel for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_setStickers.md b/old_docs/API_docs_v91/methods/channels_setStickers.md index 4338f29a..8a2a85f2 100644 --- a/old_docs/API_docs_v91/methods/channels_setStickers.md +++ b/old_docs/API_docs_v91/methods/channels_setStickers.md @@ -29,6 +29,7 @@ Set the supergroup/channel stickerpack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_toggleInvites.md b/old_docs/API_docs_v91/methods/channels_toggleInvites.md index bed6ba15..2f6ac23b 100644 --- a/old_docs/API_docs_v91/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v91/methods/channels_toggleInvites.md @@ -29,6 +29,7 @@ Allow or disallow any user to invite users to this channel/supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_togglePreHistoryHidden.md b/old_docs/API_docs_v91/methods/channels_togglePreHistoryHidden.md index c972473d..bfa5a115 100644 --- a/old_docs/API_docs_v91/methods/channels_togglePreHistoryHidden.md +++ b/old_docs/API_docs_v91/methods/channels_togglePreHistoryHidden.md @@ -29,6 +29,7 @@ Enable or disable hidden history for new channel/supergroup users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_toggleSignatures.md b/old_docs/API_docs_v91/methods/channels_toggleSignatures.md index c9fe18cc..fb8c73f0 100644 --- a/old_docs/API_docs_v91/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v91/methods/channels_toggleSignatures.md @@ -29,6 +29,7 @@ Toggle channel signatures if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/channels_updateUsername.md b/old_docs/API_docs_v91/methods/channels_updateUsername.md index c0df8c7c..8710935f 100644 --- a/old_docs/API_docs_v91/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v91/methods/channels_updateUsername.md @@ -29,6 +29,7 @@ Update the username of a supergroup/channel if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_block.md b/old_docs/API_docs_v91/methods/contacts_block.md index ca390b37..0a064593 100644 --- a/old_docs/API_docs_v91/methods/contacts_block.md +++ b/old_docs/API_docs_v91/methods/contacts_block.md @@ -28,6 +28,7 @@ Block a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_deleteByPhones.md b/old_docs/API_docs_v91/methods/contacts_deleteByPhones.md index 4cac225c..b7c3d855 100644 --- a/old_docs/API_docs_v91/methods/contacts_deleteByPhones.md +++ b/old_docs/API_docs_v91/methods/contacts_deleteByPhones.md @@ -28,6 +28,7 @@ Delete contacts by phones if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_deleteContact.md b/old_docs/API_docs_v91/methods/contacts_deleteContact.md index 804afd98..d43409eb 100644 --- a/old_docs/API_docs_v91/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v91/methods/contacts_deleteContact.md @@ -28,6 +28,7 @@ Delete a contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_deleteContacts.md b/old_docs/API_docs_v91/methods/contacts_deleteContacts.md index 79a04c66..03e8edb8 100644 --- a/old_docs/API_docs_v91/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v91/methods/contacts_deleteContacts.md @@ -28,6 +28,7 @@ Delete multiple contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getBlocked.md b/old_docs/API_docs_v91/methods/contacts_getBlocked.md index d4c8ce97..f7068b1b 100644 --- a/old_docs/API_docs_v91/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v91/methods/contacts_getBlocked.md @@ -29,6 +29,7 @@ Get blocked users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getContactIDs.md b/old_docs/API_docs_v91/methods/contacts_getContactIDs.md index 46a1d748..09ce8bf7 100644 --- a/old_docs/API_docs_v91/methods/contacts_getContactIDs.md +++ b/old_docs/API_docs_v91/methods/contacts_getContactIDs.md @@ -28,6 +28,7 @@ Get contacts by IDs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getContacts.md b/old_docs/API_docs_v91/methods/contacts_getContacts.md index 19826f89..21f2fe87 100644 --- a/old_docs/API_docs_v91/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v91/methods/contacts_getContacts.md @@ -28,6 +28,7 @@ Get all contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getSaved.md b/old_docs/API_docs_v91/methods/contacts_getSaved.md index 720d215a..18b75b66 100644 --- a/old_docs/API_docs_v91/methods/contacts_getSaved.md +++ b/old_docs/API_docs_v91/methods/contacts_getSaved.md @@ -23,6 +23,7 @@ Get saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getStatuses.md b/old_docs/API_docs_v91/methods/contacts_getStatuses.md index 9ca4b553..1eb44851 100644 --- a/old_docs/API_docs_v91/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v91/methods/contacts_getStatuses.md @@ -23,6 +23,7 @@ Get online status of all users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_getTopPeers.md b/old_docs/API_docs_v91/methods/contacts_getTopPeers.md index c64e7486..d9527cd7 100644 --- a/old_docs/API_docs_v91/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v91/methods/contacts_getTopPeers.md @@ -36,6 +36,7 @@ Get most used chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_importContacts.md b/old_docs/API_docs_v91/methods/contacts_importContacts.md index c42f5c57..aafe658f 100644 --- a/old_docs/API_docs_v91/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v91/methods/contacts_importContacts.md @@ -28,6 +28,7 @@ Add phone number as contact if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_resetSaved.md b/old_docs/API_docs_v91/methods/contacts_resetSaved.md index 40d528bc..088f8ace 100644 --- a/old_docs/API_docs_v91/methods/contacts_resetSaved.md +++ b/old_docs/API_docs_v91/methods/contacts_resetSaved.md @@ -23,6 +23,7 @@ Reset saved contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v91/methods/contacts_resetTopPeerRating.md index 94a07f54..85ba7993 100644 --- a/old_docs/API_docs_v91/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v91/methods/contacts_resetTopPeerRating.md @@ -29,6 +29,7 @@ Reset top peer rating for a certain category/peer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_search.md b/old_docs/API_docs_v91/methods/contacts_search.md index 54c21d05..b7eaa293 100644 --- a/old_docs/API_docs_v91/methods/contacts_search.md +++ b/old_docs/API_docs_v91/methods/contacts_search.md @@ -29,6 +29,7 @@ Search contacts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_toggleTopPeers.md b/old_docs/API_docs_v91/methods/contacts_toggleTopPeers.md index b68b4bf3..2e9f8106 100644 --- a/old_docs/API_docs_v91/methods/contacts_toggleTopPeers.md +++ b/old_docs/API_docs_v91/methods/contacts_toggleTopPeers.md @@ -28,6 +28,7 @@ Toggle top peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/contacts_unblock.md b/old_docs/API_docs_v91/methods/contacts_unblock.md index 4f85b8e7..4517e749 100644 --- a/old_docs/API_docs_v91/methods/contacts_unblock.md +++ b/old_docs/API_docs_v91/methods/contacts_unblock.md @@ -28,6 +28,7 @@ Unblock a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_acceptTermsOfService.md b/old_docs/API_docs_v91/methods/help_acceptTermsOfService.md index 56a6c695..64192a1c 100644 --- a/old_docs/API_docs_v91/methods/help_acceptTermsOfService.md +++ b/old_docs/API_docs_v91/methods/help_acceptTermsOfService.md @@ -28,6 +28,7 @@ Accept telegram's TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_editUserInfo.md b/old_docs/API_docs_v91/methods/help_editUserInfo.md index 580d2f33..5955d8e9 100644 --- a/old_docs/API_docs_v91/methods/help_editUserInfo.md +++ b/old_docs/API_docs_v91/methods/help_editUserInfo.md @@ -31,6 +31,7 @@ Edit user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getAppChangelog.md b/old_docs/API_docs_v91/methods/help_getAppChangelog.md index 179eaf3a..ebc3fb7c 100644 --- a/old_docs/API_docs_v91/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v91/methods/help_getAppChangelog.md @@ -28,6 +28,7 @@ Get the changelog of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getAppConfig.md b/old_docs/API_docs_v91/methods/help_getAppConfig.md index 3fd5f540..0307e735 100644 --- a/old_docs/API_docs_v91/methods/help_getAppConfig.md +++ b/old_docs/API_docs_v91/methods/help_getAppConfig.md @@ -23,6 +23,7 @@ Get app config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getAppUpdate.md b/old_docs/API_docs_v91/methods/help_getAppUpdate.md index 4558e073..2b0c90bf 100644 --- a/old_docs/API_docs_v91/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v91/methods/help_getAppUpdate.md @@ -28,6 +28,7 @@ Get info about app updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getCdnConfig.md b/old_docs/API_docs_v91/methods/help_getCdnConfig.md index 766896c7..58a85151 100644 --- a/old_docs/API_docs_v91/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v91/methods/help_getCdnConfig.md @@ -23,6 +23,7 @@ Get CDN configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getConfig.md b/old_docs/API_docs_v91/methods/help_getConfig.md index c17e7b37..87af116e 100644 --- a/old_docs/API_docs_v91/methods/help_getConfig.md +++ b/old_docs/API_docs_v91/methods/help_getConfig.md @@ -23,6 +23,7 @@ Get server configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getDeepLinkInfo.md b/old_docs/API_docs_v91/methods/help_getDeepLinkInfo.md index 55885ec2..163cc317 100644 --- a/old_docs/API_docs_v91/methods/help_getDeepLinkInfo.md +++ b/old_docs/API_docs_v91/methods/help_getDeepLinkInfo.md @@ -28,6 +28,7 @@ Get deep link info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getInviteText.md b/old_docs/API_docs_v91/methods/help_getInviteText.md index f05ac4ac..f3bbc282 100644 --- a/old_docs/API_docs_v91/methods/help_getInviteText.md +++ b/old_docs/API_docs_v91/methods/help_getInviteText.md @@ -23,6 +23,7 @@ Get invitation text if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getNearestDc.md b/old_docs/API_docs_v91/methods/help_getNearestDc.md index ed773822..b31ccd79 100644 --- a/old_docs/API_docs_v91/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v91/methods/help_getNearestDc.md @@ -23,6 +23,7 @@ Get nearest datacenter if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getPassportConfig.md b/old_docs/API_docs_v91/methods/help_getPassportConfig.md index 4b58fa73..be2d0279 100644 --- a/old_docs/API_docs_v91/methods/help_getPassportConfig.md +++ b/old_docs/API_docs_v91/methods/help_getPassportConfig.md @@ -28,6 +28,7 @@ Get passport config if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getProxyData.md b/old_docs/API_docs_v91/methods/help_getProxyData.md index 37955ac0..d3c3e68b 100644 --- a/old_docs/API_docs_v91/methods/help_getProxyData.md +++ b/old_docs/API_docs_v91/methods/help_getProxyData.md @@ -23,6 +23,7 @@ Get information about the current proxy if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getRecentMeUrls.md b/old_docs/API_docs_v91/methods/help_getRecentMeUrls.md index c9641f67..478dcf18 100644 --- a/old_docs/API_docs_v91/methods/help_getRecentMeUrls.md +++ b/old_docs/API_docs_v91/methods/help_getRecentMeUrls.md @@ -28,6 +28,7 @@ Get recent t.me URLs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getSupport.md b/old_docs/API_docs_v91/methods/help_getSupport.md index 21e07cec..b050e208 100644 --- a/old_docs/API_docs_v91/methods/help_getSupport.md +++ b/old_docs/API_docs_v91/methods/help_getSupport.md @@ -23,6 +23,7 @@ Get info of support user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getSupportName.md b/old_docs/API_docs_v91/methods/help_getSupportName.md index 83440dc3..252c61d0 100644 --- a/old_docs/API_docs_v91/methods/help_getSupportName.md +++ b/old_docs/API_docs_v91/methods/help_getSupportName.md @@ -23,6 +23,7 @@ Get support name if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getTermsOfServiceUpdate.md b/old_docs/API_docs_v91/methods/help_getTermsOfServiceUpdate.md index b3cfa0ed..9d549c0d 100644 --- a/old_docs/API_docs_v91/methods/help_getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v91/methods/help_getTermsOfServiceUpdate.md @@ -23,6 +23,7 @@ Get updated TOS if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_getUserInfo.md b/old_docs/API_docs_v91/methods/help_getUserInfo.md index 051af31f..7274528c 100644 --- a/old_docs/API_docs_v91/methods/help_getUserInfo.md +++ b/old_docs/API_docs_v91/methods/help_getUserInfo.md @@ -28,6 +28,7 @@ Get user info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_saveAppLog.md b/old_docs/API_docs_v91/methods/help_saveAppLog.md index d8478d5f..1190d40a 100644 --- a/old_docs/API_docs_v91/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v91/methods/help_saveAppLog.md @@ -28,6 +28,7 @@ Log data for developer of this app if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v91/methods/help_setBotUpdatesStatus.md index 53736da7..cd5a078e 100644 --- a/old_docs/API_docs_v91/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v91/methods/help_setBotUpdatesStatus.md @@ -29,6 +29,7 @@ Set the update status of webhook if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/initConnection.md b/old_docs/API_docs_v91/methods/initConnection.md index c956cf38..ea5d1b2b 100644 --- a/old_docs/API_docs_v91/methods/initConnection.md +++ b/old_docs/API_docs_v91/methods/initConnection.md @@ -36,6 +36,7 @@ Initializes connection and save information on the user's device and application if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeAfterMsg.md b/old_docs/API_docs_v91/methods/invokeAfterMsg.md index 70d077d0..5a9eeec0 100644 --- a/old_docs/API_docs_v91/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v91/methods/invokeAfterMsg.md @@ -29,6 +29,7 @@ Invokes a query after successfull completion of one of the previous queries. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeAfterMsgs.md b/old_docs/API_docs_v91/methods/invokeAfterMsgs.md index 5af5ebba..d47c17e1 100644 --- a/old_docs/API_docs_v91/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v91/methods/invokeAfterMsgs.md @@ -29,6 +29,7 @@ Result type returned by a current query. if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeWithLayer.md b/old_docs/API_docs_v91/methods/invokeWithLayer.md index 298c6b39..eb4b5a94 100644 --- a/old_docs/API_docs_v91/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v91/methods/invokeWithLayer.md @@ -29,6 +29,7 @@ Invoke this method with layer X if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeWithMessagesRange.md b/old_docs/API_docs_v91/methods/invokeWithMessagesRange.md index bd5bf0fa..67e391ff 100644 --- a/old_docs/API_docs_v91/methods/invokeWithMessagesRange.md +++ b/old_docs/API_docs_v91/methods/invokeWithMessagesRange.md @@ -29,6 +29,7 @@ Invoke with messages range if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeWithTakeout.md b/old_docs/API_docs_v91/methods/invokeWithTakeout.md index 5f83f4a1..5eb85626 100644 --- a/old_docs/API_docs_v91/methods/invokeWithTakeout.md +++ b/old_docs/API_docs_v91/methods/invokeWithTakeout.md @@ -29,6 +29,7 @@ Invoke method from takeout session if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v91/methods/invokeWithoutUpdates.md index 1843ce99..48c4ae33 100644 --- a/old_docs/API_docs_v91/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v91/methods/invokeWithoutUpdates.md @@ -28,6 +28,7 @@ Invoke with method without returning updates in the socket if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/langpack_getDifference.md b/old_docs/API_docs_v91/methods/langpack_getDifference.md index 8ec3cb04..4af3c462 100644 --- a/old_docs/API_docs_v91/methods/langpack_getDifference.md +++ b/old_docs/API_docs_v91/methods/langpack_getDifference.md @@ -29,6 +29,7 @@ Get language pack updates if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/langpack_getLangPack.md b/old_docs/API_docs_v91/methods/langpack_getLangPack.md index c6944f50..b7e5b041 100644 --- a/old_docs/API_docs_v91/methods/langpack_getLangPack.md +++ b/old_docs/API_docs_v91/methods/langpack_getLangPack.md @@ -29,6 +29,7 @@ Get language pack if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/langpack_getLanguage.md b/old_docs/API_docs_v91/methods/langpack_getLanguage.md index a97a1429..03101a33 100644 --- a/old_docs/API_docs_v91/methods/langpack_getLanguage.md +++ b/old_docs/API_docs_v91/methods/langpack_getLanguage.md @@ -29,6 +29,7 @@ Get language if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/langpack_getLanguages.md b/old_docs/API_docs_v91/methods/langpack_getLanguages.md index 093ca8a5..ea9faf78 100644 --- a/old_docs/API_docs_v91/methods/langpack_getLanguages.md +++ b/old_docs/API_docs_v91/methods/langpack_getLanguages.md @@ -28,6 +28,7 @@ Get available languages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/langpack_getStrings.md b/old_docs/API_docs_v91/methods/langpack_getStrings.md index 4df420e7..0fe32c87 100644 --- a/old_docs/API_docs_v91/methods/langpack_getStrings.md +++ b/old_docs/API_docs_v91/methods/langpack_getStrings.md @@ -30,6 +30,7 @@ Get language pack strings if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_addChatUser.md b/old_docs/API_docs_v91/methods/messages_addChatUser.md index 48694153..53429fec 100644 --- a/old_docs/API_docs_v91/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v91/methods/messages_addChatUser.md @@ -30,6 +30,7 @@ Add a user to a normal chat (use channels->inviteToChannel for supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_checkChatInvite.md b/old_docs/API_docs_v91/methods/messages_checkChatInvite.md index 413b0fa7..7c4c2ea2 100644 --- a/old_docs/API_docs_v91/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v91/methods/messages_checkChatInvite.md @@ -28,6 +28,7 @@ Check if an invitation link is valid if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_clearAllDrafts.md b/old_docs/API_docs_v91/methods/messages_clearAllDrafts.md index 9840c525..6cf75853 100644 --- a/old_docs/API_docs_v91/methods/messages_clearAllDrafts.md +++ b/old_docs/API_docs_v91/methods/messages_clearAllDrafts.md @@ -23,6 +23,7 @@ Clear all drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v91/methods/messages_clearRecentStickers.md index 53e1fa4f..435327f3 100644 --- a/old_docs/API_docs_v91/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v91/methods/messages_clearRecentStickers.md @@ -28,6 +28,7 @@ Clear all recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_createChat.md b/old_docs/API_docs_v91/methods/messages_createChat.md index 4110a1e4..cbb6449c 100644 --- a/old_docs/API_docs_v91/methods/messages_createChat.md +++ b/old_docs/API_docs_v91/methods/messages_createChat.md @@ -29,6 +29,7 @@ Create a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_deleteChatUser.md b/old_docs/API_docs_v91/methods/messages_deleteChatUser.md index a82a7710..860f5f1a 100644 --- a/old_docs/API_docs_v91/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v91/methods/messages_deleteChatUser.md @@ -29,6 +29,7 @@ Delete a user from a chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_deleteHistory.md b/old_docs/API_docs_v91/methods/messages_deleteHistory.md index 33d1ca52..26ce5128 100644 --- a/old_docs/API_docs_v91/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v91/methods/messages_deleteHistory.md @@ -30,6 +30,7 @@ Delete chat history if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_deleteMessages.md b/old_docs/API_docs_v91/methods/messages_deleteMessages.md index 9158e8bd..14a078b7 100644 --- a/old_docs/API_docs_v91/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v91/methods/messages_deleteMessages.md @@ -29,6 +29,7 @@ Delete messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_editChatAdmin.md b/old_docs/API_docs_v91/methods/messages_editChatAdmin.md index f883b50e..66fb9308 100644 --- a/old_docs/API_docs_v91/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v91/methods/messages_editChatAdmin.md @@ -30,6 +30,7 @@ Edit admin permissions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_editChatPhoto.md b/old_docs/API_docs_v91/methods/messages_editChatPhoto.md index ce140a09..61a9f42e 100644 --- a/old_docs/API_docs_v91/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v91/methods/messages_editChatPhoto.md @@ -29,6 +29,7 @@ Edit the photo of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_editChatTitle.md b/old_docs/API_docs_v91/methods/messages_editChatTitle.md index 6599d034..a00d859e 100644 --- a/old_docs/API_docs_v91/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v91/methods/messages_editChatTitle.md @@ -29,6 +29,7 @@ Edit the title of a normal chat (not supergroup) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md index f147b8dc..16a48144 100644 --- a/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v91/methods/messages_editInlineBotMessage.md @@ -34,6 +34,7 @@ Edit a sent inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_editMessage.md b/old_docs/API_docs_v91/methods/messages_editMessage.md index 44dbb453..a64c215b 100644 --- a/old_docs/API_docs_v91/methods/messages_editMessage.md +++ b/old_docs/API_docs_v91/methods/messages_editMessage.md @@ -35,6 +35,7 @@ Edit a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_exportChatInvite.md b/old_docs/API_docs_v91/methods/messages_exportChatInvite.md index 227135c6..ffee9185 100644 --- a/old_docs/API_docs_v91/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v91/methods/messages_exportChatInvite.md @@ -28,6 +28,7 @@ Export chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_faveSticker.md b/old_docs/API_docs_v91/methods/messages_faveSticker.md index 26e49af9..bfb0e495 100644 --- a/old_docs/API_docs_v91/methods/messages_faveSticker.md +++ b/old_docs/API_docs_v91/methods/messages_faveSticker.md @@ -29,6 +29,7 @@ Add a sticker to favorites if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_forwardMessages.md b/old_docs/API_docs_v91/methods/messages_forwardMessages.md index d318421f..2055b0b4 100644 --- a/old_docs/API_docs_v91/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v91/methods/messages_forwardMessages.md @@ -34,6 +34,7 @@ Forward messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getAllChats.md b/old_docs/API_docs_v91/methods/messages_getAllChats.md index 38cbbbae..6f2c4d04 100644 --- a/old_docs/API_docs_v91/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v91/methods/messages_getAllChats.md @@ -28,6 +28,7 @@ Get all chats (not supergroups or channels) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getAllDrafts.md b/old_docs/API_docs_v91/methods/messages_getAllDrafts.md index 7300e01a..943dde40 100644 --- a/old_docs/API_docs_v91/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v91/methods/messages_getAllDrafts.md @@ -23,6 +23,7 @@ Get all message drafts if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getAllStickers.md b/old_docs/API_docs_v91/methods/messages_getAllStickers.md index f8de60a2..b443cf5a 100644 --- a/old_docs/API_docs_v91/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getAllStickers.md @@ -28,6 +28,7 @@ Get all stickerpacks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v91/methods/messages_getArchivedStickers.md index ef79ee6e..95d6a4cb 100644 --- a/old_docs/API_docs_v91/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getArchivedStickers.md @@ -30,6 +30,7 @@ Get all archived stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v91/methods/messages_getAttachedStickers.md index 9ada6655..985637dc 100644 --- a/old_docs/API_docs_v91/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getAttachedStickers.md @@ -28,6 +28,7 @@ Get stickers attachable to images if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v91/methods/messages_getBotCallbackAnswer.md index b4f1d02f..7eb7bf0c 100644 --- a/old_docs/API_docs_v91/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v91/methods/messages_getBotCallbackAnswer.md @@ -31,6 +31,7 @@ Get the callback answer of a bot (after clicking a button) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getChats.md b/old_docs/API_docs_v91/methods/messages_getChats.md index 1976ea4f..2d50324b 100644 --- a/old_docs/API_docs_v91/methods/messages_getChats.md +++ b/old_docs/API_docs_v91/methods/messages_getChats.md @@ -28,6 +28,7 @@ Get info about chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getCommonChats.md b/old_docs/API_docs_v91/methods/messages_getCommonChats.md index 83237f64..78eceb30 100644 --- a/old_docs/API_docs_v91/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v91/methods/messages_getCommonChats.md @@ -30,6 +30,7 @@ Get chats in common with a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getDialogUnreadMarks.md b/old_docs/API_docs_v91/methods/messages_getDialogUnreadMarks.md index 74c65efa..212b2859 100644 --- a/old_docs/API_docs_v91/methods/messages_getDialogUnreadMarks.md +++ b/old_docs/API_docs_v91/methods/messages_getDialogUnreadMarks.md @@ -23,6 +23,7 @@ Get dialogs marked as unread manually if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getDialogs.md b/old_docs/API_docs_v91/methods/messages_getDialogs.md index 9e2e33c2..54d7c469 100644 --- a/old_docs/API_docs_v91/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v91/methods/messages_getDialogs.md @@ -33,6 +33,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https: if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v91/methods/messages_getDocumentByHash.md index 00f0a558..e8a1fd44 100644 --- a/old_docs/API_docs_v91/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v91/methods/messages_getDocumentByHash.md @@ -30,6 +30,7 @@ Get document by SHA256 hash if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getFavedStickers.md b/old_docs/API_docs_v91/methods/messages_getFavedStickers.md index 95d6d4a2..04d97e5f 100644 --- a/old_docs/API_docs_v91/methods/messages_getFavedStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getFavedStickers.md @@ -28,6 +28,7 @@ Get favorite stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v91/methods/messages_getFeaturedStickers.md index c257621e..6aaa3bdc 100644 --- a/old_docs/API_docs_v91/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getFeaturedStickers.md @@ -28,6 +28,7 @@ Get featured stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getGameHighScores.md b/old_docs/API_docs_v91/methods/messages_getGameHighScores.md index a97fb1ff..820f51aa 100644 --- a/old_docs/API_docs_v91/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v91/methods/messages_getGameHighScores.md @@ -30,6 +30,7 @@ Get high scores of a game if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getHistory.md b/old_docs/API_docs_v91/methods/messages_getHistory.md index 215e949d..af72660b 100644 --- a/old_docs/API_docs_v91/methods/messages_getHistory.md +++ b/old_docs/API_docs_v91/methods/messages_getHistory.md @@ -35,6 +35,7 @@ Get previous messages of a group if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v91/methods/messages_getInlineBotResults.md index 73f2deb2..4a9a5aa9 100644 --- a/old_docs/API_docs_v91/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v91/methods/messages_getInlineBotResults.md @@ -32,6 +32,7 @@ Call inline bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v91/methods/messages_getInlineGameHighScores.md index 046c1cfb..a9dca780 100644 --- a/old_docs/API_docs_v91/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v91/methods/messages_getInlineGameHighScores.md @@ -29,6 +29,7 @@ Get high scores of a game sent in an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getMaskStickers.md b/old_docs/API_docs_v91/methods/messages_getMaskStickers.md index 06fd153e..33466a25 100644 --- a/old_docs/API_docs_v91/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getMaskStickers.md @@ -28,6 +28,7 @@ Get masks if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getMessageEditData.md b/old_docs/API_docs_v91/methods/messages_getMessageEditData.md index 77e2c030..d4aea24c 100644 --- a/old_docs/API_docs_v91/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v91/methods/messages_getMessageEditData.md @@ -29,6 +29,7 @@ Check if about to edit a message or a media caption if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getMessages.md b/old_docs/API_docs_v91/methods/messages_getMessages.md index ffc8cdb6..2e5513f1 100644 --- a/old_docs/API_docs_v91/methods/messages_getMessages.md +++ b/old_docs/API_docs_v91/methods/messages_getMessages.md @@ -28,6 +28,7 @@ Get messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getMessagesViews.md b/old_docs/API_docs_v91/methods/messages_getMessagesViews.md index b2b6110e..aeab498f 100644 --- a/old_docs/API_docs_v91/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v91/methods/messages_getMessagesViews.md @@ -30,6 +30,7 @@ Get and increase message views if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getOnlines.md b/old_docs/API_docs_v91/methods/messages_getOnlines.md index a5e8d601..77dff78e 100644 --- a/old_docs/API_docs_v91/methods/messages_getOnlines.md +++ b/old_docs/API_docs_v91/methods/messages_getOnlines.md @@ -28,6 +28,7 @@ Get online users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v91/methods/messages_getPeerDialogs.md index 7d6ea635..3f6d0b08 100644 --- a/old_docs/API_docs_v91/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v91/methods/messages_getPeerDialogs.md @@ -28,6 +28,7 @@ Get dialog info of peers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getPeerSettings.md b/old_docs/API_docs_v91/methods/messages_getPeerSettings.md index e2b3ec4f..72eb13ff 100644 --- a/old_docs/API_docs_v91/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v91/methods/messages_getPeerSettings.md @@ -28,6 +28,7 @@ Get the settings of apeer if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v91/methods/messages_getPinnedDialogs.md index 77eb98ce..35a5c94d 100644 --- a/old_docs/API_docs_v91/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v91/methods/messages_getPinnedDialogs.md @@ -23,6 +23,7 @@ Get pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getPollResults.md b/old_docs/API_docs_v91/methods/messages_getPollResults.md index a6203884..0a1e564d 100644 --- a/old_docs/API_docs_v91/methods/messages_getPollResults.md +++ b/old_docs/API_docs_v91/methods/messages_getPollResults.md @@ -29,6 +29,7 @@ Get poll results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getRecentLocations.md b/old_docs/API_docs_v91/methods/messages_getRecentLocations.md index 015d0c24..792f3411 100644 --- a/old_docs/API_docs_v91/methods/messages_getRecentLocations.md +++ b/old_docs/API_docs_v91/methods/messages_getRecentLocations.md @@ -30,6 +30,7 @@ Get recent locations if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getRecentStickers.md b/old_docs/API_docs_v91/methods/messages_getRecentStickers.md index 939fd036..661a328f 100644 --- a/old_docs/API_docs_v91/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getRecentStickers.md @@ -29,6 +29,7 @@ Get recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getSavedGifs.md b/old_docs/API_docs_v91/methods/messages_getSavedGifs.md index 1a879907..7a51dcc8 100644 --- a/old_docs/API_docs_v91/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v91/methods/messages_getSavedGifs.md @@ -28,6 +28,7 @@ Get saved gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getSplitRanges.md b/old_docs/API_docs_v91/methods/messages_getSplitRanges.md index ba744579..522f83b3 100644 --- a/old_docs/API_docs_v91/methods/messages_getSplitRanges.md +++ b/old_docs/API_docs_v91/methods/messages_getSplitRanges.md @@ -23,6 +23,7 @@ Get message ranges to fetch if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getStatsURL.md b/old_docs/API_docs_v91/methods/messages_getStatsURL.md index 17ac29a7..d053ccfc 100644 --- a/old_docs/API_docs_v91/methods/messages_getStatsURL.md +++ b/old_docs/API_docs_v91/methods/messages_getStatsURL.md @@ -28,6 +28,7 @@ Get stats URL if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getStickerSet.md b/old_docs/API_docs_v91/methods/messages_getStickerSet.md index 071ddde3..d2ed3e0f 100644 --- a/old_docs/API_docs_v91/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v91/methods/messages_getStickerSet.md @@ -28,6 +28,7 @@ Get a stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getStickers.md b/old_docs/API_docs_v91/methods/messages_getStickers.md index a86b59f4..d0dc7542 100644 --- a/old_docs/API_docs_v91/methods/messages_getStickers.md +++ b/old_docs/API_docs_v91/methods/messages_getStickers.md @@ -29,6 +29,7 @@ Get stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getUnreadMentions.md b/old_docs/API_docs_v91/methods/messages_getUnreadMentions.md index d30c19c5..8c296f38 100644 --- a/old_docs/API_docs_v91/methods/messages_getUnreadMentions.md +++ b/old_docs/API_docs_v91/methods/messages_getUnreadMentions.md @@ -33,6 +33,7 @@ Get unread mentions if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getWebPage.md b/old_docs/API_docs_v91/methods/messages_getWebPage.md index 9237d4b7..223dee73 100644 --- a/old_docs/API_docs_v91/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v91/methods/messages_getWebPage.md @@ -29,6 +29,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md index e6b633ed..c7870dd4 100644 --- a/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v91/methods/messages_getWebPagePreview.md @@ -30,6 +30,7 @@ Get webpage preview if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_hideReportSpam.md b/old_docs/API_docs_v91/methods/messages_hideReportSpam.md index 1c0d72c5..2f960603 100644 --- a/old_docs/API_docs_v91/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v91/methods/messages_hideReportSpam.md @@ -28,6 +28,7 @@ Hide report spam popup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_importChatInvite.md b/old_docs/API_docs_v91/methods/messages_importChatInvite.md index 5781e438..bf23aa4e 100644 --- a/old_docs/API_docs_v91/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v91/methods/messages_importChatInvite.md @@ -28,6 +28,7 @@ Import chat invite if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_installStickerSet.md b/old_docs/API_docs_v91/methods/messages_installStickerSet.md index 6bdb9390..ad651633 100644 --- a/old_docs/API_docs_v91/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v91/methods/messages_installStickerSet.md @@ -29,6 +29,7 @@ Add a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_markDialogUnread.md b/old_docs/API_docs_v91/methods/messages_markDialogUnread.md index ddf580db..d9b92661 100644 --- a/old_docs/API_docs_v91/methods/messages_markDialogUnread.md +++ b/old_docs/API_docs_v91/methods/messages_markDialogUnread.md @@ -29,6 +29,7 @@ Mark dialog as unread if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_migrateChat.md b/old_docs/API_docs_v91/methods/messages_migrateChat.md index e789ff7d..870b9ced 100644 --- a/old_docs/API_docs_v91/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v91/methods/messages_migrateChat.md @@ -28,6 +28,7 @@ Convert chat to supergroup if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v91/methods/messages_readEncryptedHistory.md index 1034eb84..1ae65d68 100644 --- a/old_docs/API_docs_v91/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v91/methods/messages_readEncryptedHistory.md @@ -29,6 +29,7 @@ Mark messages as read in secret chats if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v91/methods/messages_readFeaturedStickers.md index 9fef6621..53a531a6 100644 --- a/old_docs/API_docs_v91/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v91/methods/messages_readFeaturedStickers.md @@ -28,6 +28,7 @@ Mark new featured stickers as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_readHistory.md b/old_docs/API_docs_v91/methods/messages_readHistory.md index 4a2188d8..a5b7e75f 100644 --- a/old_docs/API_docs_v91/methods/messages_readHistory.md +++ b/old_docs/API_docs_v91/methods/messages_readHistory.md @@ -29,6 +29,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_readMentions.md b/old_docs/API_docs_v91/methods/messages_readMentions.md index 237da9c4..071c9b5e 100644 --- a/old_docs/API_docs_v91/methods/messages_readMentions.md +++ b/old_docs/API_docs_v91/methods/messages_readMentions.md @@ -28,6 +28,7 @@ Mark mentions as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_readMessageContents.md b/old_docs/API_docs_v91/methods/messages_readMessageContents.md index 4a701059..9f1b7600 100644 --- a/old_docs/API_docs_v91/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v91/methods/messages_readMessageContents.md @@ -28,6 +28,7 @@ Mark message as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_receivedMessages.md b/old_docs/API_docs_v91/methods/messages_receivedMessages.md index edc3987f..24d40f2b 100644 --- a/old_docs/API_docs_v91/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v91/methods/messages_receivedMessages.md @@ -28,6 +28,7 @@ Mark messages as read if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v91/methods/messages_reorderPinnedDialogs.md index 99aa9865..22b59866 100644 --- a/old_docs/API_docs_v91/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v91/methods/messages_reorderPinnedDialogs.md @@ -29,6 +29,7 @@ Reorder pinned dialogs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v91/methods/messages_reorderStickerSets.md index cd73daa0..8b9fb13e 100644 --- a/old_docs/API_docs_v91/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v91/methods/messages_reorderStickerSets.md @@ -29,6 +29,7 @@ Reorder sticker sets if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_report.md b/old_docs/API_docs_v91/methods/messages_report.md index 2e5e4353..d5539ad9 100644 --- a/old_docs/API_docs_v91/methods/messages_report.md +++ b/old_docs/API_docs_v91/methods/messages_report.md @@ -30,6 +30,7 @@ Report a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v91/methods/messages_reportEncryptedSpam.md index 5d5f0dab..10d74b63 100644 --- a/old_docs/API_docs_v91/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v91/methods/messages_reportEncryptedSpam.md @@ -28,6 +28,7 @@ Report for spam a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_reportSpam.md b/old_docs/API_docs_v91/methods/messages_reportSpam.md index 086d901e..2160920f 100644 --- a/old_docs/API_docs_v91/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v91/methods/messages_reportSpam.md @@ -28,6 +28,7 @@ Report a peer for spam if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_saveDraft.md b/old_docs/API_docs_v91/methods/messages_saveDraft.md index e6afdcea..da234e66 100644 --- a/old_docs/API_docs_v91/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v91/methods/messages_saveDraft.md @@ -33,6 +33,7 @@ Save a message draft if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_saveGif.md b/old_docs/API_docs_v91/methods/messages_saveGif.md index dfa956ab..0860b815 100644 --- a/old_docs/API_docs_v91/methods/messages_saveGif.md +++ b/old_docs/API_docs_v91/methods/messages_saveGif.md @@ -29,6 +29,7 @@ Save a GIF if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v91/methods/messages_saveRecentSticker.md index 1abf524f..c4ab6454 100644 --- a/old_docs/API_docs_v91/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v91/methods/messages_saveRecentSticker.md @@ -30,6 +30,7 @@ Add a sticker to recent stickers if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_search.md b/old_docs/API_docs_v91/methods/messages_search.md index 5d038792..f553a286 100644 --- a/old_docs/API_docs_v91/methods/messages_search.md +++ b/old_docs/API_docs_v91/methods/messages_search.md @@ -39,6 +39,7 @@ Search peers or messages if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_searchGifs.md b/old_docs/API_docs_v91/methods/messages_searchGifs.md index a12cdd21..940e0c60 100644 --- a/old_docs/API_docs_v91/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v91/methods/messages_searchGifs.md @@ -29,6 +29,7 @@ Search gifs if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_searchGlobal.md b/old_docs/API_docs_v91/methods/messages_searchGlobal.md index 1fb73592..e07e3bf6 100644 --- a/old_docs/API_docs_v91/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v91/methods/messages_searchGlobal.md @@ -32,6 +32,7 @@ Global message search if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_searchStickerSets.md b/old_docs/API_docs_v91/methods/messages_searchStickerSets.md index 9b1dd1b0..e505fa90 100644 --- a/old_docs/API_docs_v91/methods/messages_searchStickerSets.md +++ b/old_docs/API_docs_v91/methods/messages_searchStickerSets.md @@ -30,6 +30,7 @@ Find a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendEncrypted.md b/old_docs/API_docs_v91/methods/messages_sendEncrypted.md index 0c356381..ac9137c5 100644 --- a/old_docs/API_docs_v91/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v91/methods/messages_sendEncrypted.md @@ -29,6 +29,7 @@ Send message to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v91/methods/messages_sendEncryptedFile.md index ec08c0a6..81c46b44 100644 --- a/old_docs/API_docs_v91/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v91/methods/messages_sendEncryptedFile.md @@ -30,6 +30,7 @@ Send a file to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v91/methods/messages_sendEncryptedService.md index 5654da64..4b11c1a4 100644 --- a/old_docs/API_docs_v91/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v91/methods/messages_sendEncryptedService.md @@ -29,6 +29,7 @@ Send a service message to a secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v91/methods/messages_sendInlineBotResult.md index 5487dfc8..93ff1146 100644 --- a/old_docs/API_docs_v91/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v91/methods/messages_sendInlineBotResult.md @@ -35,6 +35,7 @@ Send inline bot result obtained with messages.getInlineBotResults to the chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendMedia.md b/old_docs/API_docs_v91/methods/messages_sendMedia.md index 67203190..278e33ce 100644 --- a/old_docs/API_docs_v91/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v91/methods/messages_sendMedia.md @@ -37,6 +37,7 @@ Send a media if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendMessage.md b/old_docs/API_docs_v91/methods/messages_sendMessage.md index 446b3901..b1dbdc01 100644 --- a/old_docs/API_docs_v91/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v91/methods/messages_sendMessage.md @@ -37,6 +37,7 @@ Send a message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendMultiMedia.md b/old_docs/API_docs_v91/methods/messages_sendMultiMedia.md index a6cd72c4..f1389157 100644 --- a/old_docs/API_docs_v91/methods/messages_sendMultiMedia.md +++ b/old_docs/API_docs_v91/methods/messages_sendMultiMedia.md @@ -33,6 +33,7 @@ Send an album if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendScreenshotNotification.md b/old_docs/API_docs_v91/methods/messages_sendScreenshotNotification.md index d4fd79b6..107b4e98 100644 --- a/old_docs/API_docs_v91/methods/messages_sendScreenshotNotification.md +++ b/old_docs/API_docs_v91/methods/messages_sendScreenshotNotification.md @@ -29,6 +29,7 @@ Send screenshot notification if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_sendVote.md b/old_docs/API_docs_v91/methods/messages_sendVote.md index 50049522..9e8d25a2 100644 --- a/old_docs/API_docs_v91/methods/messages_sendVote.md +++ b/old_docs/API_docs_v91/methods/messages_sendVote.md @@ -30,6 +30,7 @@ Send vote if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v91/methods/messages_setBotCallbackAnswer.md index 47d74918..13f761ee 100644 --- a/old_docs/API_docs_v91/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v91/methods/messages_setBotCallbackAnswer.md @@ -32,6 +32,7 @@ Bots only: set the callback answer (after a button was clicked) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v91/methods/messages_setBotPrecheckoutResults.md index 92e8ea5a..5403579c 100644 --- a/old_docs/API_docs_v91/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v91/methods/messages_setBotPrecheckoutResults.md @@ -30,6 +30,7 @@ Bots only: set precheckout results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v91/methods/messages_setBotShippingResults.md index 6e223219..025c9e2e 100644 --- a/old_docs/API_docs_v91/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v91/methods/messages_setBotShippingResults.md @@ -30,6 +30,7 @@ Bots only: set shipping results if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v91/methods/messages_setEncryptedTyping.md index dd8255bb..b97c9fe7 100644 --- a/old_docs/API_docs_v91/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v91/methods/messages_setEncryptedTyping.md @@ -29,6 +29,7 @@ Send typing notification to secret chat if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setGameScore.md b/old_docs/API_docs_v91/methods/messages_setGameScore.md index 1a50326e..eafe3f5a 100644 --- a/old_docs/API_docs_v91/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v91/methods/messages_setGameScore.md @@ -33,6 +33,7 @@ Set the game score if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v91/methods/messages_setInlineBotResults.md index e1ebe4e3..eab735c5 100644 --- a/old_docs/API_docs_v91/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v91/methods/messages_setInlineBotResults.md @@ -34,6 +34,7 @@ Bots only: set the results of an inline query if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v91/methods/messages_setInlineGameScore.md index 76db49dd..40e007c5 100644 --- a/old_docs/API_docs_v91/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v91/methods/messages_setInlineGameScore.md @@ -32,6 +32,7 @@ Set the game score of an inline message if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_setTyping.md b/old_docs/API_docs_v91/methods/messages_setTyping.md index 410e19df..b0d9a589 100644 --- a/old_docs/API_docs_v91/methods/messages_setTyping.md +++ b/old_docs/API_docs_v91/methods/messages_setTyping.md @@ -29,6 +29,7 @@ Change typing status if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_startBot.md b/old_docs/API_docs_v91/methods/messages_startBot.md index 71f82822..ef435f17 100644 --- a/old_docs/API_docs_v91/methods/messages_startBot.md +++ b/old_docs/API_docs_v91/methods/messages_startBot.md @@ -30,6 +30,7 @@ Start a bot if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v91/methods/messages_toggleChatAdmins.md index 56438277..96f249af 100644 --- a/old_docs/API_docs_v91/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v91/methods/messages_toggleChatAdmins.md @@ -29,6 +29,7 @@ Enable all users are admins in normal groups (not supergroups) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v91/methods/messages_toggleDialogPin.md index d564a52c..576f82c0 100644 --- a/old_docs/API_docs_v91/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v91/methods/messages_toggleDialogPin.md @@ -29,6 +29,7 @@ Pin or unpin dialog if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v91/methods/messages_uninstallStickerSet.md index afbb824a..a18889fa 100644 --- a/old_docs/API_docs_v91/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v91/methods/messages_uninstallStickerSet.md @@ -28,6 +28,7 @@ Remove a sticker set if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_updatePinnedMessage.md b/old_docs/API_docs_v91/methods/messages_updatePinnedMessage.md index c9b59508..5109a8d5 100644 --- a/old_docs/API_docs_v91/methods/messages_updatePinnedMessage.md +++ b/old_docs/API_docs_v91/methods/messages_updatePinnedMessage.md @@ -30,6 +30,7 @@ Update pinned message (private chat only) if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_uploadEncryptedFile.md b/old_docs/API_docs_v91/methods/messages_uploadEncryptedFile.md index f3d5d0e5..86f53656 100644 --- a/old_docs/API_docs_v91/methods/messages_uploadEncryptedFile.md +++ b/old_docs/API_docs_v91/methods/messages_uploadEncryptedFile.md @@ -29,6 +29,7 @@ Upload a secret chat file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/messages_uploadMedia.md b/old_docs/API_docs_v91/methods/messages_uploadMedia.md index af710357..1e6f0bcf 100644 --- a/old_docs/API_docs_v91/methods/messages_uploadMedia.md +++ b/old_docs/API_docs_v91/methods/messages_uploadMedia.md @@ -29,6 +29,7 @@ Upload a file without sending it to anyone if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v91/methods/payments_clearSavedInfo.md index 1fb58ffa..4320a756 100644 --- a/old_docs/API_docs_v91/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v91/methods/payments_clearSavedInfo.md @@ -29,6 +29,7 @@ Clear saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_getPaymentForm.md b/old_docs/API_docs_v91/methods/payments_getPaymentForm.md index 480e7d6d..3792c8dc 100644 --- a/old_docs/API_docs_v91/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v91/methods/payments_getPaymentForm.md @@ -28,6 +28,7 @@ Get payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v91/methods/payments_getPaymentReceipt.md index 074aed0e..e53ca8d8 100644 --- a/old_docs/API_docs_v91/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v91/methods/payments_getPaymentReceipt.md @@ -28,6 +28,7 @@ Get payment receipt if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_getSavedInfo.md b/old_docs/API_docs_v91/methods/payments_getSavedInfo.md index df3796a2..9acaa37e 100644 --- a/old_docs/API_docs_v91/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v91/methods/payments_getSavedInfo.md @@ -23,6 +23,7 @@ Get saved payments info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v91/methods/payments_sendPaymentForm.md index 582f446a..b0c4b2ac 100644 --- a/old_docs/API_docs_v91/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v91/methods/payments_sendPaymentForm.md @@ -31,6 +31,7 @@ Bots only: send payment form if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v91/methods/payments_validateRequestedInfo.md index 524c8515..79965306 100644 --- a/old_docs/API_docs_v91/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v91/methods/payments_validateRequestedInfo.md @@ -30,6 +30,7 @@ Validate requested payment info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/phone_getCallConfig.md b/old_docs/API_docs_v91/methods/phone_getCallConfig.md index 4ee97d2f..7001fafd 100644 --- a/old_docs/API_docs_v91/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v91/methods/phone_getCallConfig.md @@ -23,6 +23,7 @@ Get call configuration if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/phone_receivedCall.md b/old_docs/API_docs_v91/methods/phone_receivedCall.md index c030fe43..832e70d3 100644 --- a/old_docs/API_docs_v91/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v91/methods/phone_receivedCall.md @@ -28,6 +28,7 @@ Notify server that you received a call (server will refuse all incoming calls un if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/phone_saveCallDebug.md b/old_docs/API_docs_v91/methods/phone_saveCallDebug.md index 3aff7998..b3eb487f 100644 --- a/old_docs/API_docs_v91/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v91/methods/phone_saveCallDebug.md @@ -29,6 +29,7 @@ Save call debugging info if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/phone_setCallRating.md b/old_docs/API_docs_v91/methods/phone_setCallRating.md index fa83b2c7..dd5880ae 100644 --- a/old_docs/API_docs_v91/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v91/methods/phone_setCallRating.md @@ -30,6 +30,7 @@ Set phone call rating if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/photos_deletePhotos.md b/old_docs/API_docs_v91/methods/photos_deletePhotos.md index 78b12cc6..91171991 100644 --- a/old_docs/API_docs_v91/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v91/methods/photos_deletePhotos.md @@ -28,6 +28,7 @@ Delete profile photos if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/photos_getUserPhotos.md b/old_docs/API_docs_v91/methods/photos_getUserPhotos.md index 9718737e..f57bb0fd 100644 --- a/old_docs/API_docs_v91/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v91/methods/photos_getUserPhotos.md @@ -31,6 +31,7 @@ Get the profile photos of a user if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v91/methods/photos_updateProfilePhoto.md index f97c932f..41c98737 100644 --- a/old_docs/API_docs_v91/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v91/methods/photos_updateProfilePhoto.md @@ -28,6 +28,7 @@ Change the profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v91/methods/photos_uploadProfilePhoto.md index 8d047d9a..973c3bf7 100644 --- a/old_docs/API_docs_v91/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v91/methods/photos_uploadProfilePhoto.md @@ -28,6 +28,7 @@ Upload profile photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/stickers_addStickerToSet.md b/old_docs/API_docs_v91/methods/stickers_addStickerToSet.md index 0946e28a..fd87970e 100644 --- a/old_docs/API_docs_v91/methods/stickers_addStickerToSet.md +++ b/old_docs/API_docs_v91/methods/stickers_addStickerToSet.md @@ -29,6 +29,7 @@ Add sticker to stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/stickers_changeStickerPosition.md b/old_docs/API_docs_v91/methods/stickers_changeStickerPosition.md index ff27fd3c..d0135333 100644 --- a/old_docs/API_docs_v91/methods/stickers_changeStickerPosition.md +++ b/old_docs/API_docs_v91/methods/stickers_changeStickerPosition.md @@ -29,6 +29,7 @@ Change sticker position in photo if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/stickers_createStickerSet.md b/old_docs/API_docs_v91/methods/stickers_createStickerSet.md index 7dd29ccd..4fdb1d24 100644 --- a/old_docs/API_docs_v91/methods/stickers_createStickerSet.md +++ b/old_docs/API_docs_v91/methods/stickers_createStickerSet.md @@ -32,6 +32,7 @@ Create stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/stickers_removeStickerFromSet.md b/old_docs/API_docs_v91/methods/stickers_removeStickerFromSet.md index 64ce97a3..77760ca2 100644 --- a/old_docs/API_docs_v91/methods/stickers_removeStickerFromSet.md +++ b/old_docs/API_docs_v91/methods/stickers_removeStickerFromSet.md @@ -28,6 +28,7 @@ Remove sticker from stickerset if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/upload_getWebFile.md b/old_docs/API_docs_v91/methods/upload_getWebFile.md index 16952ff9..8965bed1 100644 --- a/old_docs/API_docs_v91/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v91/methods/upload_getWebFile.md @@ -30,6 +30,7 @@ Download a file through telegram if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/users_getUsers.md b/old_docs/API_docs_v91/methods/users_getUsers.md index b2b7cb0f..8d5650f9 100644 --- a/old_docs/API_docs_v91/methods/users_getUsers.md +++ b/old_docs/API_docs_v91/methods/users_getUsers.md @@ -28,6 +28,7 @@ Get info about users if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); diff --git a/old_docs/API_docs_v91/methods/users_setSecureValueErrors.md b/old_docs/API_docs_v91/methods/users_setSecureValueErrors.md index 3389b737..1f375814 100644 --- a/old_docs/API_docs_v91/methods/users_setSecureValueErrors.md +++ b/old_docs/API_docs_v91/methods/users_setSecureValueErrors.md @@ -29,6 +29,7 @@ Set secure value error for telegram passport if (!file_exists('madeline.php')) { copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); } +define('MADELINE_BRANCH', ''); include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline');