Raw.account.InitTakeoutSession

Raw.account.InitTakeoutSession

Initialize a takeout session, see here for more info.

account.initTakeoutSession#8ef3eab0 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?long = account.Takeout;
export namespace Raw {
  export namespace account {
    export class InitTakeoutSession {
      constructor(params: {
        contacts?: boolean;
        messageUsers?: boolean;
        messageChats?: boolean;
        messageMegagroups?: boolean;
        messageChannels?: boolean;
        files?: boolean;
        fileMaxSize?: bigint;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x8ef3eab0

Property

Results

Raw.account.TypeTakeout