From af1cbe91072cbcb19076e80e733996bb69f3a1d0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 21 Mar 2018 13:01:05 +0100 Subject: [PATCH] Improvements to documentation --- docs/docs/LOGIN.md | 4 ++-- index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/LOGIN.md b/docs/docs/LOGIN.md index ed344811..c936ad93 100644 --- a/docs/docs/LOGIN.md +++ b/docs/docs/LOGIN.md @@ -55,6 +55,6 @@ Note that when you login as a bot, MadelineProto also logins using the [PWRTeleg $MadelineProto->logout(); ``` -Use `logout` to logout, see [here for the parameters and the result](https://docs.madelineproto.xyz/logout.html). +**If** you want to logout, you can use the logout function, see [here for the parameters and the result](https://docs.madelineproto.xyz/logout.html). -
\ No newline at end of file +
diff --git a/index.php b/index.php index e18836d9..d560a4ca 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ require 'vendor/autoload.php'; -$MadelineProto = new \danog\MadelineProto\API('session.madeline', ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'updates' => ['handle_updates' => false]]); +$MadelineProto = new \danog\MadelineProto\API('session.madeline', ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e']]); $me = $MadelineProto->start();