-
Notifications
You must be signed in to change notification settings - Fork 24
Set a Proxy
Ernest Benedito edited this page Dec 1, 2018
·
3 revisions
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 <- Bot(token = "TOKEN", request_config = httr::use_proxy(...))
Also, the same request_config
parameter can be passed through the Updater
object:
updater <- Updater(token = "TOKEN", request_config = httr::use_proxy(...))
The details for the proxy settings can be found in ?httr::use_proxy
.
Wiki of telegram.bot
© Copyright 2018 – Licensed by Creative Commons Attribution 3.0 Unported License.