chore: build
This commit is contained in:
@@ -16,6 +16,7 @@ var LBTelegram *LBTelegramService
|
||||
type LBTelegramService struct {
|
||||
gatewayURL string
|
||||
Bot1Username string
|
||||
Bot2Username string
|
||||
client *http.Client
|
||||
}
|
||||
|
||||
@@ -27,6 +28,7 @@ func NewLBTelegramService() *LBTelegramService {
|
||||
svc := &LBTelegramService{
|
||||
gatewayURL: url,
|
||||
Bot1Username: os.Getenv("LBTELEGRAM_BOT1_USERNAME"),
|
||||
Bot2Username: os.Getenv("LBTELEGRAM_BOT2_USERNAME"),
|
||||
client: &http.Client{Timeout: 10 * time.Second},
|
||||
}
|
||||
LBTelegram = svc
|
||||
|
||||
Reference in New Issue
Block a user