photos.UpdateProfilePhoto
- class pyrogram.raw.functions.photos.UpdateProfilePhoto
Installs a previously uploaded photo as a profile photo.
- Details:
Layer:
194
ID:
9E82039
- Parameters:
id (
InputPhoto
) – Input photofallback (
bool
, optional) – 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 (
InputUser
, optional) – Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.
- Returns: