Raw.Photo
Photo
photo#fb197a65 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector<PhotoSize> video_sizes:flags.1?Vector<VideoSize> dc_id:int = Photo;
export namespace Raw {
export class Photo {
constructor(params: {
hasStickers?: boolean;
id: bigint;
accessHash: bigint;
fileReference: Buffer;
date: number;
sizes: Array<Raw.TypePhotoSize>;
videoSizes?: Array<Raw.TypeVideoSize>;
dcId: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xfb197a65
Property
hasStickers
: boolean or undefinedWhether the photo has mask stickers attached to it
id
: bigintId
accessHash
: bigintAccess hash
fileReference
: BufferFile reference
date
: numberDate of upload
sizes
: Array of Raw.TypePhotoSizeAvailable sizes for download
videoSizes
: Array of Raw.TypeVideoSize or undefinedFor animated profiles, the mpeg4 videos
dcId
: numberDc id to use for download