ChatFileActionBuilder
Methods
Icon(System.String)
Defines the icon class for the context menu action. The icon appears next to the action text in the context menu.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
Parameters
icon - System.String
The icon.
RETURNS
Returns the current instance of ChatFileActionBuilder .
Icon(System.Action)
Defines the icon class for the context menu action. The icon appears next to the action text in the context menu.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
Parameters
configurator - System.Action<ChatFileActionIconSettingsBuilder>
The configurator for the icon setting.
RETURNS
Returns the current instance of ChatFileActionBuilder .
Name(System.String)
Defines the name identifier for the context menu action. This is used internally to identify which action was triggered.
Parameters
value - System.String
The value for Name
RETURNS
Returns the current ChatFileActionBuilder instance.
Text(System.String)
Defines the display text for the context menu action. This text is shown to users in the context menu.
Parameters
value - System.String
The value for Text
RETURNS
Returns the current ChatFileActionBuilder instance.