Documentation ¶
Index ¶
- func AddAdmin(telegramUserID int64)
- func DeleteAdmin(telegramUserID int64)
- func GetConfig(field string) string
- func GetUserByTelegramUserID(telegramUserID int64) *models.User
- func IsAdmin(telegramUserID int64) bool
- func IsBlacklisted(telegramUserID int64) bool
- func IsWhitelisted(telegramUserID int64) bool
- func SetAdmin(telegramUserID int64, isAdmin bool)
- func SetConfig(field, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAdmin ¶
func DeleteAdmin(telegramUserID int64)
func GetUserByTelegramUserID ¶
func IsBlacklisted ¶
func IsWhitelisted ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.