Layer 224
constructor
inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;

Parameters

Name Type Description
Id InputPhoto Existing photo

Returns

InputChatPhoto

Gogram Example

// Creating InputChatPhotoObj constructor
obj := &tg.InputChatPhotoObj{
    Id: &tg.InputPhoto{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}},
}