package
Version:
v1.5.42
Opens a new window with list of versions in this module.
Published: Dec 31, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AIChatHistory struct {
Messages []AIMessage `json:"messages"`
}
type AIChatResponse struct {
AIResponse string `json:"ai_response"`
Tokens int `json:"tokens"`
TimeTaken int `json:"time_taken"`
}
type AIMessage struct {
Message string `json:"message"`
Role AIRoles `json:"role"`
}
type Email struct {
Subject string `json:"subject"`
Body EmailBody `json:"body"`
}
type EmailBody ¶
added in
v1.4.37
type EmailBody struct {
Text string `json:"text"`
HTML string `json:"html"`
}
type ErrorMessage struct {
ErrorCode int `json:"error_code"`
Description string `json:"description"`
ErrorMsg string `json:"error_msg"`
UserMsg string `json:"user_msg"`
ErrorLevel string `json:"error_level"`
}
type GoogleCallbackData struct {
Email string `json:"email"`
Name string `json:"name"`
Picture string `json:"picture"`
VerifiedEmail bool `json:"verified_email"`
ID string `json:"id"`
}
type SingleEmailRequest struct {
Email
To string `json:"to"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.