UnmuteUserActionItem
Instance of ChatMessageActionItem
for un-muting user.
public struct UnmuteUserActionItem: ChatMessageActionItem
Inheritance
Initializers
init(action:appearance:)
Init of UnmuteUserActionItem
.
public init(
action: @escaping (ChatMessageActionItem) -> Void,
appearance: Appearance = .default
)
Parameters
action
: Action to be triggered whenUnmuteUserActionItem
is tapped.appearance
:Appearance
that is used to configure UI properties.
Properties
title
public var title: String
icon
public let icon: UIImage
action
public let action: (ChatMessageActionItem) -> Void