If you want to set a proxy, you can do it by passing an
httr::use_proxy
instance into the
request_config
parameter when calling the Bot
object:
<- Bot(token = "TOKEN", request_config = httr::use_proxy(...)) bot
Also, the same request_config
parameter can be passed
through the Updater
object:
<- Updater(token = "TOKEN", request_config = httr::use_proxy(...)) updater
The details for the proxy settings can be found in
?httr::use_proxy
.