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

fetching big files sent to bot & download them #259

Closed
kingk110 opened this issue Jun 1, 2024 · 1 comment
Closed

fetching big files sent to bot & download them #259

kingk110 opened this issue Jun 1, 2024 · 1 comment
Labels
question General question or discussion

Comments

@kingk110
Copy link

kingk110 commented Jun 1, 2024

I am trying to use the example in the link https:/wiz0u/WTelegramClient/blob/master/Examples/Program_DownloadSavedMedia.cs

I want to send message to my bot and fetch it and download media containing in it.
I made a project using Telegram.Bot package and was able to do that but the problem that bot api prevent downloading files larger than 20 MB.

now this package is hard for me to understand I spend lot of hours trying to get the messages sent to the bot but with no results.
If I use the Messages_GetAllChats it returns chats from channels only not from users.
I want a user to send me a video and the program must download it.

@wiz0u
Copy link
Owner

wiz0u commented Jun 10, 2024

As discussed in group, if you want to build a bot that can upload or download big files, it is recommended you use library WTelegramBot instead which was designed exactly for that purpose, while still presenting the Bot API methods which are more simple than the Client API.

@wiz0u wiz0u closed this as completed Jun 10, 2024
@wiz0u wiz0u added the question General question or discussion label Jun 10, 2024
@wiz0u wiz0u changed the title fetching messages sent to bot download them fetching big files sent to bot & download them Jun 10, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question General question or discussion
Projects
None yet
Development

No branches or pull requests

2 participants