All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.sceyt.chatuikit.formatters.attributes.DraftMessageBodyFormatterAttributes.kt Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.sceyt.chatuikit.formatters.attributes

import com.sceyt.chatuikit.SceytChatUIKit
import com.sceyt.chatuikit.data.models.channels.DraftMessage
import com.sceyt.chatuikit.data.models.messages.SceytAttachment
import com.sceyt.chatuikit.data.models.messages.SceytUser
import com.sceyt.chatuikit.formatters.Formatter
import com.sceyt.chatuikit.styles.common.TextStyle

data class DraftMessageBodyFormatterAttributes(
        val message: DraftMessage,
        val mentionTextStyle: TextStyle,
        val mentionClickListener: ((String) -> Unit)? = null,
        val attachmentNameFormatter: Formatter = SceytChatUIKit.formatters.attachmentNameFormatter,
        val mentionUserNameFormatter: Formatter = SceytChatUIKit.formatters.mentionUserNameFormatter,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy