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

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
ipv6 flags.0?true flags.0 — No description provided by the pinned schema.
media_only flags.1?true flags.1 — No description provided by the pinned schema.
tcpo_only flags.2?true flags.2 — No description provided by the pinned schema.
cdn flags.3?true flags.3 — No description provided by the pinned schema.
static flags.4?true flags.4 — No description provided by the pinned schema.
this_port_only flags.5?true flags.5 — No description provided by the pinned schema.
id int — — No description provided by the pinned schema.
ip_address string — — No description provided by the pinned schema.
port int — — No description provided by the pinned schema.
secret flags.10?bytes flags.10 — No description provided by the pinned schema.
Parameter Bit Meaning
ipv6 0 Controlled by flags; present when this bit is set.
media_only 1 Controlled by flags; present when this bit is set.
tcpo_only 2 Controlled by flags; present when this bit is set.
cdn 3 Controlled by flags; present when this bit is set.
static 4 Controlled by flags; present when this bit is set.
this_port_only 5 Controlled by flags; present when this bit is set.
secret 10 Controlled 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
# Refer to the raw constructor class without constructing it or calling Telegram
constructor_type = DcOption

DcOption

  • 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