Photo with auxiliary data.
photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;
---functions---
photos.updateProfilePhoto#1c3d5956 flags:# fallback:flags.0?true id:InputPhoto = photos.Photo;
photos.uploadProfilePhoto#93c9a51 flags:# fallback:flags.3?true file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.4?VideoSize = photos.Photo;
photos.uploadContactProfilePhoto#e14c4a71 flags:# suggest:flags.3?true save:flags.4?true user_id:InputUser file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.5?VideoSize = photos.Photo;
Constructor | Description |
---|---|
photos.photo | Photo with auxiliary data. |
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. |