Package io.getstream.chat.android.common.composer
Types
Link copied to clipboard
class MessageComposerController( channelId: String, chatClient: ChatClient = ChatClient.instance(), maxAttachmentCount: Int = AttachmentConstants.MAX_ATTACHMENTS_COUNT, maxAttachmentSize: Long = AttachmentConstants.MAX_UPLOAD_FILE_SIZE)
Content copied to clipboard
Controller responsible for handling the composing and sending of messages.
Link copied to clipboard
data class MessageComposerState( val inputValue: String = "", val attachments: List<Attachment> = emptyList(), val action: MessageAction? = null, val validationErrors: List<ValidationError> = emptyList(), val mentionSuggestions: List<User> = emptyList(), val commandSuggestions: List<Command> = emptyList(), val coolDownTime: Int = 0, val messageMode: MessageMode = MessageMode.Normal, val alsoSendToChannel: Boolean = false, val ownCapabilities: Set<String> = setOf(), val hasCommands: Boolean = false, val currentUser: User? = null)
Content copied to clipboard
Represents the state within the message input.