inputMediaUploadedAudio

New audio file.

Constructor schema is available as of layer 13. Switch »

Parameters

Name Type Description
file InputFile Audio file, saved in parts by using the methods upload.saveFilePart or upload.saveBigFilePart
duration int Audio duration in seconds
mime_type string MIME-type of the audio file
Parameter added in Layer 13.

Type

InputMedia