MessageTheme
data class MessageTheme(val textStyle: TextStyle, val errorTextStyle: TextStyle, val contentPadding: ComponentPadding, val backgroundColor: Color, val backgroundBorder: BorderStroke?, val backgroundShapes: MessageBackgroundShapes, val quotedTextStyle: TextStyle, val quotedBackgroundColor: Color, val errorBackgroundColor: Color, val deletedBackgroundColor: Color, val audioRecording: AudioRecordingAttachmentTheme, val fileAttachmentTheme: FileAttachmentTheme, val quoted: QuotedMessageStyle, val poll: PollMessageStyle, val mentionColor: Color, val linkStyle: TextStyle, val linkBackgroundColor: Color)
Represents message theming.
Parameters
textStyle
The text style for the messages.
errorTextStyle
The text style for the error messages.
contentPadding
The padding for the message content.
backgroundColor
The background color for the messages.
backgroundBorder
The border for the message background.
backgroundShapes
The shapes for the message background.
quotedTextStyle
The text style for the quoted messages contained in a reply.
quotedBackgroundColor
The background color for the quoted messages.
errorBackgroundColor
The background color for the error messages.
deletedBackgroundColor
The background color for the deleted messages.
audioRecording
The theming for the audio recording attachment.
mentionColor
The color for the mentions in the messages.
linkStyle
The text style for the links in message components.
linkBackgroundColor
The color for the message link card background.
Constructors
Link copied to clipboard
constructor(textStyle: TextStyle, errorTextStyle: TextStyle, contentPadding: ComponentPadding, backgroundColor: Color, backgroundBorder: BorderStroke?, backgroundShapes: MessageBackgroundShapes, quotedTextStyle: TextStyle, quotedBackgroundColor: Color, errorBackgroundColor: Color, deletedBackgroundColor: Color, audioRecording: AudioRecordingAttachmentTheme, fileAttachmentTheme: FileAttachmentTheme, quoted: QuotedMessageStyle, poll: PollMessageStyle, mentionColor: Color, linkStyle: TextStyle, linkBackgroundColor: Color)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard