MessageItem
data class MessageItem(val message: Message, val positions: List<MessagePosition> = listOf(), val isMine: Boolean = false, val messageReadBy: List<ChannelUserRead> = listOf(), val isThreadMode: Boolean = false, val isMessageRead: Boolean = true, val showMessageFooter: Boolean = false) : MessageListItem
Represent a message item in a MessageListView.
Constructors
Link copied to clipboard
constructor(message: Message, positions: List<MessagePosition> = listOf(), isMine: Boolean = false, messageReadBy: List<ChannelUserRead> = listOf(), isThreadMode: Boolean = false, isMessageRead: Boolean = true, showMessageFooter: Boolean = false)
Properties
Link copied to clipboard
True if the message has been read or not.
Link copied to clipboard
True if the message is in a thread mode, otherwise false.
Link copied to clipboard
The list of users that already read the message.
Link copied to clipboard
The list of positions that should be displayed in the message item.
Link copied to clipboard
True if the message footer should be displayed, otherwise false.