Some checks failed
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/bump_version Pipeline failed
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
17 lines
517 B
Go
17 lines
517 B
Go
package notificationimp
|
|
|
|
type Config struct {
|
|
Driver string `yaml:"driver"`
|
|
Settings map[string]any `yaml:"settings,omitempty"`
|
|
Telegram *TelegramConfig `yaml:"telegram"`
|
|
}
|
|
|
|
type TelegramConfig struct {
|
|
BotTokenEnv string `yaml:"bot_token_env"`
|
|
ChatIDEnv string `yaml:"chat_id_env"`
|
|
ThreadIDEnv string `yaml:"thread_id_env,omitempty"`
|
|
APIURL string `yaml:"api_url,omitempty"`
|
|
ParseMode string `yaml:"parse_mode,omitempty"`
|
|
TimeoutSeconds int `yaml:"timeout_seconds"`
|
|
}
|