CustomIconsAndColors

data class CustomIconsAndColors(val sendingMessageProgressIndicator: Color? = null, val linearProgressIndicator: Color? = null, val progressIndicatorOnButton: Color? = null, val sendMessageIcon: Color? = null, val attachFileTrailingIcon: Color? = null, val selectImageIcon: Color? = null, val selectFileIcon: Color? = null, val downloadIcon: Color? = null, val iconOnButton: Color? = null, @DrawableRes val botIcon: Int? = null, @DrawableRes val agentIcon: Int? = null, @DrawableRes val businessIcon: Int? = null)

This class is used to set custom colors for the messaging window icons. null values will be replaced with the default colors from app theme

Constructors

Link copied to clipboard
constructor(sendingMessageProgressIndicator: Color? = null, linearProgressIndicator: Color? = null, progressIndicatorOnButton: Color? = null, sendMessageIcon: Color? = null, attachFileTrailingIcon: Color? = null, selectImageIcon: Color? = null, selectFileIcon: Color? = null, downloadIcon: Color? = null, iconOnButton: Color? = null, @DrawableRes botIcon: Int? = null, @DrawableRes agentIcon: Int? = null, @DrawableRes businessIcon: Int? = null)

Properties

Link copied to clipboard
val agentIcon: Int? = null

Icon representing the agent

Link copied to clipboard

color for attach file button icon on message text field

Link copied to clipboard
val botIcon: Int? = null

Icon representing the bot or system messages

Link copied to clipboard
val businessIcon: Int? = null

Icon representing the business

Link copied to clipboard
val downloadIcon: Color? = null

color for download icon used for downloading media

Link copied to clipboard
val iconOnButton: Color? = null

color for any icons on solid button like location icon on send location button

Link copied to clipboard

color for linear progress indicator when fetching older messages

Link copied to clipboard

color for circular progress indicator on filed button while fetching location details

Link copied to clipboard
val selectFileIcon: Color? = null

color for file icon used for picking file from gallery

Link copied to clipboard
val selectImageIcon: Color? = null

color for image icon used for picking image from gallery

Link copied to clipboard

color for circular progress indicator when sending message

Link copied to clipboard
val sendMessageIcon: Color? = null

color for send message button icon