InitTakeoutSession

class pyrogram.api.functions.account.InitTakeoutSession(*, contacts: bool = None, message_users: bool = None, message_chats: bool = None, message_megagroups: bool = None, message_channels: bool = None, files: bool = None, file_max_size: int = None)
ID

0xf05b4804

Parameters:
  • contacts (optional) – bool
  • message_users (optional) – bool
  • message_chats (optional) – bool
  • message_megagroups (optional) – bool
  • message_channels (optional) – bool
  • files (optional) – bool
  • file_max_size (optional) – int 32-bit
Raises:

RPCError

Returns:

account.Takeout