Skip to content

Is there any way to bypass the download size limit of 20MB ? #557

Answered by JrooTJunior
XDavidT asked this question in Q&A
Discussion options

You must be logged in to vote

You can't do this via public Bot API in due to their limitations: https://core.telegram.org/bots/api#getfile, https://core.telegram.org/bots/api#sending-files

But you can do this via local Bot API Server: https://core.telegram.org/bots/api#using-a-local-bot-api-server
Or just use Client API directly for working with files. local Bot API Server has the same limitations as Client API.

Local server:

Can be compiled from official repository or used via third-party Docker images https://hub.docker.com/r/aiogram/telegram-bot-api
And --local mode is required (TELEGRAM_LOCAL=1 env. var if you use my Docker image)

Client API:

aiogram can be used at the same time with one of Client API library like P…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Dadamuhames
Comment options

@JrooTJunior
Comment options

Answer selected by Olegt0rr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants