Package-level declarations

Types

Link copied to clipboard
data class AddMembersViewState(val isLoading: Boolean = true, val isLoadingMore: Boolean = false, val query: String = "", val searchResult: List<User> = emptyList(), val selectedUserIds: Set<String> = emptySet(), val loadedMemberIds: Set<String> = emptySet())

Represents the state of the "Add Members" view.

Link copied to clipboard
class BanMember(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Ban the member from the channel.

Link copied to clipboard
class BlockUser(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Block the member.

Link copied to clipboard

Represents the state of the channel member information in the UI.

Link copied to clipboard
sealed interface ChannelInfoViewState

Represents the state of the channel information in the UI.

Link copied to clipboard
interface MemberAction

A self-describing member action that carries display info and an execution handler. Follows the same pattern as io.getstream.chat.android.ui.common.state.channels.actions.ChannelAction.

Link copied to clipboard
class MuteUser(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Mute the member.

Link copied to clipboard
class RemoveMember(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Remove the member from the channel.

Link copied to clipboard
class SendDirectMessage(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Send a direct message to the member.

Link copied to clipboard
class UnbanMember(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Unban the member from the channel.

Link copied to clipboard
class UnblockUser(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Unblock the member.

Link copied to clipboard
class UnmuteUser(val member: Member, val label: String, val onAction: () -> Unit) : MemberAction

Unmute the member.