From 11ec3fdb4582cc7e4ee00b61b341115f25bef0fe Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 30 Jan 2017 13:25:11 +0100 Subject: [PATCH] Fix docs --- README.md | 2 ++ docs/index.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index b19d6332..82558619 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,8 @@ var_dump($authorization); See tests/testing.php for more examples. +Note that when you login as a bot, MadelineProto also logins using the [PWRTelegram](https://pwrtelegram.xyz) API, to allow persistant storage of peers, even after a logout and another login. + ### Storing sessions An istance of MadelineProto can be safely serialized or unserialized. To serialize MadelineProto to a file, usage of the `\danog\MadelineProto\Serialization` class is recommended: diff --git a/docs/index.md b/docs/index.md index 98f1ac0d..9a6f2a19 100644 --- a/docs/index.md +++ b/docs/index.md @@ -294,6 +294,8 @@ var_dump($authorization); See tests/testing.php for more examples. +Note that when you login as a bot, MadelineProto also logins using the [PWRTelegram](https://pwrtelegram.xyz) API, to allow persistant storage of peers, even after a logout and another login. + ### Storing sessions An istance of MadelineProto can be safely serialized or unserialized. To serialize MadelineProto to a file, usage of the `\danog\MadelineProto\Serialization` class is recommended: