IF
Size: a a a
IF
SS
В

В
В
JD
В
JD
В
JD
const stream = fs.createReadStream('path/to/audio.mp3');
bot.sendAudio(chatId, stream);В
JD
If you wish to explicitly specify the filename or MIME type, you may pass an additional argument as file options, like so:https://github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md#sending-files
const fileOptions = {
// Explicitly specify the file name.
filename: 'customfilename',
// Explicitly specify the MIME type.
contentType: 'audio/mpeg',
};
JD
В
JD
YZ
В

YZ
В