package
Version:
v0.0.0-...-b0c12f8
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Envs struct {
App app
Infra infra
Telegram Telegram
}
type Telegram struct {
Token string `envconfig:"BOT_TOKEN"`
WebhookListenUrl string `envconfig:"WEBHOOK_URL"`
WebhookUriPathBase string `envconfig:"WEBHOOK_PATH_BASE"`
WebhookUserID int64 `envconfig:"WEBHOOK_USER_ID"`
SecretToken string `envconfig:"SECRET_TOKEN"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.