MadelineProtoDocs/old_docs/API_docs_v91/constructors/account_takeout.md

45 lines
721 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: account.takeout
description: Takeout
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.takeout
[Back to constructors index](index.md)
Takeout
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|ID|
### Type: [account\_Takeout](../types/account_Takeout.md)
### Example:
```php
$account_takeout = ['_' => 'account.takeout', 'id' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.takeout", "id": long}
```
Or, if you're into Lua:
```lua
account_takeout={_='account.takeout', id=long}
```