go-telegram-bot-api / telegram-bot-api

Golang bindings for the Telegram Bot API
https://go-telegram-bot-api.dev
MIT License
5.7k stars 879 forks source link

Fix file handling in WriteToHTTPResponse #521

Open CNA-Bld opened 2 years ago

CNA-Bld commented 2 years ago

356 updates the logic to support uploading multiple files but accidentally breaks this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #521 (714d368) into master (4fe428c) will decrease coverage by 0.05%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #521      +/-   ##
==========================================
- Coverage   45.98%   45.92%   -0.06%     
==========================================
  Files           7        7              
  Lines        1555     1557       +2     
==========================================
  Hits          715      715              
- Misses        783      785       +2     
  Partials       57       57              
Impacted Files Coverage Δ
bot.go 37.82% <0.00%> (-0.25%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ef6e421...714d368. Read the comment docs.