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

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

Add http client proxy #471

Closed luokuncool closed 2 years ago

luokuncool commented 3 years ago

Add http client proxy to NewBotAPI

Syfaro commented 2 years ago

Hi, sorry in the delay in review.

I'd like to avoid merging this, because you can already pass your own HTTP client which means this code doesn't have to be in the library.

luokuncool commented 2 years ago

@Syfaro Thanks for your relply. I see, that is a better way