Layer 224
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{ PhotoId: int64(1234567890), DcId: 42, // Optional fields: // HasVideo: true, // StrippedThumb: []byte{0x01, 0x02, 0x03}, }