public override bool LocationEquals(TLInputFileLocationBase locationBase)
        {
            if (locationBase == null)
            {
                return(false);
            }

            var location = locationBase as TLInputWebFileGeoPointLocation;

            if (location == null)
            {
                return(false);
            }

            return
                (GeoPoint.GeoPointEquals(location.GeoPoint) &&
                 AccessHash.Value == location.AccessHash.Value &&
                 W.Value == location.W.Value &&
                 H.Value == location.H.Value &&
                 Zoom.Value == location.Zoom.Value &&
                 Scale.Value == location.Scale.Value);
        }