Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

delete the graph image after 5 minutes to save user's space #67

Closed
rahgurung opened this issue Aug 18, 2020 · 3 comments
Closed

delete the graph image after 5 minutes to save user's space #67

rahgurung opened this issue Aug 18, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@rahgurung
Copy link
Member

Research to be done on how to make this possible.

@rahgurung rahgurung added enhancement New feature or request question Further information is requested help wanted Extra attention is needed labels Aug 22, 2020
@baljinderxd
Copy link
Contributor

I searched about this and was not able to find anything where bot itself can delete the message after a period of time.

What now I have done is that I have implemented an inline keyboard with the graph images with a delete button. And tapping the button deletes the graph image from the chat and device too thus saving the user's space.

image

So if you want I can make a PR for what I have implemented.

@rahgurung
Copy link
Member Author

This will do the job but having a button below the chart looks disturbing, let's keep it clean and since each image is only around 70-100kb size, it's not an issue I guess. We can close this issue I guess, what do you think?

@baljinderxd
Copy link
Contributor

baljinderxd commented Sep 17, 2020

My thoughts on this are similar to yours. Graph images are very small in size and can be deleted by the user themselves anytime.
You may proceed to close this issue. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants