ISelectMediaActionArguments interface

The object passed to IAdaptiveCardExtensionActionView.onAction when a SelectMedia Action is executed.

Extends

Omit<IBaseActionArguments, 'type'>

Properties

data

Submit Action data that is passed to internal action handler to ensure forms do not clear.

media

media object returned media picker API

type

The type of Adaptive Card Action.

Property Details

data

Submit Action data that is passed to internal action handler to ensure forms do not clear.

data: any;

Property Value

any

media

media object returned media picker API

media: ISelectMediaAttachment[];

Property Value

type

The type of Adaptive Card Action.

type: 'VivaAction.SelectMedia';

Property Value

'VivaAction.SelectMedia'