Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BotServiceName = "botService"
View Source
var Container di.Container
Functions ¶
func BotService ¶ added in v1.9.5
func BotService(configFilePath string, registerRouteFunction RouteRegisterFunc) *di.Def
func Init ¶
func Init(configFilePath string, registerRouteFunction RouteRegisterFunc)
Types ¶
type Ctx ¶ added in v1.9.7
type Ctx interface {
GetLocales() []string
Text(key string, l string, args ...any) string
Keyboard(text string, l ...string) tele.ReplyMarkup
}
var Context Ctx = ctx
type RouteRegisterFunc ¶
Click to show internal directories.
Click to hide internal directories.