16 lines
402 B
Go
16 lines
402 B
Go
package initialize
|
|
|
|
import (
|
|
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
|
|
"go.uber.org/zap"
|
|
"gitea.pena/PenaSide/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)}
|
|
}
|