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

Add clarification for file limits in documentation/FAQ #514

Open
panos opened this issue Oct 12, 2020 · 1 comment
Open

Add clarification for file limits in documentation/FAQ #514

panos opened this issue Oct 12, 2020 · 1 comment

Comments

@panos
Copy link

@panos panos commented Oct 12, 2020

Checklist

  • I believe the idea is awesome and would benefit the library.
  • I have searched in the issue tracker for similar requests, including closed ones.

Description

The Telegram Bots FAQ explicitly states that only files up to 50 MBs are allowed. An old commit (before the file limit increase) seems to be using the maximum file limit for users. A random paste I found in the Telegram discussion group possibly insinuates that the restriction still applies. The closest thing I've found in Pyrogram's FAQ so far is a general question regarding file_id values.

In a nutshell, I've looked everywhere. If I were to make a bot using Pyrogram, would it be hypothetically possible for me, as a bot account maintainer, to cross the 50 MB mark? It would be helpful for me (and probably for others as well) to see a clarification in the documentation about that.

Thanks!

@odysseusmax
Copy link

@odysseusmax odysseusmax commented Oct 21, 2020

MTProto supports file uploads and downloads upto 2000MB. Uploading files via URL only works if the link points to some file and should be less than 20MB. So to upload any file greater than 20MB you have to download the file somehow. An explicit clarification is not requited,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.