Raw.photos.UpdateProfilePhoto

Raw.photos.UpdateProfilePhoto

Installs a previously uploaded photo as a profile photo.

photos.updateProfilePhoto#9e82039 flags:# fallback:flags.0?true bot:flags.1?InputUser id:InputPhoto = photos.Photo;
export namespace Raw {
  export namespace photos {
    export class UpdateProfilePhoto {
      constructor(params: {
        fallback?: boolean;
        bot?: Raw.TypeInputUser;
        id: Raw.TypeInputPhoto;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9e82039

Property

  • fallback : boolean or undefined

    If set, the chosen profile photo will be shown to users that can’t display your main profile photo due to your privacy settings.

  • bot : Raw.TypeInputUser or undefined

    Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.

  • id : Raw.TypeInputPhoto

    Input photo

Results

Raw.photos.TypePhoto

Bots can use