Documentation
¶
Index ¶
- type Book
- type Chat
- type DB
- func (C DB) AddIfNotExistDefaultChat()
- func (C DB) AddIfNotExistDefaultWelcome()
- func (C DB) AddIfNotExistRules()
- func (C DB) AddOrEditChat(chat Chat)
- func (C DB) AddOrEditRules(chatID int64, title, rule string)
- func (C DB) AddOrEditUsers(userID int64, name string, w int)
- func (C DB) AddOrEditWelcome(chatID int64, rule string)
- func (C DB) GetChats() []Chat
- func (C DB) GetName(userID int64) string
- func (C DB) GetRules(chatID int64) string
- func (C DB) GetTitle(chatID int64) string
- func (C DB) GetWarns(userID int64) int
- func (C DB) GetWelcome(chatID int64) string
- type Rules
- type User
- type Welcome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (DB) AddIfNotExistDefaultChat ¶
func (C DB) AddIfNotExistDefaultChat()
func (DB) AddOrEditChat ¶
func (DB) AddOrEditRules ¶
func (DB) AddOrEditWelcome ¶
func (DB) GetWelcome ¶
Click to show internal directories.
Click to hide internal directories.