16 lines
433 B
Go
16 lines
433 B
Go
![]() |
package initialize
|
||
|
|
||
|
import (
|
||
|
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
|
||
|
"go.uber.org/zap"
|
||
|
"penahub.gitlab.yandexcloud.net/backend/templategen_feedback/internal/client"
|
||
|
)
|
||
|
|
||
|
type Clients struct {
|
||
|
Telegram *client.Telegram
|
||
|
}
|
||
|
|
||
|
func NewClients(logger *zap.Logger, bot *tgbotapi.BotAPI, chatID int64, templatePath string) *Clients {
|
||
|
return &Clients{Telegram: client.NewTelegram(logger, bot, chatID, templatePath)}
|
||
|
}
|