aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-07-26 01:27:04 +0200
committerGitHub <noreply@github.com>2023-07-26 01:27:04 +0200
commit8620a1d86d302c23d51c1f6795f32cc8eb5e9207 (patch)
treed3144c2c84173c3d614499080505395f8b64352f /src/VencordNative.ts
parent198b35ffdce1ca7ba316409774bc816ac5b58e57 (diff)
downloadVencord-8620a1d86d302c23d51c1f6795f32cc8eb5e9207.tar.gz
Vencord-8620a1d86d302c23d51c1f6795f32cc8eb5e9207.tar.bz2
Vencord-8620a1d86d302c23d51c1f6795f32cc8eb5e9207.zip
New plugin: VoiceMessages (#1380)
Co-authored-by: V <vendicated@riseup.net> Co-authored-by: Justice Almanzar <superdash993@gmail.com>
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),
+ }
}
};