Returns the maximum size in Bytes of an asset that can be uploaded to the Wire backend.
whether the asset to upload is an image or not