Layer 220
ChatPhoto
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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 ChatPhoto constructor obj := &tg.ChatPhoto{ PhotoId: int64(0), DcId: 0, // Optional fields: // HasVideo: true, // StrippedThumb: []byte{}, }