-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
feature requestThis is a feature request.This is a feature request.
Description
Summary
Add support for sending audio as voice messages
What is the feature request for?
The core library
The Problem
I've been thinking of a way of sending audio as voice messages for my bots. Turns out it's technically possible to do that with the API currently, and the specifics of it are documented here: https://gist.github.com/HDR/7d5d4ce8bbe4b715d788a9bc9f99e02d
The Ideal Solution
To send a voice message you need to set the message flag to 8192
in the message data, have an audio file (only .ogg is supported) attachment with waveform data that's essentially just a base64 encoded byte array. Basically what I'm thinking is the message send methods could have a voice message parameter for passing a voice attachment object with all the data mentioned above.
The Current Solution
No response
Additional Context
No response
tposejank and Wayrion
Metadata
Metadata
Assignees
Labels
feature requestThis is a feature request.This is a feature request.