Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audio and video document downloads #36

Merged
merged 1 commit into from
Jul 31, 2015
Merged

Conversation

majn
Copy link
Contributor

@majn majn commented Jul 30, 2015

Downloading audio and video messages fails with "FILE_ID_INVALID".

This is caused by combining a video or audio file id with CODE_input_document_file_location, which the server doesn't accept. This patch uses the correct magic numbers for audio or video files.

This issue here is related: vysheng/tg#472

vysheng added a commit that referenced this pull request Jul 31, 2015
Fix audio and video document downloads
@vysheng vysheng merged commit 5cc7e87 into vysheng:master Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants