Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChatCache = make(map[string]*Conversation, 1)
View Source
var Client *whatsmeow.Client
View Source
var EventHandlerID uint32 = 0
View Source
var LLM = make(map[string]string)
View Source
var Once sync.Once
Functions ¶
func GetAllKeyString ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type BotInformation ¶
type BotInformation struct { NumberJid *types.JID NumberString string `json:"bot_number"` DBPath string `json:"db_path"` }
var BotInfo BotInformation
type Conversation ¶
type Conversation struct {
Messages []Message `json:"messages"`
}
Click to show internal directories.
Click to hide internal directories.