def download5(bot, update): thumbnail = thumbnail_scrape.getThumbnail(4) link = download.download_track(4) bot.send_chat_action(chat_id=update.message.chat_id, action="typing") bot.sendAudio(chat_id=update.message.chat_id, audio=link, thumb=thumbnail)
def downloadThisSong(songNumber, bot, update): thumbnail = thumbnail_scrape.getThumbnail(songNumber) link = download.download_track(songNumber) bot.send_chat_action(chat_id=update.message.chat_id, action="typing") bot.sendAudio(chat_id=update.message.chat_id, audio=link, thumb=thumbnail)