chore: Refactor audio notification helper (#6148)

This commit is contained in:
Pranav Raj S
2022-12-29 20:01:14 -08:00
parent 297e144f33
commit 6ffb7fe34e
10 changed files with 131 additions and 273 deletions

View File

@@ -0,0 +1,5 @@
import { IFrameHelper } from 'widget/helpers/utils';
export const playNewMessageNotificationInWidget = () => {
IFrameHelper.sendMessage({ event: 'playAudio' });
};