ParticipantStatusView

A SwiftUI view for displaying participant status indicators in conversations. Provides visual feedback about conversation participants, including join/leave notifications, online status, and role identification.

PropertyTypeDescription
bodysome ViewInherited from View.body
MethodSignatureDescription
initinit(participant:action:showAnimation:isCompact:showRole:showTimestamp:themeManager:onInteraction:)Creates a participant status view with the specified configuration
ParameterTypeDefaultDescription
participantParticipantMessage-The participant information to display
actionParticipantAction.statusThe action being displayed
showAnimationBoolfalseWhether to show entry/exit animations
isCompactBoolfalseWhether to use compact presentation
showRoleBooltrueWhether to show role information
showTimestampBoolfalseWhether to show timestamp
themeManagerAgentforceThemeManager-Theme management interface
onInteraction((ParticipantInteraction) -> Void)?nilOptional callback for participant interactions