Skip to content

account.initTakeoutSession

No description provided by the pinned schema.

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

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
contactsflags.0?trueflags.0No description provided by the pinned schema.
message_usersflags.1?trueflags.1No description provided by the pinned schema.
message_chatsflags.2?trueflags.2No description provided by the pinned schema.
message_megagroupsflags.3?trueflags.3No description provided by the pinned schema.
message_channelsflags.4?trueflags.4No description provided by the pinned schema.
filesflags.5?trueflags.5No description provided by the pinned schema.
file_max_sizeflags.5?longflags.5No description provided by the pinned schema.
ParameterBitMeaning
contacts0Controlled by flags; present when this bit is set.
message_users1Controlled by flags; present when this bit is set.
message_chats2Controlled by flags; present when this bit is set.
message_megagroups3Controlled by flags; present when this bit is set.
message_channels4Controlled by flags; present when this bit is set.
files5Controlled by flags; present when this bit is set.
file_max_size5Controlled by flags; present when this bit is set.
from miniproto.raw.functions import AccountInitTakeoutSession

Public access: miniproto.raw.functions.AccountInitTakeoutSession.

from miniproto.raw.functions import AccountInitTakeoutSession
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = AccountInitTakeoutSession

account.Takeout

CodeErrorDescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
420TAKEOUT_INIT_DELAY_%dSorry, 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
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery