Esempio n. 1
0
        public override void Update(TLUserProfilePhotoBase photo)
        {
            var photoCommon = photo as TLUserProfilePhoto;

            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;
                }
            }
        }
Esempio n. 2
0
 public virtual void Update(TLUserProfilePhotoBase photo)
 {
 }