Package io. aircore. panel. chat. config
Types
Link copied to clipboard
data class ChatPanelConfiguration @JvmOverloads constructor( val panelTitle: String? = null, val panelSubtitle: String? = null, val strings: ChatPanelStrings? = null, val collapsedStateOptions: CollapsedStateOptions? = CollapsedStateOptions.Bar(), val expandedStateOptions: ExpandedStateOptions? = ExpandedStateOptions(
panelTitle = panelTitle,
panelSubtitle = panelSubtitle
), val shareLinkUrl: String? = null, val previewBeforeJoin: Boolean = true, val showActiveUsers: Boolean = true, val canSendMessage: Boolean = true, val maxCharactersLimit: Int = BACKEND_MAX_CHARACTERS_LIMIT, val enableAutoScroll: Boolean = true, val autoScrollOffset: Int = 1)
Content copied to clipboard
A class that encloses all configurable options for an Aircore Chat Panel.
Link copied to clipboard
data class ChatPanelStrings @JvmOverloads constructor( val joinButton: String? = null, val joiningButton: String? = null, val leaveButton: String? = null, val retryButton: String? = null, val emptyChatTitle: String? = null, val emptyChatJoinedSubtitle: String? = null, val emptyChatNotJoinedSubtitle: String? = null, val composerPlaceholder: String? = null, val joinButtonTooltip: String? = null, val usersActiveLabel: String? = null, val genericErrorLabel: String? = null)
Content copied to clipboard
Set of strings to be used in the Aircore chat panel.
Link copied to clipboard
Link copied to clipboard
data class ExpandedStateOptions @JvmOverloads constructor( val panelTitle: String? = null, val panelSubtitle: String? = null, val incomingMessage: ExpandedStateOptions.MessageOptions = MessageOptions(
horizontalAlignment = MessageOptions.HorizontalAlignment.Left,
showAvatar = true,
showUserName = true
), val outgoingMessage: ExpandedStateOptions.MessageOptions = MessageOptions(
horizontalAlignment = MessageOptions.HorizontalAlignment.Right,
showAvatar = false,
showUserName = false
), val maxAvatars: Int = 6, val joinButtonText: String? = null, val joiningButtonText: String? = null, leaveButtonText: String? = null, retryButtonText: String? = null, emptyChatTitleText: String? = null, emptyChatJoinedSubtitleText: String? = null, emptyChatNotJoinedSubtitleText: String? = null, privateChatTitleText: String? = null, privateChatSubtitleText: String? = null, composerPlaceholderText: String? = null, @DrawableRes collapseIcon: Int? = null, @DrawableRes shareIcon: Int? = null, @DrawableRes overflowMenuIcon: Int? = null, @DrawableRes leaveChatIcon: Int? = null)
Content copied to clipboard
Options for the panel's Expanded state.