CustomStrings

data class CustomStrings(val businessImageUrl: String? = null, val title: String? = null, val subtitle: String? = null, val participantAgent: String? = null, val participantSystem: String? = null, val participantBot: String? = null, val participantSupervisor: String? = null, val participantCustomer: String? = null, val participantJoinedMessage: String? = null, val participantLeftMessage: String? = null, val internetConnectionLost: String? = null, val failedLoadingOlderMessages: String? = null, val youHaveSharedLocation: String? = null, val youHaveSelected: String? = null, val activeParticipants: String? = null, val noActiveParticipants: String? = null, val downloadComplete: String? = null, val downloadFailed: String? = null, val sendLocation: String? = null, val scrollToBottomDescription: String? = null, val companyProfileDescription: String? = null, val closeButtonDescription: String? = null, val imageDescription: String? = null, val shareLocationButtonDescription: String? = null, val previousButtonDescription: String? = null, val nextButtonDescription: String? = null, val downloadButtonDescription: String? = null, val attachmentDescription: String? = null, val fileDescription: String? = null, val cancelButtonDescription: String? = null, val attachFileDescription: String? = null, val sendButtonDescription: String? = null, val messageSentDescription: String? = null, val retryButtonDescription: String? = null, val disconnectedStateIndicatorText: String? = null, val connectingStateIndicatorText: String? = null, val connectedStateIndicatorText: String? = null, val idleTimeoutTitle: String? = null, val idleTimeoutCountDownText: String? = null, val idleTimeoutButtonText: String? = null, val seconds: String? = null, val audioPermissionRequired: String? = null, val switchCameraDescription: String? = null, val captureImageDescription: String? = null, val finalizeCapturedImageDescription: String? = null, val closeCameraDescription: String? = null, val retakePhotoDescription: String? = null, val startRecording: String? = null, val stopRecording: String? = null, val recordAudioDescription: String? = null, val sendFile: String? = null, val sendImage: String? = null, val takePicture: String? = null, val recordVideo: String? = null, val noSuchFile: String? = null, val fileSizeExceedsLimit: String? = null, val fileExtensionNotSupported: String? = null, val fileNameSizeInvalid: String? = null, val captionSizeInvalid: String? = null, val latitudeOutOfRange: String? = null, val longitudeOutOfRange: String? = null, val locationNameSizeInvalid: String? = null, val locationAddressSizeInvalid: String? = null, val payloadSizeInvalid: String? = null, val textSizeInvalid: String? = null, val messageTextSizeInvalid: String? = null, val messageFormatError: String? = null, val resetEditedChangesButtonDescription: String? = null, val cropImageButtonDescription: String? = null, val flipImageButtonDescription: String? = null, val rotateImageButtonDescription: String? = null, val saveEditedImageButtonDescription: String? = null, val backButtonDescription: String? = null, val singleParticipantsTyping: String? = null, val twoParticipantsTyping: String? = null, val multipleParticipantsTyping: String? = null, val typingIndicatorDescription: String? = null)

This class is used to set custom strings for the messaging window. null values will be replaced with the default strings from ui sdk

Constructors

Link copied to clipboard
constructor(businessImageUrl: String? = null, title: String? = null, subtitle: String? = null, participantAgent: String? = null, participantSystem: String? = null, participantBot: String? = null, participantSupervisor: String? = null, participantCustomer: String? = null, participantJoinedMessage: String? = null, participantLeftMessage: String? = null, internetConnectionLost: String? = null, failedLoadingOlderMessages: String? = null, youHaveSharedLocation: String? = null, youHaveSelected: String? = null, activeParticipants: String? = null, noActiveParticipants: String? = null, downloadComplete: String? = null, downloadFailed: String? = null, sendLocation: String? = null, scrollToBottomDescription: String? = null, companyProfileDescription: String? = null, closeButtonDescription: String? = null, imageDescription: String? = null, shareLocationButtonDescription: String? = null, previousButtonDescription: String? = null, nextButtonDescription: String? = null, downloadButtonDescription: String? = null, attachmentDescription: String? = null, fileDescription: String? = null, cancelButtonDescription: String? = null, attachFileDescription: String? = null, sendButtonDescription: String? = null, messageSentDescription: String? = null, retryButtonDescription: String? = null, disconnectedStateIndicatorText: String? = null, connectingStateIndicatorText: String? = null, connectedStateIndicatorText: String? = null, idleTimeoutTitle: String? = null, idleTimeoutCountDownText: String? = null, idleTimeoutButtonText: String? = null, seconds: String? = null, audioPermissionRequired: String? = null, switchCameraDescription: String? = null, captureImageDescription: String? = null, finalizeCapturedImageDescription: String? = null, closeCameraDescription: String? = null, retakePhotoDescription: String? = null, startRecording: String? = null, stopRecording: String? = null, recordAudioDescription: String? = null, sendFile: String? = null, sendImage: String? = null, takePicture: String? = null, recordVideo: String? = null, noSuchFile: String? = null, fileSizeExceedsLimit: String? = null, fileExtensionNotSupported: String? = null, fileNameSizeInvalid: String? = null, captionSizeInvalid: String? = null, latitudeOutOfRange: String? = null, longitudeOutOfRange: String? = null, locationNameSizeInvalid: String? = null, locationAddressSizeInvalid: String? = null, payloadSizeInvalid: String? = null, textSizeInvalid: String? = null, messageTextSizeInvalid: String? = null, messageFormatError: String? = null, resetEditedChangesButtonDescription: String? = null, cropImageButtonDescription: String? = null, flipImageButtonDescription: String? = null, rotateImageButtonDescription: String? = null, saveEditedImageButtonDescription: String? = null, backButtonDescription: String? = null, singleParticipantsTyping: String? = null, twoParticipantsTyping: String? = null, multipleParticipantsTyping: String? = null, typingIndicatorDescription: String? = null)

