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 ability to request downloads using telegram (new) #1031

Merged
merged 5 commits into from
Nov 30, 2023
Merged

Conversation

Tzahi12345
Copy link
Owner

Supersedes #998. Uses webhooks instead of polling which simplifies the code updates

Documentation will follow.

downloader_api.createDownload(text, 'video', {}, req.query.user_uid ? req.query.user_uid : null);
res.sendStatus(200);
} else {
logger.error('Invalid Telegram request received! Make sure you only send a valid URL.');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you're looking for feedback, but would it make sense to send this error in telegram so that feedback is immediate?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always looking for feedback! I think that's a great idea, will implement.

@Tzahi12345 Tzahi12345 merged commit 0e33b2d into master Nov 30, 2023
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