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
contacts
: boolean or undefinedWhether to export contacts
messageUsers
: boolean or undefinedWhether to export messages in private chats
messageChats
: boolean or undefinedWhether to export messages in basic groups
messageMegagroups
: boolean or undefinedWhether to export messages in supergroups
messageChannels
: boolean or undefinedWhether to export messages in channels
files
: boolean or undefinedWhether to export files
fileMaxSize
: bigint or undefinedMaximum size of files to export