aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r--src/VencordNative.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index a7c16ef..4e34f3d 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -63,5 +63,8 @@ export default {
OpenInApp: {
resolveRedirect: (url: string) => invoke<string>(IpcEvents.OPEN_IN_APP__RESOLVE_REDIRECT, url),
},
+ VoiceMessages: {
+ readRecording: () => invoke<Uint8Array | null>(IpcEvents.VOICE_MESSAGES_READ_RECORDING),
+ }
}
};