Photo

class pyrogram.raw.types.photos.Photo

Photo with auxiliary data.

Constructor type of Photo.

Details
  • Layer: 122

  • ID: 0x20212ca8

Parameters
  • photo (Photo) – Photo.

  • users (List of User) – Users.

Methods

This object can be returned by 2 methods:

photos.UpdateProfilePhoto

Installs a previously uploaded photo as a profile photo.

photos.UploadProfilePhoto

Updates current user profile photo.