Raw.UserProfilePhoto
User profile photo.
userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
export namespace Raw {
export class UserProfilePhoto {
constructor(params: {
hasVideo?: boolean;
personal?: boolean;
photoId: bigint;
strippedThumb?: Buffer;
dcId: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x82d1f706
Property
hasVideo
: boolean or undefinedWhether an animated profile picture is available for this user
personal
: boolean or undefinedWhether this profile photo is only visible to us (i.e. it was set using photos.uploadcontactprofilephoto).
photoId
: bigintIdentifier of the respective photo
strippedThumb
: Buffer or undefinedStripped thumbnail
dcId
: numberDc id where the photo is stored