sdk: add context to notification on triggering event, if any

This commit is contained in:
Koushik Dutta
2024-03-11 09:57:00 -07:00
parent 1f7625ca60
commit fd67756ec6
2 changed files with 2 additions and 0 deletions

View File

@@ -588,6 +588,7 @@ class NotifierOptions(TypedDict):
data: Any
dir: NotificationDirection
lang: str
recordedEvent: RecordedEvent
renotify: bool
requireInteraction: bool
silent: bool

View File

@@ -221,6 +221,7 @@ export interface NotifierOptions {
tag?: string;
timestamp?: number;
vibrate?: VibratePattern;
recordedEvent?: RecordedEvent;
}
/**