Skip to content

dcOption

No description provided by the pinned schema.

dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true this_port_only:flags.5?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption;

DcOption

NameTypeFlagDefaultDescription
flags#flag word—No description provided by the pinned schema.
ipv6flags.0?trueflags.0—No description provided by the pinned schema.
media_onlyflags.1?trueflags.1—No description provided by the pinned schema.
tcpo_onlyflags.2?trueflags.2—No description provided by the pinned schema.
cdnflags.3?trueflags.3—No description provided by the pinned schema.
staticflags.4?trueflags.4—No description provided by the pinned schema.
this_port_onlyflags.5?trueflags.5—No description provided by the pinned schema.
idint——No description provided by the pinned schema.
ip_addressstring——No description provided by the pinned schema.
portint——No description provided by the pinned schema.
secretflags.10?bytesflags.10—No description provided by the pinned schema.
ParameterBitMeaning
ipv60Controlled by flags; present when this bit is set.
media_only1Controlled by flags; present when this bit is set.
tcpo_only2Controlled by flags; present when this bit is set.
cdn3Controlled by flags; present when this bit is set.
static4Controlled by flags; present when this bit is set.
this_port_only5Controlled by flags; present when this bit is set.
secret10Controlled by flags; present when this bit is set.
from miniproto.raw.types import DcOption

Public access: miniproto.raw.types.DcOption.

from miniproto.raw.types import DcOption
# Naming the raw constructor class is local only; it performs no I/O or network request.
constructor_type = DcOption

DcOption

  • tdlib_vs_core: changed_count=78; core_only_count=18; overlap_count=2285; tdlib_only_count=195
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2470; tdesktop_only=null; tdlib_only=accessPointRule, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret