Voice

Note that the Voice data type falls under the Message data type.

Voice

This object represents a voice note.

FieldTypeRequiredDescription
idStringYesUnique identifier for this file
durationIntegerYesDuration of the voice note.
sizeIntegerYesVoice file size.