Layer 227
ChatPhotoObj
Group profile photo.
constructor
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
Parameters
| Name | Type | Description |
|---|---|---|
| HasVideo | flags .0? true | Whether the user has an animated profile picture |
| PhotoId | long | Photo ID |
| StrippedThumb | flags .1? bytes | Stripped thumbnail |
| DcId | int | DC where this photo is stored |
Returns
ChatPhotoGogram Example
// Creating ChatPhotoObj constructor obj := &tg.ChatPhotoObj{ HasVideo: nil, PhotoId: int64(1234567890), StrippedThumb: nil, DcId: 42, }