Properties

Link copied to clipboard

string used as title for showing active participants

Link copied to clipboard

content description for attach file button

Link copied to clipboard

content description for attachment

Link copied to clipboard

custom string for audio permission required toast

Link copied to clipboard

description for back button

Link copied to clipboard

url if you need to show the business image from the url. Business icon will be used as default

Link copied to clipboard

content description for cancel button

Link copied to clipboard

text to display when caption constraint is not met

Link copied to clipboard

content description for capture image button

Link copied to clipboard

content description for close button

Link copied to clipboard

content description for close camera button

Link copied to clipboard

content description for company profile

Link copied to clipboard

text for connected state indicator

Link copied to clipboard

text for connecting state indicator

Link copied to clipboard

description for button which crops the image

Link copied to clipboard

text for disconnected state indicator

Link copied to clipboard

content description for download button

Link copied to clipboard

string used to show toast that download is completed

Link copied to clipboard
val downloadFailed: String? = null

string used to show toast that download has failed

Link copied to clipboard

string used to show older messages wre not loaded due to error

Link copied to clipboard
val fileDescription: String? = null

content description for file

Link copied to clipboard

text to display when file extension is not supported

Link copied to clipboard

text to display when file name constraint is not met

Link copied to clipboard

text to display when file size exceeds limit

Link copied to clipboard

content description for select captured image button

Link copied to clipboard

description for button which flips the image

Link copied to clipboard

text for idle timeout button

Link copied to clipboard

text for showing idle timeout countdown

Link copied to clipboard

title while showing idle timeout message

Link copied to clipboard

content description for any image

Link copied to clipboard

string used to show internet connection is lost

Link copied to clipboard

text to display when latitude is out of range

Link copied to clipboard

text to display when location address constraint is not met

Link copied to clipboard

text to display when location name constraint is not met

Link copied to clipboard

text to display when longitude is out of range

Link copied to clipboard

text to display when message format is not correct

Link copied to clipboard

content description for message sent tick

Link copied to clipboard

text to display when message text constraint is not met

Link copied to clipboard

Used while showing typing indicator beside participant name when more than two participant are typing. ex: Agent 'and others'.

Link copied to clipboard

content description for next button

Link copied to clipboard

string used as title for showing there are no active participants

Link copied to clipboard
val noSuchFile: String? = null

text to display when file does not exist

Link copied to clipboard

Default name to be used for agent

Link copied to clipboard
val participantBot: String? = null

Default name to be used for bot

Link copied to clipboard

Default name to be used for customer

Link copied to clipboard

string used to show that participant has joined the conversation

Link copied to clipboard

string used to show that participant has left the conversation

Link copied to clipboard

Default name to be used for supervisor

Link copied to clipboard

Default name to be used for system

Link copied to clipboard

text to display when payload constraint is not met

Link copied to clipboard

content description for previous button

Link copied to clipboard

content description for switch camera button

Link copied to clipboard
val recordVideo: String? = null

text to display for opening camera to take video

Link copied to clipboard

description for button which resets to original image while editing

Link copied to clipboard

content description for retake photo button

Link copied to clipboard

content description for retry sending message button

Link copied to clipboard

description for button which rotates the image 90 degrees clockwise

Link copied to clipboard

description for button which saves the edited image

Link copied to clipboard

content description for scroll to bottom button

Link copied to clipboard
val seconds: String? = null

custom string for seconds

Link copied to clipboard

content description for send button

Link copied to clipboard
val sendFile: String? = null

text to display on send file from device button

Link copied to clipboard
val sendImage: String? = null

text to display on send image from device button

Link copied to clipboard
val sendLocation: String? = null

string used on send location button

Link copied to clipboard

content description for share location button

Link copied to clipboard

Used while showing typing indicator beside participant name when one participant is typing. ex: Agent 'and others'.

Link copied to clipboard
val startRecording: String? = null

content description for done button

Link copied to clipboard
val stopRecording: String? = null

content description for stop recording button

Link copied to clipboard
val subtitle: String? = null

subtitle or business description/tag line

Link copied to clipboard

content description for switch camera button

Link copied to clipboard
val takePicture: String? = null

text to display for opening camera to take picture

Link copied to clipboard
val textSizeInvalid: String? = null

text to display when text constraint is not met

Link copied to clipboard
val title: String? = null

title or business name

Link copied to clipboard

Used while showing typing indicator beside participant name when two participant are typing. ex: Agent 'and others'.

Link copied to clipboard

Description for typing indicator.

Link copied to clipboard
val youHaveSelected: String? = null

string used while customer replies to postback or reply

Link copied to clipboard

string used while customer shares location