Bus UI Assistant

AIDropController validates assistant attachment intake.

Use the drop controller helpers when assistant composer UI receives browser drop events and must convert them into safe attachment references.

Public API

Packagegithub.com/busdk/bus-ui/pkg/ui
ContextDropZoneContext
AcceptAcceptDropItems
DecodeDecodeDropItems

Example

accepted, err := ui.AcceptDropItems(ui.DropZoneContext{
  MaxFiles: 5,
}, browserItems)

Back to assistant components.