Documentation
¶
Overview ¶
Package settings consists of an interface that must provide user settings to the bot.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionsFetcher ¶
type OptionsFetcher interface {
FetchUserOptions(uid int64, defaultLang string) (LangCode, UserOptions)
}
OptionsFetcher is an interface which you should implement if you want to have your specific options to be injected into the github.com/kozalosev/goSadTgBot/base.RequestEnv struct automatically.
Click to show internal directories.
Click to hide internal directories.