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

Tasks with images or files #12

Open
OlegZapara opened this issue May 11, 2024 · 0 comments
Open

Tasks with images or files #12

OlegZapara opened this issue May 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@OlegZapara
Copy link
Collaborator

Usually tasks require images or files that cannot be used with via url. To solve this problem we need to add a possibility to attach them to task

Telegram: after task is created user can reply to bot message with an image or a file, which will then be used for it . Only first reply is accepted, rest is ignored. /due command also gives multiple messages - task image or file and task (if there is one) and task description.
Website: add endpoints for uploading and deleting an image of the task if task already exists. Update existing endpoints to match new functionality

Another way to implement this functionality is to not store images or files on the server, rather just to store message ID that was replied to task. /due will reply with task description to each of the task attachments
Web version would not work in such way, since there were no reply message

@OlegZapara OlegZapara added the enhancement New feature or request label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants