Layer 224
InputChatPhotoObj
Existing photo to be set as a chat profile photo.
constructor
inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | InputPhoto | Existing photo |
Returns
InputChatPhotoGogram Example
// Creating InputChatPhotoObj constructor obj := &tg.InputChatPhotoObj{ Id: &tg.InputPhoto{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}, }