2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: logout
|
|
|
|
description: logout parameters, return type and example
|
|
|
|
---
|
|
|
|
## Method: logout
|
|
|
|
|
|
|
|
Logs you out
|
|
|
|
|
|
|
|
|
|
|
|
### Return type: boolean
|
|
|
|
|
2019-06-01 18:08:28 +02:00
|
|
|
### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
2018-04-01 13:19:25 +02:00
|
|
|
|
|
|
|
|
2018-10-17 17:10:50 +02:00
|
|
|
```php
|
2019-06-01 18:08:28 +02:00
|
|
|
yield $MadelineProto->logout();
|
2018-04-01 13:19:25 +02:00
|
|
|
```
|
|
|
|
|