setUseImageCompression

open fun setUseImageCompression(useCompression: Boolean)

Sets whether the image file compress when trying to send image file message. Default value is true. The target image types are 'image/jpg`, `image/jpeg`, and `image/png`, the others will be ignored.

Parameters

useCompression

If true the image file will be transferred to the original image, false other wise. since 2.0.1