-
public interface ChatComponentFactoryFactory for creating stateless components that are used by default throughout the Chat UI.
Example of a custom ChatComponentFactory implementation that changes the default UI of the trailing content of the channel list header element:
ChatTheme( componentFactory = object : ChatComponentFactory() { @Composable override fun RowScope.ChannelListHeaderTrailingContent( params: ChannelListHeaderTrailingContentParams, ) { IconButton(onClick = params.onHeaderActionClick) { Icon( imageVector = Icons.Default.Add, contentDescription = "Add", ) } } } ) { // Your Chat screens }ChatComponentFactory can also be extended in a separate class and passed to the ChatTheme as shown:
class MyChatComponentFactory : ChatComponentFactory { @Composable override fun RowScope.ChannelListHeaderTrailingContent( params: ChannelListHeaderTrailingContentParams, ) { IconButton(onClick = params.onHeaderActionClick) { Icon( imageVector = Icons.Default.Add, contentDescription = "Add", ) } } } ChatTheme( componentFactory = MyComponentFactory() ) { // Your Chat screens }
-
-
Method Summary
Modifier and Type Method Description UnitChannelListHeader(ChannelListHeaderParams params)The default header shown above the channel list. UnitChannelListHeaderLeadingContent(RowScope $self, ChannelListHeaderLeadingContentParams params)The default leading content of the channel list header. UnitChannelListHeaderCenterContent(RowScope $self, ChannelListHeaderCenterContentParams params)The default center content of the channel list header. UnitChannelListHeaderTrailingContent(RowScope $self, ChannelListHeaderTrailingContentParams params)The default trailing content of the channel list header. UnitChannelListLoadingIndicator(ChannelListLoadingIndicatorParams params)The default loading indicator of the channel list, when the initial data is loading. UnitChannelListBanner(ChannelListBannerParams params)The default channel list banner, pinned below the header when loading the next page of channels fails. UnitChannelListEmptyContent(ChannelListEmptyContentParams params)The default empty content of the channel list. UnitChannelListItemContent(LazyItemScope $self, ChannelListItemContentParams params)The default channel list item content. UnitChannelSwipeActions(ChannelSwipeActionsParams params)The swipe actions revealed when swiping a channel list item. UnitChannelListHelperContent(BoxScope $self, ChannelListHelperContentParams params)The default helper content of the channel list. UnitChannelListLoadingMoreItemContent(LazyItemScope $self, ChannelListLoadingMoreItemContentParams params)The default loading more item, when the next page of the channel list is loading. UnitChannelListDividerItem(LazyItemScope $self, ChannelListDividerItemParams params)The default divider between channel items. UnitChannelItemLeadingContent(RowScope $self, ChannelItemLeadingContentParams params)The default leading content of the channel item. UnitChannelItemCenterContent(RowScope $self, ChannelItemCenterContentParams params)The default center content of the channel item. UnitChannelItemTrailingContent(RowScope $self, ChannelItemTrailingContentParams params)The default trailing content of the channel item. UnitChannelItemUnreadCountIndicator(ChannelItemUnreadCountIndicatorParams params)The default unread count indicator in the channel item. UnitChannelItemReadStatusIndicator(ChannelItemReadStatusIndicatorParams params)The default read status indicator in the channel item, whether the last message is sent, pending or read. UnitChannelItemMessagePreview(ChannelItemMessagePreviewParams params)The default message preview in the channel item, showing the sender name and message content. UnitChannelItemDraftPreview(ChannelItemDraftPreviewParams params)The default draft message preview in the channel item, showing the "Draft:" label and draft text. UnitChannelListSearchInput(ChannelListSearchInputParams params)The default search input of the channel list. UnitSearchInputLeadingIcon(RowScope $self, SearchInputLeadingIconParams params)The default leading icon of the search input. UnitSearchInputLabel(SearchInputLabelParams params)The default label of the search input. UnitSearchInputClearButton(SearchInputClearButtonParams params)The default clear button of the search input. UnitChannelListEmptySearchContent(ChannelListEmptySearchContentParams params)The default empty search content of the channel list, when there are no matching search results. UnitSearchResultItemContent(LazyItemScope $self, SearchResultItemContentParams params)The default search result item of the channel list. UnitSearchResultItemLeadingContent(RowScope $self, SearchResultItemLeadingContentParams params)The default leading content of a search result item. UnitSearchResultItemCenterContent(RowScope $self, SearchResultItemCenterContentParams params)The default center content of a search result item. UnitSearchResultItemTrailingContent(RowScope $self, SearchResultItemTrailingContentParams params)The default trailing content of a search result item. UnitChannelHeader(ChannelHeaderParams params)The default header of the message list. UnitChannelHeaderLeadingContent(RowScope $self, ChannelHeaderLeadingContentParams params)The default leading content of the message list header, which is the back button. UnitChannelHeaderCenterContent(RowScope $self, ChannelHeaderCenterContentParams params)The default center content of the message list header. UnitChannelHeaderTrailingContent(RowScope $self, ChannelHeaderTrailingContentParams params)The default trailing content of the message list header, which is the channel avatar. UnitMessageListBackground(MessageListBackgroundParams params)The default background of the message list. UnitMessageListLoadingIndicator(MessageListLoadingIndicatorParams params)The default loading indicator of the message list, when the initial message list is loading. UnitMessageListEmptyContent(MessageListEmptyContentParams params)The default empty content of the message list, when the message list is empty. UnitMessageListHelperContent(BoxScope $self, MessageListHelperContentParams params)The default helper content of the message list. UnitScrollToBottomButton(ScrollToBottomButtonParams params)The default scroll-to-bottom button shown when the user scrolls away from the bottom of the list. UnitScrollToFirstUnreadButton(ScrollToFirstUnreadButtonParams params)The default scroll-to-first-unread pill shown at the top of the message list when there are unread messages and the first unread is outside the viewport. UnitMessageItem(LazyItemScope $self, MessageItemParams params)The default message item component, which renders each MessageListItemState's subtype. ModifiermessageListItemModifier(LazyItemScope $self, MessageListItemModifierParams params)The default message list item modifier for styling. UnitMessageListLoadingMoreItemContent(LazyItemScope $self, MessageListLoadingMoreItemContentParams params)The default loading more item of the message list, when the next page of messages is loading. UnitMessageListDateSeparatorItemContent(LazyItemScope $self, MessageListDateSeparatorItemContentParams params)The default date separator item content of the message list. UnitMessageListUnreadSeparatorItemContent(LazyItemScope $self, MessageListUnreadSeparatorItemContentParams params)The default unread separator item content of the message list. UnitMessageListThreadDateSeparatorItemContent(LazyItemScope $self, MessageListThreadDateSeparatorItemContentParams params)The default thread date separator item content of the message list. UnitMessageListSystemItemContent(LazyItemScope $self, MessageListSystemItemContentParams params)The default system message content of the message list. UnitMessageListModeratedItemContent(LazyItemScope $self, MessageListModeratedItemContentParams params)The default moderated message content of the message list. UnitMessageListTypingIndicatorItemContent(LazyItemScope $self, MessageListTypingIndicatorItemContentParams params)The default typing indicator content of the message list. UnitMessageListEmptyThreadPlaceholderItemContent(LazyItemScope $self, MessageListEmptyThreadPlaceholderItemContentParams params)The default empty thread placeholder item content of the message list. UnitMessageListStartOfTheChannelItemContent(LazyItemScope $self, MessageListStartOfTheChannelItemContentParams params)The default start of the channel item content of the message list. UnitMessageContainer(MessageContainerParams params)The default container for a regular message, which includes the author avatar, message bubble, and reactions. UnitMessageBubble(MessageBubbleParams params)The default appearance of the message bubble. UnitMessageFailedIcon(MessageFailedIconParams params)Icon shown at the bottom-end of a Message when it failed to send. UnitMessageTop(ColumnScope $self, MessageTopParams params)The default top content inside the message bubble. UnitMessageBottom(ColumnScope $self, MessageBottomParams params)The default bottom content inside the message bubble. UnitMessageAuthor(RowScope $self, MessageAuthorParams params)The default author content for a message. UnitMessageContent(MessageContentParams params)The default content of the message bubble. UnitMessageSpacer(RowScope $self, MessageSpacerParams params)The empty space in the message item opposite to the message bubble. UnitMessageReactions(MessageReactionsParams params)The component displaying the reactions on a message. UnitMessageGiphyContent(MessageGiphyContentParams params)The default Giphy message content. UnitMessageDeletedContent(MessageDeletedContentParams params)The default content of a deleted message. UnitMessageRegularContent(MessageRegularContentParams params)The default content of a regular message that can contain attachments and text. UnitMessageTextContent(MessageTextContentParams params)The default message text content. UnitMessageQuotedContent(MessageQuotedContentParams params)The default quoted message content. UnitMessageFooterUploadingContent(MessageFooterUploadingContentParams params)The message footer while uploading attachments. UnitMessageFooterContent(MessageFooterContentParams params)The default footer content. UnitMessageFooterStatusIndicator(MessageFooterStatusIndicatorParams params)The default message footer status indicator. UnitMessageComposer(MessageComposerParams params)The default message composer that contains the message input, attachments, commands, recording actions, integrations, and the send button. UnitMessageComposerLinkPreview(MessageComposerLinkPreviewParams params)Shows a preview of the link that the user has entered in the message composer. UnitMessageComposerUserSuggestionItem(MessageComposerUserSuggestionItemParams params)The default user suggestion item of the message composer. UnitMessageComposerSuggestionItem(MessageComposerSuggestionItemParams params)The default suggestion item of the message composer. UnitMessageComposerSuggestionItemLeadingContent(MessageComposerSuggestionItemLeadingContentParams params)The default leading content for a non-user Mention suggestion item. UnitMessageComposerSuggestionItemCenterContent(MessageComposerSuggestionItemCenterContentParams params)The default center content for a non-user Mention suggestion item. UnitMessageComposerSuggestionItemTrailingContent(MessageComposerSuggestionItemTrailingContentParams params)The default trailing content for a non-user Mention suggestion item. UnitMessageComposerUserSuggestionItemLeadingContent(MessageComposerUserSuggestionItemLeadingContentParams params)The default leading content of the user suggestion item of the message composer. UnitMessageComposerUserSuggestionItemCenterContent(MessageComposerUserSuggestionItemCenterContentParams params)The default center content of the user suggestion item of the message composer. UnitMessageComposerUserSuggestionItemTrailingContent(MessageComposerUserSuggestionItemTrailingContentParams params)The default trailing content of the user suggestion item of the message composer. UnitMessageComposerCommandSuggestionItem(MessageComposerCommandSuggestionItemParams params)The default command suggestion item of the message composer. UnitMessageComposerCommandSuggestionItemLeadingContent(MessageComposerCommandSuggestionItemLeadingContentParams params)The default leading content of the command suggestion item of the message composer. UnitMessageComposerCommandSuggestionItemCenterContent(MessageComposerCommandSuggestionItemCenterContentParams params)The default center content of the command suggestion item of the message composer. UnitMessageComposerLeadingContent(MessageComposerLeadingContentParams params)The default leading content of the message composer, which includes an add attachment button by default. UnitMessageComposerInput(MessageComposerInputParams params)The default input of the message composer. UnitMessageComposerQuotedMessage(MessageComposerQuotedMessageParams params)The default appearance of a quoted message in the message composer. UnitMessageComposerEditIndicator(MessageComposerEditIndicatorParams params)The edit indicator shown inside the composer's header when the user edits a message. UnitMessageComposerInputLeadingContent(MessageComposerInputLeadingContentParams params)The default leading content of the message composer input row. UnitMessageComposerInputCenterContent(MessageComposerInputCenterContentParams params)The default center content of the message composer input. UnitMessageComposerInputBottomContent(MessageComposerInputBottomContentParams params)The default bottom content of the message composer input. UnitMessageComposerInputTrailingContent(MessageComposerInputTrailingContentParams params)The default trailing content of the message composer. UnitMessageComposerTrailingContent(MessageComposerTrailingContentParams params)The default trailing content of the message composer. UnitMessageComposerCoolDownIndicator(MessageComposerCoolDownIndicatorParams params)The default cooldown indicator of the message composer. UnitMessageComposerSendButton(MessageComposerSendButtonParams params)The default "Send" button of the message composer. UnitMessageComposerSaveButton(MessageComposerSaveButtonParams params)The default "Save" button of the message composer, shown when editing a message. UnitMessageComposerAudioRecordingButton(MessageComposerAudioRecordingButtonParams params)The default "Audio recording (voice message)" button of the message composer. UnitMessageComposerAudioRecordingFloatingLockIcon(MessageComposerAudioRecordingFloatingLockIconParams params)The floating lock icon displayed above the recording content during RecordingState.Hold and RecordingState.Locked states. UnitMessageComposerAudioRecordingPermissionRationale(MessageComposerAudioRecordingPermissionRationaleParams params)The permission rationale displayed as a snackbar when the audio recording permission needs explanation. UnitMessageComposerAudioRecordingHoldContent(MessageComposerAudioRecordingHoldContentParams params)The content displayed in the message composer while the user is holding to record audio. UnitMessageComposerAudioRecordingLockedContent(MessageComposerAudioRecordingLockedContentParams params)The content displayed in the message composer when the recording is locked (finger released while recording continues). UnitMessageComposerAudioRecordingOverviewContent(MessageComposerAudioRecordingOverviewContentParams params)The content displayed in the message composer when the recording is stopped and the user can scrub the waveform and play back before sending. UnitMessageComposerAudioRecordingHint(MessageComposerAudioRecordingHintParams params)The "Hold to record" instructional hint displayed as a snackbar when the user taps the record button without holding. UnitMessageComposerSnackbar(MessageComposerSnackbarParams params)The snackbar shown above the message composer for validation errors and command-related events. UnitAvatar(AvatarParams params)The default avatar component that displays an image from a URL or falls back to a placeholder. UnitUserAvatar(UserAvatarParams params)The default user avatar content. UnitChannelAvatar(ChannelAvatarParams params)The default avatar for a channel. UnitChannelMenu(ChannelMenuParams params)Factory method for creating the channel actions sheet shown on channel long-press. UnitChannelMenuHeaderContent(ChannelMenuHeaderContentParams params)Factory method for creating the header content of the SelectedChannelMenu. UnitChannelMenuCenterContent(ChannelMenuCenterContentParams params)Factory method for creating the center content of the SelectedChannelMenu. UnitChannelMenuOptions(ChannelMenuOptionsParams params)Factory method for creating the options content of the SelectedChannelMenu. UnitChannelOptionsItem(ChannelOptionsItemParams params)Factory method for creating a single channel option item. UnitChannelOptionsItemLeadingIcon(ChannelOptionsItemLeadingIconParams params)Factory method for creating the leading icon of the Channel options menu item. UnitMessageActions(MessageActionsParams params)Factory method for creating the full content of the MessageActions overlay. UnitMessageActionsHeader(MessageActionsHeaderParams params)Factory method for creating the header content of the MessageActions overlay. UnitMessageActionsOptions(MessageActionsOptionsParams params)Shows the default message options. UnitMessageActionsOptionsItem(MessageActionsOptionsItemParams params)Factory method for creating an individual action item in the MessageActions overlay. UnitReactionIcon(ReactionIconParams params)Factory method for creating a reaction icon. UnitReactionToggle(ReactionToggleParams params)Factory method for creating a reaction toggle. UnitReactionsMenu(ReactionsMenuParams params)Factory method for creating the menu displaying all the reactions on a message. UnitReactionsMenuContent(ReactionsMenuContentParams params)Factory method for creating the content of the reactions menu. UnitReactionMenuOptionItem(ReactionMenuOptionItemParams params)Factory method for creating a single reaction option item in the reactions menu. UnitMessageReactionPicker(MessageReactionPickerParams params)Factory method for creating the reaction picker bottom sheet. UnitMessageReactionsPickerContent(MessageReactionsPickerContentParams params)Factory method for creating the content of the reaction picker bottom sheet. UnitMenuOptionItem(MenuOptionItemParams params)Factory method for creating a generic menu option item. UnitThreadListHeader(ThreadListHeaderParams params)The default header shown above the thread list. UnitThreadListBanner(ThreadListBannerParams params)The default thread list banner. UnitThreadListItem(ThreadListItemParams params)The default thread list item. UnitThreadListEmptyContent(ThreadListEmptyContentParams params)The default empty placeholder that is displayed when there are no threads. UnitThreadListLoadingContent(ThreadListLoadingContentParams params)The default loading content that is displayed during the initial loading of the threads. UnitThreadListLoadingMoreContent(ThreadListLoadingMoreContentParams params)The default content shown on the bottom of the list during the loading of more threads. UnitPinnedMessageListItem(PinnedMessageListItemParams params)The default content of the pinned message list item. UnitPinnedMessageListItemLeadingContent(RowScope $self, PinnedMessageListItemLeadingContentParams params)The default leading content of the pinned message list item. UnitPinnedMessageListItemCenterContent(RowScope $self, PinnedMessageListItemCenterContentParams params)The default center content of the pinned message list item. UnitPinnedMessageListItemTrailingContent(RowScope $self, PinnedMessageListItemTrailingContentParams params)The default trailing content of the pinned message list item. UnitPinnedMessageListItemDivider(PinnedMessageListItemDividerParams params)The default divider appended after each pinned message. UnitPinnedMessageListEmptyContent(PinnedMessageListEmptyContentParams params)The default empty placeholder that is displayed when there are no pinned messages. UnitPinnedMessageListLoadingContent(PinnedMessageListLoadingContentParams params)The default loading content that is displayed during the initial loading of the pinned messages. UnitPinnedMessageListLoadingMoreContent(PinnedMessageListLoadingMoreContentParams params)The default content shown on the bottom of the list during the loading of more pinned messages. UnitSwipeToReplyContent(RowScope $self, SwipeToReplyContentParams params)The default content shown when swiping to reply to a message. UnitMentionListItem(LazyItemScope $self, MentionListItemParams params)The default content of a mention list item. UnitMentionListLoadingIndicator(BoxScope $self, MentionListLoadingIndicatorParams params)The default loading indicator that is displayed during the initial loading of the mention list. UnitMentionListEmptyContent(BoxScope $self, MentionListEmptyContentParams params)The default empty placeholder that is displayed when the mention list is empty. UnitMentionListLoadingItem(LazyItemScope $self, MentionListLoadingItemParams params)The default loading indicator that is displayed on the bottom of the list when there are more mentions loading. UnitMentionListPullToRefreshIndicator(BoxScope $self, MentionListPullToRefreshIndicatorParams params)The default pull-to-refresh indicator for the mention list. UnitMessageComposerAttachments(MessageComposerAttachmentsParams params)Renders all selected attachments in the message composer as a single horizontal scrolling row. UnitMessageComposerAttachmentAudioRecordItem(MessageComposerAttachmentAudioRecordItemParams params)Renders a single audio recording attachment item in the message composer tray. UnitMessageComposerAttachmentMediaItem(MessageComposerAttachmentMediaItemParams params)Renders a single media (image or video) attachment item in the message composer tray. UnitMessageComposerAttachmentFileItem(MessageComposerAttachmentFileItemParams params)Renders a single generic file attachment item in the message composer tray. UnitAudioRecordAttachmentContent(AudioRecordAttachmentContentParams params)Factory method for creating the content of audio recording attachments in a message. UnitAudioAttachmentItem(AudioAttachmentItemParams params)Factory method for creating a single regular audio file attachment item, rendered with an inline player. UnitFileAttachmentContent(FileAttachmentContentParams params)Factory method for creating the content of file attachments in a message. UnitGiphyAttachmentContent(GiphyAttachmentContentParams params)Factory method for creating the content of Giphy attachments in a message. UnitLinkAttachmentContent(LinkAttachmentContentParams params)Factory method for creating the content of link attachments in a message. UnitMediaAttachmentContent(MediaAttachmentContentParams params)Factory method for creating the content of media attachments in a message. UnitCustomAttachmentContent(CustomAttachmentContentParams params)Factory method for creating the content of custom attachments in a message. UnitFileAttachmentItem(FileAttachmentItemParams params)Factory method for creating a file attachment item. UnitDirectChannelInfoTopBar(DirectChannelInfoTopBarParams params)Factory method for creating the top bar of the channel info screen. UnitDirectChannelInfoAvatarContainer(DirectChannelInfoAvatarContainerParams params)Factory method for creating the avatar container in the direct channel info screen. UnitGroupChannelInfoAvatarContainer(GroupChannelInfoAvatarContainerParams params)Factory method for creating the avatar container in the group channel info screen. UnitGroupChannelInfoMemberSection(GroupChannelInfoMemberSectionParams params)Factory method for creating the member section card in the group channel info screen. UnitGroupChannelInfoTopBar(GroupChannelInfoTopBarParams params)Factory method for creating the top bar of the group channel info screen. UnitGroupChannelInfoAddMembersButton(GroupChannelInfoAddMembersButtonParams params)Factory method for creating the "Add members" button of the group channel info screen. UnitChannelInfoSeparatorItem(LazyItemScope $self, ChannelInfoSeparatorItemParams params)Factory method for creating the channel info separator item. UnitChannelInfoOptionItem(ChannelInfoOptionItemParams params)Factory method for creating the channel info option item used in direct and group channel info screens. UnitGroupChannelInfoMemberItem(GroupChannelInfoMemberItemParams params)Factory method for creating the member item in the group channel info screen. UnitGroupChannelInfoMemberLeadingContent(GroupChannelInfoMemberLeadingContentParams params)Factory method for creating the leading content (avatar) of a member row in the group channel info screen. UnitGroupChannelInfoMemberCenterContent(GroupChannelInfoMemberCenterContentParams params)Factory method for creating the center content (name, last seen and mute icon) of a member row in the group channel info screen. UnitGroupChannelInfoMemberTrailingContent(GroupChannelInfoMemberTrailingContentParams params)Factory method for creating the trailing content (role label) of a member row in the group channel info screen. UnitGroupChannelInfoExpandMembersItem(GroupChannelInfoExpandMembersItemParams params)Factory method for creating the expand members item in the group channel info screen. UnitChannelInfoScreenModal(ChannelInfoScreenModalParams params)Factory method for creating the channel info screen modal. UnitChannelInfoMemberInfoModalSheetTopBar(ChannelInfoMemberInfoModalSheetTopBarParams params)Factory method for creating the top bar of the member info modal sheet in the group channel info screen. UnitChannelInfoMemberOptionItem(ChannelInfoMemberOptionItemParams params)Factory method for creating a single member option item. UnitChannelFilesAttachmentsTopBar(ChannelFilesAttachmentsTopBarParams params)Factory method for creating the top bar of the channel files attachments screen. UnitChannelFilesAttachmentsLoadingIndicator(ChannelFilesAttachmentsLoadingIndicatorParams params)Factory method for creating the loading indicator of the channel files attachments screen. UnitChannelFilesAttachmentsEmptyContent(BoxScope $self, ChannelFilesAttachmentsEmptyContentParams params)Factory method for creating the empty content of the channel files attachments screen. UnitChannelFilesAttachmentsErrorContent(BoxScope $self, ChannelFilesAttachmentsErrorContentParams params)The default error content of the channel files attachments screen. UnitChannelFilesAttachmentsHeaderItem(LazyItemScope $self, ChannelFilesAttachmentsHeaderItemParams params)Factory method for creating the channel files attachments header item. UnitChannelFilesAttachmentsItem(LazyItemScope $self, ChannelFilesAttachmentsItemParams params)Factory method for creating the channel files attachments item. UnitChannelFilesAttachmentsItemDivider(LazyItemScope $self, ChannelFilesAttachmentsItemDividerParams params)Factory method for creating a divider between channel files attachments items. UnitChannelFilesAttachmentsLoadingItem(LazyItemScope $self, ChannelFilesAttachmentsLoadingItemParams params)Factory method for creating the loading item in the channel files attachments list. UnitChannelMediaAttachmentsTopBar(ChannelMediaAttachmentsTopBarParams params)Factory method for creating the top bar of the channel media attachments screen. UnitChannelMediaAttachmentsLoadingIndicator(ChannelMediaAttachmentsLoadingIndicatorParams params)Factory method for creating the loading indicator of the channel media attachments screen. UnitChannelMediaAttachmentsEmptyContent(BoxScope $self, ChannelMediaAttachmentsEmptyContentParams params)Factory method for creating the empty content of the channel media attachments screen. UnitChannelMediaAttachmentsErrorContent(BoxScope $self, ChannelMediaAttachmentsErrorContentParams params)The default error content of the channel media attachments screen. UnitChannelMediaAttachmentsFloatingHeader(BoxScope $self, ChannelMediaAttachmentsFloatingHeaderParams params)Factory method for creating the channel media attachments floating header. UnitChannelMediaAttachmentsItem(LazyGridItemScope $self, ChannelMediaAttachmentsItemParams params)Factory method for creating the channel media attachments item. UnitChannelMediaAttachmentsLoadingItem(LazyGridItemScope $self, ChannelMediaAttachmentsLoadingItemParams params)Factory method for creating the loading item in the channel media attachments list. UnitChannelMediaAttachmentsPreviewTopBar(ChannelMediaAttachmentsPreviewTopBarParams params)Factory method for creating the top bar of the channel media attachments preview screen. UnitChannelMediaAttachmentsPreviewTopBarTitle(ChannelMediaAttachmentsPreviewTopBarTitleParams params)Factory method for creating the title of the channel media attachments preview top bar. UnitChannelMediaAttachmentsPreviewBottomBar(ChannelMediaAttachmentsPreviewBottomBarParams params)Factory method for creating the bottom bar of the channel media attachments preview screen. UnitAttachmentPickerMenu(AttachmentPickerMenuParams params)Container component that manages the attachment picker's visibility and animations. UnitAttachmentPicker(AttachmentPickerParams params)Main attachment picker component with mode tabs and content area. UnitAttachmentTypePicker(AttachmentTypePickerParams params)Tab bar for the in-app attachment picker showing toggle buttons for each mode. UnitAttachmentTypeSystemPicker(AttachmentTypeSystemPickerParams params)Button bar for the system attachment picker showing action buttons for each mode. UnitAttachmentPickerContent(AttachmentPickerContentParams params)Content router that displays the appropriate picker UI based on the current mode. UnitAttachmentMediaPicker(AttachmentMediaPickerParams params)Grid picker for selecting images and videos from device storage. UnitAttachmentCameraPicker(AttachmentCameraPickerParams params)Camera capture interface for taking photos or recording videos. UnitAttachmentFilePicker(AttachmentFilePickerParams params)List picker for selecting files from device storage. UnitAttachmentPollPicker(AttachmentPollPickerParams params)Poll creation entry point in the attachment picker. UnitAttachmentCommandPicker(AttachmentCommandPickerParams params)Slash command picker showing available commands. UnitAttachmentSystemPicker(AttachmentSystemPickerParams params)System picker variant that uses native OS pickers instead of in-app UI. -
-
Method Detail
-
ChannelListHeader
@Composable() Unit ChannelListHeader(ChannelListHeaderParams params)
The default header shown above the channel list. Usually contains the current user's avatar, a title or the connected status, and an action button.
- Parameters:
params- Parameters for this component.
-
ChannelListHeaderLeadingContent
@Composable() Unit ChannelListHeaderLeadingContent(RowScope $self, ChannelListHeaderLeadingContentParams params)
The default leading content of the channel list header. Usually the avatar of the current user if it's available.
- Parameters:
params- Parameters for this component.
-
ChannelListHeaderCenterContent
@Composable() Unit ChannelListHeaderCenterContent(RowScope $self, ChannelListHeaderCenterContentParams params)
The default center content of the channel list header. Usually shows the title if connectionState is ConnectionState.Connected, a
Disconnectedtext if connectionState is offline, or NetworkLoadingIndicator otherwise.- Parameters:
params- Parameters for this component.
-
ChannelListHeaderTrailingContent
@Composable() Unit ChannelListHeaderTrailingContent(RowScope $self, ChannelListHeaderTrailingContentParams params)
The default trailing content of the channel list header. Usually an action button.
- Parameters:
params- Parameters for this component.
-
ChannelListLoadingIndicator
@Composable() Unit ChannelListLoadingIndicator(ChannelListLoadingIndicatorParams params)
The default loading indicator of the channel list, when the initial data is loading.
- Parameters:
params- Parameters for this component.
-
ChannelListBanner
@Composable() Unit ChannelListBanner(ChannelListBannerParams params)
The default channel list banner, pinned below the header when loading the next page of channels fails. Shows a "Tap to retry" prompt and retries the failed load when tapped.
- Parameters:
params- Parameters for this component.
-
ChannelListEmptyContent
@Composable() Unit ChannelListEmptyContent(ChannelListEmptyContentParams params)
The default empty content of the channel list.
- Parameters:
params- Parameters for this component.
-
ChannelListItemContent
@Composable() Unit ChannelListItemContent(LazyItemScope $self, ChannelListItemContentParams params)
The default channel list item content. When swipe actions are enabled and a SwipeRevealCoordinator is provided, wraps the item in SwipeableChannelItem.
- Parameters:
params- Parameters for this component.
-
ChannelSwipeActions
@Composable() Unit ChannelSwipeActions(ChannelSwipeActionsParams params)
The swipe actions revealed when swiping a channel list item. Override this to provide custom swipe actions.
- Parameters:
params- Parameters for this component.
-
ChannelListHelperContent
@Composable() Unit ChannelListHelperContent(BoxScope $self, ChannelListHelperContentParams params)
The default helper content of the channel list. It's empty by default and can be used to implement a scroll to top feature.
- Parameters:
params- Parameters for this component.
-
ChannelListLoadingMoreItemContent
@Composable() Unit ChannelListLoadingMoreItemContent(LazyItemScope $self, ChannelListLoadingMoreItemContentParams params)
The default loading more item, when the next page of the channel list is loading.
- Parameters:
params- Parameters for this component.
-
ChannelListDividerItem
@Composable() Unit ChannelListDividerItem(LazyItemScope $self, ChannelListDividerItemParams params)
The default divider between channel items.
- Parameters:
params- Parameters for this component.
-
ChannelItemLeadingContent
@Composable() Unit ChannelItemLeadingContent(RowScope $self, ChannelItemLeadingContentParams params)
The default leading content of the channel item. Usually the avatar that holds an image of the channel or its members.
- Parameters:
params- Parameters for this component.
-
ChannelItemCenterContent
@Composable() Unit ChannelItemCenterContent(RowScope $self, ChannelItemCenterContentParams params)
The default center content of the channel item. Usually the name of the channel and the last message.
- Parameters:
params- Parameters for this component.
-
ChannelItemTrailingContent
@Composable() Unit ChannelItemTrailingContent(RowScope $self, ChannelItemTrailingContentParams params)
The default trailing content of the channel item. Usually information about the last message such as its read state, timestamp, and the number of unread messages.
- Parameters:
params- Parameters for this component.
-
ChannelItemUnreadCountIndicator
@Composable() Unit ChannelItemUnreadCountIndicator(ChannelItemUnreadCountIndicatorParams params)
The default unread count indicator in the channel item.
- Parameters:
params- Parameters for this component.
-
ChannelItemReadStatusIndicator
@Composable() Unit ChannelItemReadStatusIndicator(ChannelItemReadStatusIndicatorParams params)
The default read status indicator in the channel item, whether the last message is sent, pending or read.
- Parameters:
params- Parameters for this component.
-
ChannelItemMessagePreview
@Composable() Unit ChannelItemMessagePreview(ChannelItemMessagePreviewParams params)
The default message preview in the channel item, showing the sender name and message content.
- Parameters:
params- Parameters for this component.
-
ChannelItemDraftPreview
@Composable() Unit ChannelItemDraftPreview(ChannelItemDraftPreviewParams params)
The default draft message preview in the channel item, showing the "Draft:" label and draft text.
- Parameters:
params- Parameters for this component.
-
ChannelListSearchInput
@Composable() Unit ChannelListSearchInput(ChannelListSearchInputParams params)
The default search input of the channel list.
- Parameters:
params- Parameters for this component.
-
SearchInputLeadingIcon
@Composable() Unit SearchInputLeadingIcon(RowScope $self, SearchInputLeadingIconParams params)
The default leading icon of the search input.
Used by ChannelListSearchInput.
- Parameters:
params- Parameters for this component.
-
SearchInputLabel
@Composable() Unit SearchInputLabel(SearchInputLabelParams params)
The default label of the search input.
Used by ChannelListSearchInput.
- Parameters:
params- Parameters for this component.
-
SearchInputClearButton
@Composable() Unit SearchInputClearButton(SearchInputClearButtonParams params)
The default clear button of the search input.
Used by ChannelListSearchInput.
- Parameters:
params- Parameters for this component.
-
ChannelListEmptySearchContent
@Composable() Unit ChannelListEmptySearchContent(ChannelListEmptySearchContentParams params)
The default empty search content of the channel list, when there are no matching search results.
- Parameters:
params- Parameters for this component.
-
SearchResultItemContent
@Composable() Unit SearchResultItemContent(LazyItemScope $self, SearchResultItemContentParams params)
The default search result item of the channel list.
- Parameters:
params- Parameters for this component.
-
SearchResultItemLeadingContent
@Composable() Unit SearchResultItemLeadingContent(RowScope $self, SearchResultItemLeadingContentParams params)
The default leading content of a search result item. Shows the avatar of the user who sent the message.
Used by SearchResultItemContent.
- Parameters:
params- Parameters for this component.
-
SearchResultItemCenterContent
@Composable() Unit SearchResultItemCenterContent(RowScope $self, SearchResultItemCenterContentParams params)
The default center content of a search result item. Shows information about the message and by who and where it was sent.
Used by SearchResultItemContent.
- Parameters:
params- Parameters for this component.
-
SearchResultItemTrailingContent
@Composable() Unit SearchResultItemTrailingContent(RowScope $self, SearchResultItemTrailingContentParams params)
The default trailing content of a search result item. Shows the message timestamp.
Used by SearchResultItemContent.
- Parameters:
params- Parameters for this component.
-
ChannelHeader
@Composable() Unit ChannelHeader(ChannelHeaderParams params)
The default header of the message list. Usually a back button as a leading content, the channel title in the top center, the channel information or the connection status in the bottom center, and the channel avatar as the trailing content.
- Parameters:
params- Parameters for this component.
-
ChannelHeaderLeadingContent
@Composable() Unit ChannelHeaderLeadingContent(RowScope $self, ChannelHeaderLeadingContentParams params)
The default leading content of the message list header, which is the back button.
- Parameters:
params- Parameters for this component.
-
ChannelHeaderCenterContent
@Composable() Unit ChannelHeaderCenterContent(RowScope $self, ChannelHeaderCenterContentParams params)
The default center content of the message list header. Usually shows the channel title in the top and the channel information or the connection status in the bottom.
- Parameters:
params- Parameters for this component.
-
ChannelHeaderTrailingContent
@Composable() Unit ChannelHeaderTrailingContent(RowScope $self, ChannelHeaderTrailingContentParams params)
The default trailing content of the message list header, which is the channel avatar.
- Parameters:
params- Parameters for this component.
-
MessageListBackground
@Composable() Unit MessageListBackground(MessageListBackgroundParams params)
The default background of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListLoadingIndicator
@Composable() Unit MessageListLoadingIndicator(MessageListLoadingIndicatorParams params)
The default loading indicator of the message list, when the initial message list is loading.
- Parameters:
params- Parameters for this component.
-
MessageListEmptyContent
@Composable() Unit MessageListEmptyContent(MessageListEmptyContentParams params)
The default empty content of the message list, when the message list is empty.
- Parameters:
params- Parameters for this component.
-
MessageListHelperContent
@Composable() Unit MessageListHelperContent(BoxScope $self, MessageListHelperContentParams params)
The default helper content of the message list. It handles the scroll-to-bottom and scroll-to-focused message features.
- Parameters:
params- Parameters for this component.
-
ScrollToBottomButton
@Composable() Unit ScrollToBottomButton(ScrollToBottomButtonParams params)
The default scroll-to-bottom button shown when the user scrolls away from the bottom of the list.
- Parameters:
params- Parameters for this component.
-
ScrollToFirstUnreadButton
@Composable() Unit ScrollToFirstUnreadButton(ScrollToFirstUnreadButtonParams params)
The default scroll-to-first-unread pill shown at the top of the message list when there are unread messages and the first unread is outside the viewport.
- Parameters:
params- Parameters for this component.
-
MessageItem
@Composable() Unit MessageItem(LazyItemScope $self, MessageItemParams params)
The default message item component, which renders each MessageListItemState's subtype. This includes date separators, system messages, and regular messages.
- Parameters:
params- Parameters for this component.
-
messageListItemModifier
@Composable() Modifier messageListItemModifier(LazyItemScope $self, MessageListItemModifierParams params)
The default message list item modifier for styling.
Uses
Modifier.animateItemfor fade in/out and placement transitions. The placement animation is disabled while the IME is animating so items don't slide during the keyboard open/close window; it resumes for normal list changes (insertions, deletions, height changes).- Parameters:
params- Parameters for this component.
-
MessageListLoadingMoreItemContent
@Composable() Unit MessageListLoadingMoreItemContent(LazyItemScope $self, MessageListLoadingMoreItemContentParams params)
The default loading more item of the message list, when the next page of messages is loading.
- Parameters:
params- Parameters for this component.
-
MessageListDateSeparatorItemContent
@Composable() Unit MessageListDateSeparatorItemContent(LazyItemScope $self, MessageListDateSeparatorItemContentParams params)
The default date separator item content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListUnreadSeparatorItemContent
@Composable() Unit MessageListUnreadSeparatorItemContent(LazyItemScope $self, MessageListUnreadSeparatorItemContentParams params)
The default unread separator item content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListThreadDateSeparatorItemContent
@Composable() Unit MessageListThreadDateSeparatorItemContent(LazyItemScope $self, MessageListThreadDateSeparatorItemContentParams params)
The default thread date separator item content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListSystemItemContent
@Composable() Unit MessageListSystemItemContent(LazyItemScope $self, MessageListSystemItemContentParams params)
The default system message content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListModeratedItemContent
@Composable() Unit MessageListModeratedItemContent(LazyItemScope $self, MessageListModeratedItemContentParams params)
The default moderated message content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListTypingIndicatorItemContent
@Composable() Unit MessageListTypingIndicatorItemContent(LazyItemScope $self, MessageListTypingIndicatorItemContentParams params)
The default typing indicator content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListEmptyThreadPlaceholderItemContent
@Composable() Unit MessageListEmptyThreadPlaceholderItemContent(LazyItemScope $self, MessageListEmptyThreadPlaceholderItemContentParams params)
The default empty thread placeholder item content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageListStartOfTheChannelItemContent
@Composable() Unit MessageListStartOfTheChannelItemContent(LazyItemScope $self, MessageListStartOfTheChannelItemContentParams params)
The default start of the channel item content of the message list.
- Parameters:
params- Parameters for this component.
-
MessageContainer
@Composable() Unit MessageContainer(MessageContainerParams params)
The default container for a regular message, which includes the author avatar, message bubble, and reactions.
- Parameters:
params- Parameters for this component.
-
MessageBubble
@Composable() Unit MessageBubble(MessageBubbleParams params)
The default appearance of the message bubble.
- Parameters:
params- Parameters for this component.
-
MessageFailedIcon
@Composable() Unit MessageFailedIcon(MessageFailedIconParams params)
Icon shown at the bottom-end of a Message when it failed to send.
- Parameters:
params- Parameters for this component.
-
MessageTop
@Composable() Unit MessageTop(ColumnScope $self, MessageTopParams params)
The default top content inside the message bubble. Usually shows pinned indicator and thread labels.
- Parameters:
params- Parameters for this component.
-
MessageBottom
@Composable() Unit MessageBottom(ColumnScope $self, MessageBottomParams params)
The default bottom content inside the message bubble. Usually shows timestamp and delivery status.
- Parameters:
params- Parameters for this component.
-
MessageAuthor
@Composable() Unit MessageAuthor(RowScope $self, MessageAuthorParams params)
The default author content for a message. Usually shows the avatar of the user if the message doesn't belong to the current user.
- Parameters:
params- Parameters for this component.
-
MessageContent
@Composable() Unit MessageContent(MessageContentParams params)
The default content of the message bubble. Usually contains attachments and text.
- Parameters:
params- Parameters for this component.
-
MessageSpacer
@Composable() Unit MessageSpacer(RowScope $self, MessageSpacerParams params)
The empty space in the message item opposite to the message bubble. For example, for outgoing messages, by default the spacer is placed before the bubble.
- Parameters:
params- Parameters for this component.
-
MessageReactions
@Composable() Unit MessageReactions(MessageReactionsParams params)
The component displaying the reactions on a message. Defaults to SegmentedMessageReactions, but an equivalent implementation with a different visual style is available through ClusteredMessageReactions.
- Parameters:
params- Parameters for this component.
-
MessageGiphyContent
@Composable() Unit MessageGiphyContent(MessageGiphyContentParams params)
The default Giphy message content.
- Parameters:
params- Parameters for this component.
-
MessageDeletedContent
@Composable() Unit MessageDeletedContent(MessageDeletedContentParams params)
The default content of a deleted message.
- Parameters:
params- Parameters for this component.
-
MessageRegularContent
@Composable() Unit MessageRegularContent(MessageRegularContentParams params)
The default content of a regular message that can contain attachments and text.
- Parameters:
params- Parameters for this component.
-
MessageTextContent
@Composable() Unit MessageTextContent(MessageTextContentParams params)
The default message text content. Usually with extra styling and padding for the chat bubble.
- Parameters:
params- Parameters for this component.
-
MessageQuotedContent
@Composable() Unit MessageQuotedContent(MessageQuotedContentParams params)
The default quoted message content. Usually shows only the sender avatar, text and a single attachment preview.
- Parameters:
params- Parameters for this component.
-
MessageFooterUploadingContent
@Composable() Unit MessageFooterUploadingContent(MessageFooterUploadingContentParams params)
The message footer while uploading attachments. Empty by default.
- Parameters:
params- Parameters for this component.
-
MessageFooterContent
@Composable() Unit MessageFooterContent(MessageFooterContentParams params)
The default footer content. Usually contains either MessageThreadFooter or the default footer, which holds the sender name and the timestamp.
- Parameters:
params- Parameters for this component.
-
MessageFooterStatusIndicator
@Composable() Unit MessageFooterStatusIndicator(MessageFooterStatusIndicatorParams params)
The default message footer status indicator. Displays the delivery or read status icon of a message.
- Parameters:
params- Parameters for this component.
-
MessageComposer
@Composable() Unit MessageComposer(MessageComposerParams params)
The default message composer that contains the message input, attachments, commands, recording actions, integrations, and the send button.
- Parameters:
params- Parameters for this component.
-
MessageComposerLinkPreview
@Composable() Unit MessageComposerLinkPreview(MessageComposerLinkPreviewParams params)
Shows a preview of the link that the user has entered in the message composer. Shows the link image preview, the title of the link and its description.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerUserSuggestionItem
@Deprecated(message = Override MessageComposerSuggestionItem, which handles every Mention type, not only user mentions., replaceWith = @ReplaceWith(imports = {}, expression = MessageComposerSuggestionItem), level = DeprecationLevel.WARNING)@Composable() Unit MessageComposerUserSuggestionItem(MessageComposerUserSuggestionItemParams params)
The default user suggestion item of the message composer.
- Parameters:
params- Parameters for this component.
-
MessageComposerSuggestionItem
@Composable() Unit MessageComposerSuggestionItem(MessageComposerSuggestionItemParams params)
The default suggestion item of the message composer. Handles every Mention type. User mentions delegate to MessageComposerUserSuggestionItem for backward compatibility.
- Parameters:
params- Parameters for this component.
-
MessageComposerSuggestionItemLeadingContent
@Composable() Unit MessageComposerSuggestionItemLeadingContent(MessageComposerSuggestionItemLeadingContentParams params)
The default leading content for a non-user Mention suggestion item. Renders a placeholder icon; override to swap in mention-type-specific drawables.
Used as part of MessageComposerSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerSuggestionItemCenterContent
@Composable() Unit MessageComposerSuggestionItemCenterContent(MessageComposerSuggestionItemCenterContentParams params)
The default center content for a non-user Mention suggestion item. Renders
@<display>.Used as part of MessageComposerSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerSuggestionItemTrailingContent
@Composable() Unit MessageComposerSuggestionItemTrailingContent(MessageComposerSuggestionItemTrailingContentParams params)
The default trailing content for a non-user Mention suggestion item. Empty by default; override to add a trailing element.
Used as part of MessageComposerSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerUserSuggestionItemLeadingContent
@Deprecated(message = Override MessageComposerSuggestionItemLeadingContent, which handles every Mention type., replaceWith = @ReplaceWith(imports = {}, expression = MessageComposerSuggestionItemLeadingContent), level = DeprecationLevel.WARNING)@Composable() Unit MessageComposerUserSuggestionItemLeadingContent(MessageComposerUserSuggestionItemLeadingContentParams params)
The default leading content of the user suggestion item of the message composer.
Used as part of MessageComposerUserSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerUserSuggestionItemCenterContent
@Deprecated(message = Override MessageComposerSuggestionItemCenterContent, which handles every Mention type., replaceWith = @ReplaceWith(imports = {}, expression = MessageComposerSuggestionItemCenterContent), level = DeprecationLevel.WARNING)@Composable() Unit MessageComposerUserSuggestionItemCenterContent(MessageComposerUserSuggestionItemCenterContentParams params)
The default center content of the user suggestion item of the message composer.
Used as part of MessageComposerUserSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerUserSuggestionItemTrailingContent
@Deprecated(message = Override MessageComposerSuggestionItemTrailingContent, which handles every Mention type., replaceWith = @ReplaceWith(imports = {}, expression = MessageComposerSuggestionItemTrailingContent), level = DeprecationLevel.WARNING)@Composable() Unit MessageComposerUserSuggestionItemTrailingContent(MessageComposerUserSuggestionItemTrailingContentParams params)
The default trailing content of the user suggestion item of the message composer.
Used as part of MessageComposerUserSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerCommandSuggestionItem
@Composable() Unit MessageComposerCommandSuggestionItem(MessageComposerCommandSuggestionItemParams params)
The default command suggestion item of the message composer.
Used in io.getstream.chat.android.compose.ui.messages.composer.internal.suggestions.CommandSuggestionList.
- Parameters:
params- Parameters for this component.
-
MessageComposerCommandSuggestionItemLeadingContent
@Composable() Unit MessageComposerCommandSuggestionItemLeadingContent(MessageComposerCommandSuggestionItemLeadingContentParams params)
The default leading content of the command suggestion item of the message composer.
Used as part of MessageComposerCommandSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerCommandSuggestionItemCenterContent
@Composable() Unit MessageComposerCommandSuggestionItemCenterContent(MessageComposerCommandSuggestionItemCenterContentParams params)
The default center content of the command suggestion item of the message composer.
Used as part of MessageComposerCommandSuggestionItem.
- Parameters:
params- Parameters for this component.
-
MessageComposerLeadingContent
@Composable() Unit MessageComposerLeadingContent(MessageComposerLeadingContentParams params)
The default leading content of the message composer, which includes an add attachment button by default.
- Parameters:
params- Parameters for this component.
-
MessageComposerInput
@Composable() Unit MessageComposerInput(MessageComposerInputParams params)
The default input of the message composer.
- Parameters:
params- Parameters for this component.
-
MessageComposerQuotedMessage
@Composable() Unit MessageComposerQuotedMessage(MessageComposerQuotedMessageParams params)
The default appearance of a quoted message in the message composer. Shown when the user quotes (replies to) a message in the composer.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerEditIndicator
@Composable() Unit MessageComposerEditIndicator(MessageComposerEditIndicatorParams params)
The edit indicator shown inside the composer's header when the user edits a message. Previews the original message text and attachment type.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerInputLeadingContent
@Composable() Unit MessageComposerInputLeadingContent(MessageComposerInputLeadingContentParams params)
The default leading content of the message composer input row. Shown at the start of the composer input, before the text field. When a command is active, renders a CommandChip.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerInputCenterContent
@Composable() Unit MessageComposerInputCenterContent(MessageComposerInputCenterContentParams params)
The default center content of the message composer input. Contains the text input field (BasicTextField) with label overlay.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerInputBottomContent
@Composable() Unit MessageComposerInputBottomContent(MessageComposerInputBottomContentParams params)
The default bottom content of the message composer input. Shown at the bottom of the composer input, below the text field.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerInputTrailingContent
@Composable() Unit MessageComposerInputTrailingContent(MessageComposerInputTrailingContentParams params)
The default trailing content of the message composer. Shown at the end of the composer input.
Used as part of MessageComposerInput.
- Parameters:
params- Parameters for this component.
-
MessageComposerTrailingContent
@Composable() Unit MessageComposerTrailingContent(MessageComposerTrailingContentParams params)
The default trailing content of the message composer. Shown after the composer input.
Used as part of MessageComposer.
- Parameters:
params- Parameters for this component.
-
MessageComposerCoolDownIndicator
@Composable() Unit MessageComposerCoolDownIndicator(MessageComposerCoolDownIndicatorParams params)
The default cooldown indicator of the message composer. Shown when the user is prevented from sending messages due to a cooldown.
Used as part of MessageComposerTrailingContent.
- Parameters:
params- Parameters for this component.
-
MessageComposerSendButton
@Composable() Unit MessageComposerSendButton(MessageComposerSendButtonParams params)
The default "Send" button of the message composer.
Used as part of MessageComposerTrailingContent.
- Parameters:
params- Parameters for this component.
-
MessageComposerSaveButton
@Composable() Unit MessageComposerSaveButton(MessageComposerSaveButtonParams params)
The default "Save" button of the message composer, shown when editing a message. Displays a checkmark icon in a filled circular button.
Used as part of MessageComposerTrailingContent.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingButton
@Composable() Unit MessageComposerAudioRecordingButton(MessageComposerAudioRecordingButtonParams params)
The default "Audio recording (voice message)" button of the message composer.
Used as part of MessageComposerTrailingContent.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingFloatingLockIcon
@Composable() Unit MessageComposerAudioRecordingFloatingLockIcon(MessageComposerAudioRecordingFloatingLockIconParams params)
The floating lock icon displayed above the recording content during RecordingState.Hold and RecordingState.Locked states.
Shows an open lock with a chevron while dragging, and a closed lock once locked. The icon follows the vertical drag offset during Hold.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingPermissionRationale
@Composable() Unit MessageComposerAudioRecordingPermissionRationale(MessageComposerAudioRecordingPermissionRationaleParams params)
The permission rationale displayed as a snackbar when the audio recording permission needs explanation. Shows a message and a "Settings" action button.
Override this method to provide a custom permission rationale UI.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingHoldContent
@Composable() Unit MessageComposerAudioRecordingHoldContent(MessageComposerAudioRecordingHoldContentParams params)
The content displayed in the message composer while the user is holding to record audio.
Shows a mic indicator icon, a live recording timer, and a "slide to cancel" hint that follows the user's drag gesture.
Override this method to provide a fully custom hold-to-record UI.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingLockedContent
@Composable() Unit MessageComposerAudioRecordingLockedContent(MessageComposerAudioRecordingLockedContentParams params)
The content displayed in the message composer when the recording is locked (finger released while recording continues).
Shows a mic indicator icon, a live recording timer, a growing waveform visualization, and control buttons (delete, stop, complete) below.
Override this method to provide a fully custom locked-recording UI.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingOverviewContent
@Composable() Unit MessageComposerAudioRecordingOverviewContent(MessageComposerAudioRecordingOverviewContentParams params)
The content displayed in the message composer when the recording is stopped and the user can scrub the waveform and play back before sending.
Shows a play/pause button, a timer, an interactive waveform scrubber, and control buttons (delete, complete) below.
Override this method to provide a fully custom recording-overview UI.
- Parameters:
params- Parameters for this component.
-
MessageComposerAudioRecordingHint
@Composable() Unit MessageComposerAudioRecordingHint(MessageComposerAudioRecordingHintParams params)
The "Hold to record" instructional hint displayed as a snackbar when the user taps the record button without holding.
Override this method to provide a custom recording hint UI.
- Parameters:
params- Parameters for this component.
-
MessageComposerSnackbar
@Composable() Unit MessageComposerSnackbar(MessageComposerSnackbarParams params)
The snackbar shown above the message composer for validation errors and command-related events.
Override this method to provide a custom snackbar appearance for the composer.
- Parameters:
params- Parameters for this component.
-
Avatar
@Composable() Unit Avatar(AvatarParams params)
The default avatar component that displays an image from a URL or falls back to a placeholder. This component serves as the foundational UI for all avatar types.
- Parameters:
params- Parameters for this component.
-
UserAvatar
@Composable() Unit UserAvatar(UserAvatarParams params)
The default user avatar content.
This component displays the user's uploaded image or falls back to their initials if no image is available. It is commonly used in message lists, headers, and user profiles.
- Parameters:
params- Parameters for this component.
-
ChannelAvatar
@Composable() Unit ChannelAvatar(ChannelAvatarParams params)
The default avatar for a channel.
This component displays the channel image, the user avatar for direct messages, or a placeholder.
- Parameters:
params- Parameters for this component.
-
ChannelMenu
@Composable() Unit ChannelMenu(ChannelMenuParams params)
Factory method for creating the channel actions sheet shown on channel long-press.
- Parameters:
params- Parameters for this component.
-
ChannelMenuHeaderContent
@Composable() Unit ChannelMenuHeaderContent(ChannelMenuHeaderContentParams params)
Factory method for creating the header content of the SelectedChannelMenu.
- Parameters:
params- Parameters for this component.
-
ChannelMenuCenterContent
@Composable() Unit ChannelMenuCenterContent(ChannelMenuCenterContentParams params)
Factory method for creating the center content of the SelectedChannelMenu.
- Parameters:
params- Parameters for this component.
-
ChannelMenuOptions
@Composable() Unit ChannelMenuOptions(ChannelMenuOptionsParams params)
Factory method for creating the options content of the SelectedChannelMenu.
- Parameters:
params- Parameters for this component.
-
ChannelOptionsItem
@Composable() Unit ChannelOptionsItem(ChannelOptionsItemParams params)
Factory method for creating a single channel option item.
- Parameters:
params- Parameters for this component.
-
ChannelOptionsItemLeadingIcon
@Composable() Unit ChannelOptionsItemLeadingIcon(ChannelOptionsItemLeadingIconParams params)
Factory method for creating the leading icon of the Channel options menu item.
- Parameters:
params- Parameters for this component.
-
MessageActions
@Composable() Unit MessageActions(MessageActionsParams params)
Factory method for creating the full content of the MessageActions overlay. This is the menu that appears when a message is long-pressed.
- Parameters:
params- Parameters for this component.
-
MessageActionsHeader
@Composable() Unit MessageActionsHeader(MessageActionsHeaderParams params)
Factory method for creating the header content of the MessageActions overlay.
- Parameters:
params- Parameters for this component.
-
MessageActionsOptions
@Composable() Unit MessageActionsOptions(MessageActionsOptionsParams params)
Shows the default message options.
- Parameters:
params- Parameters for this component.
-
MessageActionsOptionsItem
@Composable() Unit MessageActionsOptionsItem(MessageActionsOptionsItemParams params)
Factory method for creating an individual action item in the MessageActions overlay.
- Parameters:
params- Parameters for this component.
-
ReactionIcon
@Composable() Unit ReactionIcon(ReactionIconParams params)
Factory method for creating a reaction icon. By default, it only displays the emoji.
- Parameters:
params- Parameters for this component.
-
ReactionToggle
@Composable() Unit ReactionToggle(ReactionToggleParams params)
Factory method for creating a reaction toggle. By default, it only displays the emoji.
- Parameters:
params- Parameters for this component.
-
ReactionsMenu
@Composable() Unit ReactionsMenu(ReactionsMenuParams params)
Factory method for creating the menu displaying all the reactions on a message.
- Parameters:
params- Parameters for this component.
-
ReactionsMenuContent
@Composable() Unit ReactionsMenuContent(ReactionsMenuContentParams params)
Factory method for creating the content of the reactions menu.
- Parameters:
params- Parameters for this component.
-
ReactionMenuOptionItem
@Composable() Unit ReactionMenuOptionItem(ReactionMenuOptionItemParams params)
Factory method for creating a single reaction option item in the reactions menu.
- Parameters:
params- Parameters for this component.
-
MessageReactionPicker
@Composable() Unit MessageReactionPicker(MessageReactionPickerParams params)
Factory method for creating the reaction picker bottom sheet.
- Parameters:
params- Parameters for this component.
-
MessageReactionsPickerContent
@Composable() Unit MessageReactionsPickerContent(MessageReactionsPickerContentParams params)
Factory method for creating the content of the reaction picker bottom sheet.
- Parameters:
params- Parameters for this component.
-
MenuOptionItem
@Composable() Unit MenuOptionItem(MenuOptionItemParams params)
Factory method for creating a generic menu option item.
- Parameters:
params- Parameters for this component.
-
ThreadListHeader
@Composable() Unit ThreadListHeader(ThreadListHeaderParams params)
The default header shown above the thread list. Displays the user avatar and a title, typically "Threads", with no trailing action button.
- Parameters:
params- Parameters for this component.
-
ThreadListBanner
@Composable() Unit ThreadListBanner(ThreadListBannerParams params)
The default thread list banner. Shows unread thread count, a loading indicator during refresh, or an error prompt.
- Parameters:
params- Parameters for this component.
-
ThreadListItem
@Composable() Unit ThreadListItem(ThreadListItemParams params)
The default thread list item. Shows information about the Thread title, parent message, last reply and number of unread replies.
- Parameters:
params- Parameters for this component.
-
ThreadListEmptyContent
@Composable() Unit ThreadListEmptyContent(ThreadListEmptyContentParams params)
The default empty placeholder that is displayed when there are no threads.
- Parameters:
params- Parameters for this component.
-
ThreadListLoadingContent
@Composable() Unit ThreadListLoadingContent(ThreadListLoadingContentParams params)
The default loading content that is displayed during the initial loading of the threads.
- Parameters:
params- Parameters for this component.
-
ThreadListLoadingMoreContent
@Composable() Unit ThreadListLoadingMoreContent(ThreadListLoadingMoreContentParams params)
The default content shown on the bottom of the list during the loading of more threads.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListItem
@Composable() Unit PinnedMessageListItem(PinnedMessageListItemParams params)
The default content of the pinned message list item.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListItemLeadingContent
@Composable() Unit PinnedMessageListItemLeadingContent(RowScope $self, PinnedMessageListItemLeadingContentParams params)
The default leading content of the pinned message list item. Shows an avatar of the user who sent the pinned message.
Used in the PinnedMessageListItem.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListItemCenterContent
@Composable() Unit PinnedMessageListItemCenterContent(RowScope $self, PinnedMessageListItemCenterContentParams params)
The default center content of the pinned message list item. Shows the message sender name and the message content.
Used in the PinnedMessageListItem.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListItemTrailingContent
@Composable() Unit PinnedMessageListItemTrailingContent(RowScope $self, PinnedMessageListItemTrailingContentParams params)
The default trailing content of the pinned message list item. Shows the message timestamp.
Used in the PinnedMessageListItem.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListItemDivider
@Composable() Unit PinnedMessageListItemDivider(PinnedMessageListItemDividerParams params)
The default divider appended after each pinned message.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListEmptyContent
@Composable() Unit PinnedMessageListEmptyContent(PinnedMessageListEmptyContentParams params)
The default empty placeholder that is displayed when there are no pinned messages.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListLoadingContent
@Composable() Unit PinnedMessageListLoadingContent(PinnedMessageListLoadingContentParams params)
The default loading content that is displayed during the initial loading of the pinned messages.
- Parameters:
params- Parameters for this component.
-
PinnedMessageListLoadingMoreContent
@Composable() Unit PinnedMessageListLoadingMoreContent(PinnedMessageListLoadingMoreContentParams params)
The default content shown on the bottom of the list during the loading of more pinned messages.
- Parameters:
params- Parameters for this component.
-
SwipeToReplyContent
@Composable() Unit SwipeToReplyContent(RowScope $self, SwipeToReplyContentParams params)
The default content shown when swiping to reply to a message.
- Parameters:
params- Parameters for this component.
-
MentionListItem
@Composable() Unit MentionListItem(LazyItemScope $self, MentionListItemParams params)
The default content of a mention list item.
- Parameters:
params- Parameters for this component.
-
MentionListLoadingIndicator
@Composable() Unit MentionListLoadingIndicator(BoxScope $self, MentionListLoadingIndicatorParams params)
The default loading indicator that is displayed during the initial loading of the mention list.
- Parameters:
params- Parameters for this component.
-
MentionListEmptyContent
@Composable() Unit MentionListEmptyContent(BoxScope $self, MentionListEmptyContentParams params)
The default empty placeholder that is displayed when the mention list is empty.
- Parameters:
params- Parameters for this component.
-
MentionListLoadingItem
@Composable() Unit MentionListLoadingItem(LazyItemScope $self, MentionListLoadingItemParams params)
The default loading indicator that is displayed on the bottom of the list when there are more mentions loading.
- Parameters:
params- Parameters for this component.
-
MentionListPullToRefreshIndicator
@Composable() Unit MentionListPullToRefreshIndicator(BoxScope $self, MentionListPullToRefreshIndicatorParams params)
The default pull-to-refresh indicator for the mention list.
- Parameters:
params- Parameters for this component.
-
MessageComposerAttachments
@Composable() Unit MessageComposerAttachments(MessageComposerAttachmentsParams params)
Renders all selected attachments in the message composer as a single horizontal scrolling row.
- Parameters:
params- Parameters for this component.
-
MessageComposerAttachmentAudioRecordItem
@Composable() Unit MessageComposerAttachmentAudioRecordItem(MessageComposerAttachmentAudioRecordItemParams params)
Renders a single audio recording attachment item in the message composer tray.
Used as part of MessageComposerAttachments.
- Parameters:
params- Parameters for this component.
-
MessageComposerAttachmentMediaItem
@Composable() Unit MessageComposerAttachmentMediaItem(MessageComposerAttachmentMediaItemParams params)
Renders a single media (image or video) attachment item in the message composer tray.
Used as part of MessageComposerAttachments.
- Parameters:
params- Parameters for this component.
-
MessageComposerAttachmentFileItem
@Composable() Unit MessageComposerAttachmentFileItem(MessageComposerAttachmentFileItemParams params)
Renders a single generic file attachment item in the message composer tray.
Used as part of MessageComposerAttachments.
- Parameters:
params- Parameters for this component.
-
AudioRecordAttachmentContent
@Composable() Unit AudioRecordAttachmentContent(AudioRecordAttachmentContentParams params)
Factory method for creating the content of audio recording attachments in a message.
- Parameters:
params- Parameters for this component.
-
AudioAttachmentItem
@Composable() Unit AudioAttachmentItem(AudioAttachmentItemParams params)
Factory method for creating a single regular audio file attachment item, rendered with an inline player.
Audio attachments are routed through the file attachment path, and FileAttachmentItem delegates here for them, so overriding FileAttachmentContent or FileAttachmentItem keeps control over audio rendering too.
- Parameters:
params- Parameters for this component.
-
FileAttachmentContent
@Composable() Unit FileAttachmentContent(FileAttachmentContentParams params)
Factory method for creating the content of file attachments in a message.
- Parameters:
params- Parameters for this component.
-
GiphyAttachmentContent
@Composable() Unit GiphyAttachmentContent(GiphyAttachmentContentParams params)
Factory method for creating the content of Giphy attachments in a message.
- Parameters:
params- Parameters for this component.
-
LinkAttachmentContent
@Composable() Unit LinkAttachmentContent(LinkAttachmentContentParams params)
Factory method for creating the content of link attachments in a message.
- Parameters:
params- Parameters for this component.
-
MediaAttachmentContent
@Composable() Unit MediaAttachmentContent(MediaAttachmentContentParams params)
Factory method for creating the content of media attachments in a message.
- Parameters:
params- Parameters for this component.
-
CustomAttachmentContent
@Composable() Unit CustomAttachmentContent(CustomAttachmentContentParams params)
Factory method for creating the content of custom attachments in a message.
- Parameters:
params- Parameters for this component.
-
FileAttachmentItem
@Composable() Unit FileAttachmentItem(FileAttachmentItemParams params)
Factory method for creating a file attachment item.
- Parameters:
params- Parameters for this component.
-
DirectChannelInfoTopBar
@Composable() Unit DirectChannelInfoTopBar(DirectChannelInfoTopBarParams params)
Factory method for creating the top bar of the channel info screen.
- Parameters:
params- Parameters for this component.
-
DirectChannelInfoAvatarContainer
@Composable() Unit DirectChannelInfoAvatarContainer(DirectChannelInfoAvatarContainerParams params)
Factory method for creating the avatar container in the direct channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoAvatarContainer
@Composable() Unit GroupChannelInfoAvatarContainer(GroupChannelInfoAvatarContainerParams params)
Factory method for creating the avatar container in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoMemberSection
@Composable() Unit GroupChannelInfoMemberSection(GroupChannelInfoMemberSectionParams params)
Factory method for creating the member section card in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoTopBar
@Composable() Unit GroupChannelInfoTopBar(GroupChannelInfoTopBarParams params)
Factory method for creating the top bar of the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoAddMembersButton
@Composable() Unit GroupChannelInfoAddMembersButton(GroupChannelInfoAddMembersButtonParams params)
Factory method for creating the "Add members" button of the group channel info screen.
- Parameters:
params- Parameters for this component.
-
ChannelInfoSeparatorItem
@Composable() Unit ChannelInfoSeparatorItem(LazyItemScope $self, ChannelInfoSeparatorItemParams params)
Factory method for creating the channel info separator item. This is used to visually separate different sections in the channel info screens.
- Parameters:
params- Parameters for this component.
-
ChannelInfoOptionItem
@Composable() Unit ChannelInfoOptionItem(ChannelInfoOptionItemParams params)
Factory method for creating the channel info option item used in direct and group channel info screens.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoMemberItem
@Composable() Unit GroupChannelInfoMemberItem(GroupChannelInfoMemberItemParams params)
Factory method for creating the member item in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoMemberLeadingContent
@Composable() Unit GroupChannelInfoMemberLeadingContent(GroupChannelInfoMemberLeadingContentParams params)
Factory method for creating the leading content (avatar) of a member row in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoMemberCenterContent
@Composable() Unit GroupChannelInfoMemberCenterContent(GroupChannelInfoMemberCenterContentParams params)
Factory method for creating the center content (name, last seen and mute icon) of a member row in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoMemberTrailingContent
@Composable() Unit GroupChannelInfoMemberTrailingContent(GroupChannelInfoMemberTrailingContentParams params)
Factory method for creating the trailing content (role label) of a member row in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
GroupChannelInfoExpandMembersItem
@Composable() Unit GroupChannelInfoExpandMembersItem(GroupChannelInfoExpandMembersItemParams params)
Factory method for creating the expand members item in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
ChannelInfoScreenModal
@Composable() Unit ChannelInfoScreenModal(ChannelInfoScreenModalParams params)
Factory method for creating the channel info screen modal.
- Parameters:
params- Parameters for this component.
-
ChannelInfoMemberInfoModalSheetTopBar
@Composable() Unit ChannelInfoMemberInfoModalSheetTopBar(ChannelInfoMemberInfoModalSheetTopBarParams params)
Factory method for creating the top bar of the member info modal sheet in the group channel info screen.
- Parameters:
params- Parameters for this component.
-
ChannelInfoMemberOptionItem
@Composable() Unit ChannelInfoMemberOptionItem(ChannelInfoMemberOptionItemParams params)
Factory method for creating a single member option item.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsTopBar
@Composable() Unit ChannelFilesAttachmentsTopBar(ChannelFilesAttachmentsTopBarParams params)
Factory method for creating the top bar of the channel files attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsLoadingIndicator
@Composable() Unit ChannelFilesAttachmentsLoadingIndicator(ChannelFilesAttachmentsLoadingIndicatorParams params)
Factory method for creating the loading indicator of the channel files attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsEmptyContent
@Composable() Unit ChannelFilesAttachmentsEmptyContent(BoxScope $self, ChannelFilesAttachmentsEmptyContentParams params)
Factory method for creating the empty content of the channel files attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsErrorContent
@Composable() Unit ChannelFilesAttachmentsErrorContent(BoxScope $self, ChannelFilesAttachmentsErrorContentParams params)
The default error content of the channel files attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsHeaderItem
@Composable() Unit ChannelFilesAttachmentsHeaderItem(LazyItemScope $self, ChannelFilesAttachmentsHeaderItemParams params)
Factory method for creating the channel files attachments header item. This is typically used to display the title of a group of attachments.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsItem
@Composable() Unit ChannelFilesAttachmentsItem(LazyItemScope $self, ChannelFilesAttachmentsItemParams params)
Factory method for creating the channel files attachments item.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsItemDivider
@Composable() Unit ChannelFilesAttachmentsItemDivider(LazyItemScope $self, ChannelFilesAttachmentsItemDividerParams params)
Factory method for creating a divider between channel files attachments items.
- Parameters:
params- Parameters for this component.
-
ChannelFilesAttachmentsLoadingItem
@Composable() Unit ChannelFilesAttachmentsLoadingItem(LazyItemScope $self, ChannelFilesAttachmentsLoadingItemParams params)
Factory method for creating the loading item in the channel files attachments list.
This is typically shown at the end of the list when more items are being loaded.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsTopBar
@Composable() Unit ChannelMediaAttachmentsTopBar(ChannelMediaAttachmentsTopBarParams params)
Factory method for creating the top bar of the channel media attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsLoadingIndicator
@Composable() Unit ChannelMediaAttachmentsLoadingIndicator(ChannelMediaAttachmentsLoadingIndicatorParams params)
Factory method for creating the loading indicator of the channel media attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsEmptyContent
@Composable() Unit ChannelMediaAttachmentsEmptyContent(BoxScope $self, ChannelMediaAttachmentsEmptyContentParams params)
Factory method for creating the empty content of the channel media attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsErrorContent
@Composable() Unit ChannelMediaAttachmentsErrorContent(BoxScope $self, ChannelMediaAttachmentsErrorContentParams params)
The default error content of the channel media attachments screen.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsFloatingHeader
@Composable() Unit ChannelMediaAttachmentsFloatingHeader(BoxScope $self, ChannelMediaAttachmentsFloatingHeaderParams params)
Factory method for creating the channel media attachments floating header. This is typically used to display the title of a group of attachments.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsItem
@Composable() Unit ChannelMediaAttachmentsItem(LazyGridItemScope $self, ChannelMediaAttachmentsItemParams params)
Factory method for creating the channel media attachments item.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsLoadingItem
@Composable() Unit ChannelMediaAttachmentsLoadingItem(LazyGridItemScope $self, ChannelMediaAttachmentsLoadingItemParams params)
Factory method for creating the loading item in the channel media attachments list.
This is typically shown at the end of the list when more items are being loaded.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsPreviewTopBar
@Composable() Unit ChannelMediaAttachmentsPreviewTopBar(ChannelMediaAttachmentsPreviewTopBarParams params)
Factory method for creating the top bar of the channel media attachments preview screen.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsPreviewTopBarTitle
@Composable() Unit ChannelMediaAttachmentsPreviewTopBarTitle(ChannelMediaAttachmentsPreviewTopBarTitleParams params)
Factory method for creating the title of the channel media attachments preview top bar. This displays the message sender's name and the time when the message was sent.
- Parameters:
params- Parameters for this component.
-
ChannelMediaAttachmentsPreviewBottomBar
@Composable() Unit ChannelMediaAttachmentsPreviewBottomBar(ChannelMediaAttachmentsPreviewBottomBarParams params)
Factory method for creating the bottom bar of the channel media attachments preview screen.
- Parameters:
params- Parameters for this component.
-
AttachmentPickerMenu
@Composable() Unit AttachmentPickerMenu(AttachmentPickerMenuParams params)
Container component that manages the attachment picker's visibility and animations.
Override this to customize the picker container behavior, including animations, keyboard coordination, and composer integration.
- Parameters:
params- Parameters for this component.
-
AttachmentPicker
@Composable() Unit AttachmentPicker(AttachmentPickerParams params)
Main attachment picker component with mode tabs and content area.
Override this to customize the overall picker layout. The picker automatically switches between system picker and in-app picker based on ChatTheme.attachmentPickerConfig.
- Parameters:
params- Parameters for this component.
-
AttachmentTypePicker
@Composable() Unit AttachmentTypePicker(AttachmentTypePickerParams params)
Tab bar for the in-app attachment picker showing toggle buttons for each mode.
Override this to customize the tab bar appearance or add custom tabs. The available modes are determined by ChatTheme.attachmentPickerConfig.modes.
- Parameters:
params- Parameters for this component.
-
AttachmentTypeSystemPicker
@Composable() Unit AttachmentTypeSystemPicker(AttachmentTypeSystemPickerParams params)
Button bar for the system attachment picker showing action buttons for each mode.
Unlike AttachmentTypePicker, each button directly launches the corresponding system picker rather than switching to an in-app content view. No storage permissions are required.
- Parameters:
params- Parameters for this component.
-
AttachmentPickerContent
@Composable() Unit AttachmentPickerContent(AttachmentPickerContentParams params)
Content router that displays the appropriate picker UI based on the current mode.
Override this to add support for custom AttachmentPickerMode implementations or to customize how modes are rendered.
- Parameters:
params- Parameters for this component.
-
AttachmentMediaPicker
@Composable() Unit AttachmentMediaPicker(AttachmentMediaPickerParams params)
Grid picker for selecting images and videos from device storage.
Shows a scrollable grid of media thumbnails with selection badges. Requires storage permissions to display content.
- Parameters:
params- Parameters for this component.
-
AttachmentCameraPicker
@Composable() Unit AttachmentCameraPicker(AttachmentCameraPickerParams params)
Camera capture interface for taking photos or recording videos.
Displays a button that launches the device camera. Captured media is automatically submitted as an attachment.
- Parameters:
params- Parameters for this component.
-
AttachmentFilePicker
@Composable() Unit AttachmentFilePicker(AttachmentFilePickerParams params)
List picker for selecting files from device storage.
Shows a scrollable list of files (documents, audio, etc.) with file type icons, names, and sizes. Requires storage permissions to display content.
- Parameters:
params- Parameters for this component.
-
AttachmentPollPicker
@Composable() Unit AttachmentPollPicker(AttachmentPollPickerParams params)
Poll creation entry point in the attachment picker.
Shows a button or automatically opens the poll creation dialog based on PollPickerMode.autoShowCreateDialog. Poll creation is only available when the channel has the "polls" capability.
- Parameters:
params- Parameters for this component.
-
AttachmentCommandPicker
@Composable() Unit AttachmentCommandPicker(AttachmentCommandPickerParams params)
Slash command picker showing available commands.
Displays a scrollable list of commands configured for the channel (e.g., /giphy, /mute). Tapping a command inserts it into the message composer.
- Parameters:
params- Parameters for this component.
-
AttachmentSystemPicker
@Composable() Unit AttachmentSystemPicker(AttachmentSystemPickerParams params)
System picker variant that uses native OS pickers instead of in-app UI.
Shows a row of buttons that launch system pickers (photo picker, file browser, camera). This variant does not require storage permissions since it uses system intents. Used when ChatTheme.config.attachmentPicker.useSystemPicker is
true.- Parameters:
params- Parameters for this component.
-
-
-
-