Skip to content

document

No description provided by the pinned schema.

document#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;

Document

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
id long — — No description provided by the pinned schema.
access_hash long — — No description provided by the pinned schema.
file_reference bytes — — No description provided by the pinned schema.
date int — — No description provided by the pinned schema.
mime_type string — — No description provided by the pinned schema.
size long — — No description provided by the pinned schema.
thumbs flags.0?Vector flags.0 — No description provided by the pinned schema.
video_thumbs flags.1?Vector flags.1 — No description provided by the pinned schema.
dc_id int — — No description provided by the pinned schema.
attributes Vector — — No description provided by the pinned schema.
Parameter Bit Meaning
thumbs 0 Controlled by flags; present when this bit is set.
video_thumbs 1 Controlled by flags; present when this bit is set.
from miniproto.raw.types import Document

Public access: miniproto.raw.types.Document.

from miniproto.raw.types import Document
# Refer to the raw constructor class without constructing it or calling Telegram
constructor_type = Document

Document

  • 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