Closed
Description
Instead of adding all the specific entity variables and methods, it would make sense to have a base class with a magic __call()
method that handles all requests.
Check this example from the other PHP Telegram library.
It would save a whole bunch of code and clean up effort, making it a lot more understandable and easier to test / maintain etc.
DRY = Don't Repeat Yourself