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 undefinedIf 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 undefinedCan contain info of a bot we own, to change the profile photo of that bot, instead of the current user.
id
: Raw.TypeInputPhotoInput photo