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

Use true JSON library to configure Telegram #37

Open
denis-stepanov opened this issue Feb 8, 2023 · 0 comments
Open

Use true JSON library to configure Telegram #37

denis-stepanov opened this issue Feb 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@denis-stepanov
Copy link
Owner

Currently Telegram configuration, such as keyboards, represent JSON manually crafted in the code. For complex arrays it quickly becomes cumbersome to manage, so the task would be to switch to use of a real JSON library. Because the underlying Telegram bot library already includes JSON library as a dependency, the change should not result in more dependencies or make the executable size grow significantly.

NB: Google Assistant support includes a tiny portion of JSON to broadcast a message, also manually crafted. This case could be left as is in order to avoid extra dependencies to build 2-3 lines of JSON.

@denis-stepanov denis-stepanov added the enhancement New feature or request label Feb 8, 2023
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