Raw.UserProfilePhoto

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 undefined

    Whether an animated profile picture is available for this user

  • personal : boolean or undefined

    Whether this profile photo is only visible to us (i.e. it was set using photos.uploadcontactprofilephoto).

  • photoId : bigint

    Identifier of the respective photo

  • strippedThumb : Buffer or undefined

    Stripped thumbnail

  • dcId : number

    Dc id where the photo is stored