Package-level declarations

Functions

Link copied to clipboard
fun buildDefaultChannelOptionsState(selectedChannel: Channel, isMuted: Boolean, ownCapabilities: Set<String>): List<ChannelOptionState>

Builds the default list of channel options, based on the current user and the state of the channel.

Link copied to clipboard
fun ChannelMembers(members: List<Member>, modifier: Modifier = Modifier)

Represents a list of members in the channel.

Link copied to clipboard
fun ChannelOptions(options: List<ChannelOptionState>, onChannelOptionClick: (ChannelAction) -> Unit, modifier: Modifier = Modifier)

This is the default bottom drawer UI that shows up when the user long taps on a channel item.

Link copied to clipboard
fun MessageReadStatusIcon(channel: Channel, message: Message, currentUser: User?, modifier: Modifier = Modifier)
fun MessageReadStatusIcon(message: Message, isMessageRead: Boolean, modifier: Modifier = Modifier, readCount: Int = 0)

Shows a delivery status indicator for a particular message.

Link copied to clipboard
fun UnreadCountIndicator(unreadCount: Int, modifier: Modifier = Modifier, color: Color = ChatTheme.colors.errorAccent)

Shows the unread count badge for each channel item, to showcase how many messages the user didn't read.