mast / telegram-bot-api

First Telegram Bot API node.js library
http://mast.github.io/telegram-bot-api/
MIT License
245 stars 65 forks source link

caption in sendAudio does not insert in telegram #67

Closed ybagheri closed 4 years ago

ybagheri commented 4 years ago

caption in sendAudio does not insert in telegram, only audio upload on Telegram!!!

api.sendAudio({
    chat_id: message.from.id,   
   performer: 'my performer',
   title: 'my title',
 caption: 'maycaption',    
  audio: 'https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3'
})
.then(function(data)
{
    console.log(util.inspect(data, false, null));
});
Natsvora commented 4 years ago

@ybagheri your issue will be resolved once this pr will merged

Added caption in send audio and send document