ISdkResponse interface

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