0.0.1 • Published 1 year ago

fm-notification-alert v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fm-notification-alert

Show a notification alert

Install

npm install fm-notification-alert
npx cap sync

API

showNotification(...)

showNotification(options: { type: 'BIGTEXT' | 'ACTIONS' | 'DIRECTREPLY' | 'INBOX'; title: string; message: string; contentList?: string[]; }) => Promise<void>
ParamType
options{ type: 'BIGTEXT' | 'ACTIONS' | 'DIRECTREPLY' | 'INBOX'; title: string; message: string; contentList?: string[]; }

cancelNotification(...)

cancelNotification(options: { id: number; }) => Promise<void>
ParamType
options{ id: number; }

handleDirectReply(...)

handleDirectReply(options: { feedback: string; }) => Promise<void>
ParamType
options{ feedback: string; }

0.0.1

1 year ago