MadelineProtoDocs/old_docs/API_docs_v86/constructors/account_takeout.md

45 lines
721 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +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}
```