Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Separate Telegram module into a different repo/package #2

Open
4 tasks
viktorprogger opened this issue Nov 26, 2021 · 0 comments
Open
4 tasks

Separate Telegram module into a different repo/package #2

viktorprogger opened this issue Nov 26, 2021 · 0 comments

Comments

@viktorprogger
Copy link
Owner

viktorprogger commented Nov 26, 2021

  • Remove subscriber from Request. To do this, add attributes to the Request, just like in ServerRequestInterface from the PSR-7. It should be added via a middleware. So, middlewares should also be added to this library.
  • Create DTO for a Telegram update entity. Of course, there should also be a repository interface for getting and saving it.
  • Remove SubscriberService. It's an application-specific functionality.
  • Refactor console commands to be used with different bot tokens and webhook URLs in a single application
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant