account.InitTakeoutSession#

class pyrogram.raw.functions.account.InitTakeoutSession#

Initialize a takeout session, see here » for more info.

Details:
  • Layer: 158

  • ID: 8EF3EAB0

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 basic 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 64-bit, optional) – Maximum size of files to export.

Returns:

account.Takeout