Optional
captionCaption of the media
Optional
durationDuration of the voice message in seconds
Only applicable to newly uploaded files.
File to be sent
Optional
fileOverride MIME type for the file
Only applicable to newly uploaded files.
Optional
fileOverride file name for the file.
Only applicable to newly uploaded files.
Optional
fileOverride file size for the file
Only applicable to newly uploaded files.
Optional
ttlTTL for the media in seconds.
Only applicable to some media types
Optional
waveformWaveform of the voice message.
Represented with integers in range [0, 31], usually has length of 100. Generated by the server if omitted.
Only applicable to newly uploaded files.
Voice message to be sent