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

refactor: remove Update.{Edited, NonChannel, Channel} through inlining #719

Open
Tracked by #675
KnorpelSenf opened this issue Dec 15, 2024 · 1 comment
Open
Tracked by #675

Comments

@KnorpelSenf
Copy link
Member

They serve no real purpose. The fact that these values exist mostly is an artefact from a previous way of structuring the Bot API types in TS.

@KnorpelSenf KnorpelSenf mentioned this issue Dec 15, 2024
48 tasks
@KnorpelSenf
Copy link
Member Author

As a matter of fact, they do serve a purpose, and removing them is not as easy as I expected. However, I still want to do this because I dislike the name clashes of namespaces and interfaces if the namespaces only hold internal properties. I think this works quite fine for chats etc but I don't want to keep on doing this for unspecified records such as it is done for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant