Layer 227
UserProfilePhotoObj
User profile photo.
constructor
userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
Parameters
| Name | Type | Description |
|---|---|---|
| HasVideo | flags .0? true | Whether an animated profile picture is available for this user |
| Personal | flags .2? true | Whether this profile photo is only visible to us (i. e. it was set using photos. upload Contact Profile Photo ). |
| PhotoId | long | Identifier of the respective photo |
| StrippedThumb | flags .1? bytes | Stripped thumbnail |
| DcId | int | DC ID where the photo is stored |
Returns
UserProfilePhotoGogram Example
// Creating UserProfilePhotoObj constructor obj := &tg.UserProfilePhotoObj{ HasVideo: nil, Personal: nil, PhotoId: int64(1234567890), StrippedThumb: nil, DcId: 42, }