account.initTakeoutSession
Initialize a takeout session, see here » for more info.
Initialize a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).
| Name | Type | Required | Description |
|---|---|---|---|
contacts | true | No | Whether to export contacts |
message_users | true | No | Whether to export messages in private chats |
message_chats | true | No | Whether to export messages in [basic groups](https://core.telegram.org/api/channel.md#basic-groups) |
message_megagroups | true | No | Whether to export messages in [supergroups](https://core.telegram.org/api/channel.md#supergroups) |
message_channels | true | No | Whether to export messages in [channels](https://core.telegram.org/api/channel.md#channels) |
files | true | No | Whether to export files |
file_max_size | long | No | Maximum size of files to export |
Responses
account.Takeout
MTProto RPC
- 420 · TAKEOUT_INIT_DELAY_%d — Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.