public override void Update(TLChatPhotoBase photo) { var photoCommon = photo as TLChatPhoto; if (photoCommon != null) { if (PhotoSmall != null) { PhotoSmall.Update(photoCommon.PhotoSmall); } else { PhotoSmall = photoCommon.PhotoSmall; } if (PhotoBig != null) { PhotoBig.Update(photoCommon.PhotoBig); } else { PhotoBig = photoCommon.PhotoBig; } } }
public virtual void Update(TLChatPhotoBase photo) { }