ISdkResponse interface

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Data Structure to represent the SDK response when dialog closes

Properties

err

Error in case there is a failure before dialog submission

result

Value provided in the result parameter by the dialog when the submit(string | object, string | string[]) function was called. If the dialog was closed by the user without submitting (e.g., using a control in the corner of the dialog), this value will be undefined here.

Property Details

err

Error in case there is a failure before dialog submission

err?: string

Property Value

string

result

Value provided in the result parameter by the dialog when the submit(string | object, string | string[]) function was called. If the dialog was closed by the user without submitting (e.g., using a control in the corner of the dialog), this value will be undefined here.

result?: string | object

Property Value

string | object