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

feat!: name clients Bot to differentiate from TelegramApi #253

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

EdJoPaTo
Copy link
Collaborator

With having both named Api and TelegramApi it's not as easy to understand what is what. One describes the interface (TelegramApi) and one is used to actually interact with the Bot (Bot).

As the update to 0.39 will require users to explicitly specify the new features they will know the name of the HTTP client they want anyway.

With having both named `Api` and `TelegramApi` its not as easy to understand
what is what. One describes the interface (`TelegramApi`) and one is used
to actually interact with the Bot (`Bot`).

As the update to 0.39 will require users to explictly specify the new
features they will know the name of the http client they want anyway.
@EdJoPaTo
Copy link
Collaborator Author

This is an idea, not sure what you think @ayrat555 @pxp9

Copy link
Owner

@ayrat555 ayrat555 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one comment. otherwise looking good

Conflicts:
	examples/custom_client.rs
	src/client_ureq.rs
Copy link
Owner

@ayrat555 ayrat555 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good!

@EdJoPaTo EdJoPaTo marked this pull request as ready for review February 2, 2025 12:01
For example when looking at an old crate / readme version the badges show the current version which doesnt really fit the content well.
Also, the build information is most of the time pointless to know when looking at the readme
@ayrat555 ayrat555 merged commit 0b37e8f into master Feb 3, 2025
70 checks passed
@ayrat555 ayrat555 deleted the name-all-clients-bot branch February 3, 2025 06:48
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

Successfully merging this pull request may close these issues.

3 participants