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

Scope Explosion: Support different messenger platforms #16

Open
LinqLover opened this issue Mar 20, 2021 · 0 comments
Open

Scope Explosion: Support different messenger platforms #16

LinqLover opened this issue Mar 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@LinqLover
Copy link
Owner

LinqLover commented Mar 20, 2021

Currently, this repository can be only used to built bots for Telegram. However, parts of the message handling and the framework could be reused for other platforms as well. We could expand the scope of this project by renaming it into Bot and providing access to multiple platforms.

This would require some general design changes:

  • Mediation/fallback code for features that are not supported on all platforms (e.g. sound messages)
  • Message object layer instead of JsonObjects for incoming messages
  • Separate message processing logic from message handling logic by extract the former into platform-specific classes (this would also improve the mocking in TelegramSmalltalkBotTest significantly)

Possible platforms to support:

  • E-mail?
  • Discord?
  • Slack?
  • Twitter?
  • GitHub?
@LinqLover LinqLover added the enhancement New feature or request label Mar 20, 2021
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

1 participant