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

[FEAT]: Create updates processing subsystem #73

Open
quenbyako opened this issue Mar 1, 2021 · 3 comments
Open

[FEAT]: Create updates processing subsystem #73

quenbyako opened this issue Mar 1, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@quenbyako
Copy link
Member

Problem description:

Since we have a lot of issues and requests for making utilities to get, handle and process telegram updates, we need to create separate subsystem for it. It must be splitted by specific subsystem. cause some projects doesn't need get updates at all.

Solution:

The idea is to make a separate subpackage that wraps around the telegram.Client itself, very similar to the existing deeplinks package. Perhaps we will be able to make a manager of such updates so as not to load the main components (telegram.Client and mtproto.Client), since not in all cases users need to receive updates.

Possible alternatives:

Leave this problem to end users, but i'm not sure that it's a good solution.

Additional context

Linked issues:

@quenbyako quenbyako added the enhancement New feature or request label Mar 1, 2021
@quenbyako quenbyako pinned this issue Mar 8, 2021
@AmarnathCJD
Copy link

done

@quenbyako
Copy link
Member Author

Where?

@AmarnathCJD
Copy link

updates.go

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