Office.ReplyFormData interface

A ReplyFormData object that contains body or attachment data and a callback function. Used when displaying a reply form.

Properties

attachments

An array of ReplyFormAttachment that are either file or item attachments.

callback

When the reply display call completes, the function passed in the callback parameter is called with a single parameter, asyncResult, which is an Office.AsyncResult object.

htmlBody

A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB.

options

An object literal that contains the following property:- asyncContext: Developers can provide any object they wish to access in the callback function.

Property Details

attachments

An array of ReplyFormAttachment that are either file or item attachments.

attachments?: ReplyFormAttachment[];

Property Value

callback

When the reply display call completes, the function passed in the callback parameter is called with a single parameter, asyncResult, which is an Office.AsyncResult object.

callback?: (asyncResult: Office.AsyncResult<any>) => void;

Property Value

(asyncResult: Office.AsyncResult<any>) => void

htmlBody

A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB.

htmlBody?: string;

Property Value

string

options

An object literal that contains the following property:- asyncContext: Developers can provide any object they wish to access in the callback function.

options?: Office.AsyncContextOptions;

Property Value