Improvements to documentation
This commit is contained in:
parent
33af309f7a
commit
af1cbe9107
@ -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).
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CREATING_A_CLIENT.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/FEATURES.html"><input type="submit" value="Next section" /></form>
|
||||
<form action="https://docs.madelineproto.xyz/docs/CREATING_A_CLIENT.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/FEATURES.html"><input type="submit" value="Next section" /></form>
|
||||
|
@ -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();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user