UpdateUserPhoto

class pyrogram.raw.types.UpdateUserPhoto

Change of contact’s profile photo.

Constructor type of Update.

Details
  • Layer: 126

  • ID: 0x95313b0c

Parameters
  • user_id (int 32-bit) – User identifier.

  • date (int 32-bit) – Date of photo update.

  • photo (UserProfilePhoto) – New profile photo.

  • previous (bool) – (boolTrue), if one of the previously used photos is set a profile photo.