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

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
contacts flags.0?true flags.0 — No description provided by the pinned schema.
message_users flags.1?true flags.1 — No description provided by the pinned schema.
message_chats flags.2?true flags.2 — No description provided by the pinned schema.
message_megagroups flags.3?true flags.3 — No description provided by the pinned schema.
message_channels flags.4?true flags.4 — No description provided by the pinned schema.
files flags.5?true flags.5 — No description provided by the pinned schema.
file_max_size flags.5?long flags.5 — No description provided by the pinned schema.
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.

from miniproto.raw.functions import AccountInitTakeoutSession
# Refer to the raw request class without constructing it or calling Telegram
request_type = 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
  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret