telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

Official documentation of InlineQueryResult discrepancy

Open Sarisan opened this issue 1 year ago • 2 comments

Media size limitation passed with URL is different in each case.

InlineQueryResultPhoto - 5 MiB InlineQueryResultMpeg4Gif - 1 MiB InlineQueryResultGif - 1 MiB InlineQueryResultDocument - provides no size limitation

While in reality all support files up to 10 MiB and up to 20 MiB in local mode. Is this a mistake or the documentation is outdated?

Sarisan avatar Oct 06 '24 22:10 Sarisan

While in reality all support files up to 10 MiB and up to 20 MiB in local mode.

This makes no sense. There is no a single difference in handling of files uploaded by URL in local mode compared to api.telegram.org.

levlam avatar Oct 07 '24 06:10 levlam

While in reality all support files up to 10 MiB and up to 20 MiB in local mode.

This makes no sense. There is no a single difference in handling of files uploaded by URL in local mode compared to api.telegram.org.

Yes, specifically this makes no sense. It's always up to 20 MiB despite the documentation.

Sarisan avatar Oct 07 '24 08:10 Sarisan