MessageView props

interface MessageViewProps {
    messageId: string;
    onClose: ((event) => void);
    onLoadError: ((event) => void);
    onLoadFinished: ((event) => void);
    onLoadStarted: ((event) => void);
}

Properties

messageId: string

The message Id.

onClose: ((event) => void)

A callback when the message is closed.

Type declaration

onLoadError: ((event) => void)

A callback when the view fails to load a message with an error.

Type declaration

onLoadFinished: ((event) => void)

A callback when the view finishes loading a message.

Type declaration

onLoadStarted: ((event) => void)

A callback when the view starts loading a message.

Type declaration