photos.Photo

class pyrogram.raw.types.photos.Photo

Photo with auxiliary data.

Constructor of Photo.

Details:
  • Layer: 194

  • ID: 20212CA8

Parameters:
  • photo (Photo) – Photo

  • users (List of User) – Users

Functions:

This object can be returned by 3 functions.

photos.UpdateProfilePhoto

Installs a previously uploaded photo as a profile photo.

photos.UploadProfilePhoto

Updates current user profile photo.

photos.UploadContactProfilePhoto

Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.