CustomTextStyle

data class CustomTextStyle(val titleStyle: TextStyle? = null, val subtitleStyle: TextStyle? = null, val dateSeparatorStyle: TextStyle? = null, val participantNameStyle: TextStyle? = null, val timeStyle: TextStyle? = null, val sentMessageStyle: TextStyle? = null, val receivedMessageStyle: TextStyle? = null, val typeMessageStyle: TextStyle? = null, val buttonTextStyle: TextStyle? = null, val clickableLinkStyle: TextStyle? = null, val participantEventTextStyle: TextStyle? = null, val errorTextStyle: TextStyle? = null)

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

Constructors

Link copied to clipboard
constructor(titleStyle: TextStyle? = null, subtitleStyle: TextStyle? = null, dateSeparatorStyle: TextStyle? = null, participantNameStyle: TextStyle? = null, timeStyle: TextStyle? = null, sentMessageStyle: TextStyle? = null, receivedMessageStyle: TextStyle? = null, typeMessageStyle: TextStyle? = null, buttonTextStyle: TextStyle? = null, clickableLinkStyle: TextStyle? = null, participantEventTextStyle: TextStyle? = null, errorTextStyle: TextStyle? = null)

Properties

Link copied to clipboard

text style for solid button text

Link copied to clipboard

text style for clickable link

Link copied to clipboard

text style for date separator

Link copied to clipboard

text style for error message

Link copied to clipboard

text style for participant event

Link copied to clipboard

text style for participant name

Link copied to clipboard

text style for received message

Link copied to clipboard

text style for sent message

Link copied to clipboard

text style for subtitle or business description/tag line

Link copied to clipboard
val timeStyle: TextStyle? = null

text style for message time

Link copied to clipboard
val titleStyle: TextStyle? = null

text style for title or business name

Link copied to clipboard

text style for text field