MessageTheme

data class MessageTheme(val textStyle: TextStyle, val contentPadding: ComponentPadding, val backgroundColor: Color, val backgroundBorder: BorderStroke?, val backgroundShapes: MessageBackgroundShapes, val quotedTextStyle: TextStyle, val quotedBackgroundColor: Color, val deletedBackgroundColor: Color, val audioRecording: AudioRecordingAttachmentTheme, val quoted: QuotedMessageStyle, val poll: PollMessageStyle)

Represents message theming.

Parameters

textStyle

The text style for the 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.

deletedBackgroundColor

The background color for the deleted messages.

audioRecording

The theming for the audio recording attachment.

Constructors

Link copied to clipboard
constructor(textStyle: TextStyle, contentPadding: ComponentPadding, backgroundColor: Color, backgroundBorder: BorderStroke?, backgroundShapes: MessageBackgroundShapes, quotedTextStyle: TextStyle, quotedBackgroundColor: Color, deletedBackgroundColor: Color, audioRecording: AudioRecordingAttachmentTheme, quoted: QuotedMessageStyle, poll: PollMessageStyle)

Types

Link copied to clipboard
object Companion

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