0.0.1 • Published 1 year ago
fm-notification-alert v0.0.1
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>
Param | Type |
---|---|
options | { type: 'BIGTEXT' | 'ACTIONS' | 'DIRECTREPLY' | 'INBOX'; title: string; message: string; contentList?: string[]; } |
cancelNotification(...)
cancelNotification(options: { id: number; }) => Promise<void>
Param | Type |
---|---|
options | { id: number; } |
handleDirectReply(...)
handleDirectReply(options: { feedback: string; }) => Promise<void>
Param | Type |
---|---|
options | { feedback: string; } |
0.0.1
1 year ago