Skip to main content

photo

Photo

type tg.Photo struct { /* ... */ }

Implements Photo.

Fields

NameTypeRequiredDescription
HasStickersboolWhether the photo has mask stickers attached to it
IDint64yesID
AccessHashint64yesAccess hash
FileReference[]byteyesfile reference
DateintyesDate of upload
Sizes[]PhotoSizeClassyesAvailable sizes for download
VideoSizes[]VideoSizeClassFor animated profiles, the MPEG4 videos
DCIDintyesDC ID to use for download

References