Enum ChatRole
Who authored a message in a conversation.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum ChatRole
Remarks
Deliberately wider than ChatMessageRole. A message can come from the system, but a system message is never drawn as a bubble — ChatMessages renders it as a destructive banner — so the bubble's own role enum stays two-valued.
Fields
| Name | Description |
|---|---|
| Assistant | The agent answering. |
| System | The application itself, reporting something out of band such as a failure. |
| User | The person talking to the agent. |