The open_contact_form message is sent from the embedded app to open a contact form configured with an app name and email.
Message Type
type messageType = 'open_contact_form';Payload
type OpenContactFormMessageData = {
/** Name of the app requesting contact form. */
appName: string;
/** Email address where the form should be sent. */
toEmail: string;
};Example
sendZpaxMessage('open_contact_form', {
appName: 'Example App',
toEmail: '[email protected]',
});Use Cases
- Customer support access.
- Bug report or help request UI.
Related
sendZpaxMessage— Function to send messages to myzPAX.