photos.Photo

Photo with auxiliary data.

photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;

---functions---

photos.uploadProfilePhoto#d50f9c88 file:InputFile caption:string geo_point:InputGeoPoint crop:InputPhotoCrop = photos.Photo;

Constructors

Constructor Description
photos.photo Photo with auxiliary data.

Methods

Method Description
photos.updateProfilePhoto Installs a previously uploaded photo as a profile photo.
photos.uploadProfilePhoto Updates current user profile photo.

The file, video and video_emoji_markup flags are mutually exclusive.
photos.uploadContactProfilePhoto Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.

The file, video and video_emoji_markup flags are mutually exclusive.