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

Add telegram.SetClient function #602

Merged
merged 3 commits into from
Jun 7, 2023
Merged

Add telegram.SetClient function #602

merged 3 commits into from
Jun 7, 2023

Conversation

onemedicine
Copy link
Contributor

Description

Add telegram.SetClient function

Motivation and Context

Better compatibility with tgbotapi.NewBotAPIWithClient, because it allows to use a custom http.Client.

How Has This Been Tested?

No test files, no other effects.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5e9ddeb) 75.17% compared to head (d0d6f05) 75.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #602   +/-   ##
=======================================
  Coverage   75.17%   75.17%           
=======================================
  Files          42       42           
  Lines        1458     1458           
=======================================
  Hits         1096     1096           
  Misses        268      268           
  Partials       94       94           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nikoksr nikoksr merged commit 2966e18 into nikoksr:main Jun 7, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants