InitTakeoutSession

class pyrogram.raw.functions.account.InitTakeoutSession

Intialize account takeout session.

Details
  • Layer: 126

  • ID: 0xf05b4804

Parameters
  • contacts (bool, optional) – Whether to export contacts.

  • message_users (bool, optional) – Whether to export messages in private chats.

  • message_chats (bool, optional) – Whether to export messages in legacy groups.

  • message_megagroups (bool, optional) – Whether to export messages in supergroups.

  • message_channels (bool, optional) – Whether to export messages in channels.

  • files (bool, optional) – Whether to export files.

  • file_max_size (int 32-bit, optional) – Maximum size of files to export.

Returns

account.Takeout – Takeout info.