Skip to content

account.initTakeoutSession

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;

account.Takeout

Name Type Flag Default Description
flags # flag word —
contacts flags.0?true flags.0 —
message_users flags.1?true flags.1 —
message_chats flags.2?true flags.2 —
message_megagroups flags.3?true flags.3 —
message_channels flags.4?true flags.4 —
files flags.5?true flags.5 —
file_max_size flags.5?long flags.5 —
Parameter Bit Meaning
contacts 0 Controlled by flags; present when this bit is set.
message_users 1 Controlled by flags; present when this bit is set.
message_chats 2 Controlled by flags; present when this bit is set.
message_megagroups 3 Controlled by flags; present when this bit is set.
message_channels 4 Controlled by flags; present when this bit is set.
files 5 Controlled by flags; present when this bit is set.
file_max_size 5 Controlled by flags; present when this bit is set.
from miniproto.raw.functions import AccountInitTakeoutSession

Public access: miniproto.raw.functions.AccountInitTakeoutSession.

account.Takeout

Code Error Description
400 BUSINESS_CONNECTION_NOT_ALLOWED This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
401 AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
420 TAKEOUT_INIT_DELAY_%d Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it’s authorized and to give you time to react if it’s not.

No non-primitive type relationships were found.

account.Takeout Known selected constructors: account.takeout

  • user only

Schema sources