Send audios in ptt format instead of audio file format when explicitly requested.
ptt format

audio file format

That could be an good enhancement, if you need help to code, please let me know, just say me what to do for help.
Thanks for the feature request!
I've now added a new option for messages: sendAudioAsVoice. When set to true, it will send audio files as voice notes instead of regular audio messages. The default is set to false, so this doesn't change anything for existing users.
Implementation would look a little something like this:
chat.sendMessage(attachmentData, { sendAudioAsVoice: true });
Most helpful comment
Thanks for the feature request!
I've now added a new option for messages:
sendAudioAsVoice. When set totrue, it will send audio files as voice notes instead of regular audio messages. The default is set tofalse, so this doesn't change anything for existing users.Implementation would look a little something like this: