Update tg.go
This commit is contained in:
@@ -64,6 +64,7 @@ func init() {
|
|||||||
Token: token,
|
Token: token,
|
||||||
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
||||||
// ParseMode: tb.ModeMarkdownV2,
|
// ParseMode: tb.ModeMarkdownV2,
|
||||||
|
Url: tg.Get("url")
|
||||||
}
|
}
|
||||||
if url := tg.Get("http_proxy"); url != "" {
|
if url := tg.Get("http_proxy"); url != "" {
|
||||||
client, clientErr := buildClientWithProxy(url)
|
client, clientErr := buildClientWithProxy(url)
|
||||||
|
|||||||
Reference in New Issue
Block a user