Code Monkey home page Code Monkey logo

Comments (7)

alfem avatar alfem commented on July 22, 2024

I think an audio file is a downloaded like any other file. Or do you mean voice messages?

from telegram-downloader-bot.

samthelion17 avatar samthelion17 commented on July 22, 2024

I think an audio file is a downloaded like any other file. Or do you mean voice messages?

Yeah, it could be voice messages, i don't know what's the difference, but they're not downloading.

from telegram-downloader-bot.

alfem avatar alfem commented on July 22, 2024

Have you tested the new version I updated today?

from telegram-downloader-bot.

samthelion17 avatar samthelion17 commented on July 22, 2024

Have you tested the new version I updated today?

It is working great, thanks ;)

from telegram-downloader-bot.

samthelion17 avatar samthelion17 commented on July 22, 2024

Well, downloading voice messages works fine, but: when i forward this kinds of files to the bot it does nothing and displays this code in the console window:
user@linux:~/.telegrambots$ python telegram-download-bot.py {'message': {'delete_chat_photo': False, 'new_chat_photo': [], 'from': {'username': u'samthelion', 'first_name': u'Samuel', 'last_name': u'Wilson', 'is_bot': False, 'language_code': u'es', 'id': CHATID}, 'photo': [], 'channel_chat_created': False, 'caption_entities': [], 'entities': [], 'new_chat_members': [], 'supergroup_chat_created': False, 'chat': {'username': u'samthelion', 'first_name': u'Samuel', 'last_name': u'Wilson', 'type': u'private', 'id': CHATID}, 'date': 1583431530, 'group_chat_created': False, 'audio': {'performer': u'Woe, Is Me', 'thumb': {'width': 90, 'file_size': 3825, 'file_id': 'AAMCBAADGQEAA41eYT9qTtQ_2LCBLjTGR-MJCHtlPgACjgcAAll1AAFTnTkpCMvhEd7cQeMhXQADAQAHcwADInwAAhgE', 'height': 90}, 'title': u"Hot 'N Cold", 'file_id': 'CQACAgQAAxkBAAONXmE_ak7UP9iwgS40xkfjCQh7ZT4AAo4HAAJZdQABU505KQjL4RHeGAQ', 'file_size': 7849801, 'duration': 187, 'mime_type': u'audio/mpeg'}, 'message_id': 141}, 'update_id': 816774170}

And the same thing happens with rounded videos...
tgscreen

from telegram-downloader-bot.

alfem avatar alfem commented on July 22, 2024

I made a quick test with a mp3 file and released a new version. Please test it.

Open a new issue for those 'round videos'
(Right now I do not know what are them) to avoid longs issues with unrelated fixes.

from telegram-downloader-bot.

samthelion17 avatar samthelion17 commented on July 22, 2024

It is working now, thanks.

from telegram-downloader-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.