Chat Message Image Picker

User can pick images from gallery or file folder and post in chat. This has been added to chat UI and also there is option to render custom UI.

binding.chatWidget.chatView.chatImagePickerDelegate =
    object : ChatImagePickerDelegate {
        override fun onImageButtonClicked() {
          // this opens up the dialog, to navigate to gallery
          // Custom UI can also be rendered for this
        // opens up the dialog to navigate to gallery
        private fun openPickerDialog() {
            // Give your custom view for image picker dialog here
            // Here AlertDialog is used as an example
        val builder = AlertDialog.Builder(context)
        val dialog = builder.create()
        dialog.window?.decorView?.setBackgroundResource(R.drawable.dialog_background) // setting the background
        dialog.findViewById<TextView>( {