FileActionRequest - Interface representing a file action request.

interface FileActionRequest {
    accept?: string;
    addMessage?: boolean;
    always?: boolean;
    multiple?: boolean;
    response?: FileActionResponse;
    sendButtonText?: string;
    type: "file";
}

Hierarchy (View Summary)

Properties

accept?: string

The file types accepted (optional).

addMessage?: boolean

Indicates if a message should be added.

always?: boolean

Indicates if the action should always be performed.

multiple?: boolean

Whether multiple files can be selected (optional).

The response for the file action (optional).

sendButtonText?: string

The text for the send button (optional).

type: "file"

The type of the request. Value is 'file'.