Lint fixes and testing workflow actions
This commit is contained in:
@@ -28,12 +28,12 @@ type ServerConfig struct {
|
||||
|
||||
// WhatsAppConfig holds configuration for a WhatsApp account
|
||||
type WhatsAppConfig struct {
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"` // "whatsmeow" or "business-api"
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
SessionPath string `json:"session_path,omitempty"`
|
||||
ShowQR bool `json:"show_qr,omitempty"`
|
||||
BusinessAPI *BusinessAPIConfig `json:"business_api,omitempty"`
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"` // "whatsmeow" or "business-api"
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
SessionPath string `json:"session_path,omitempty"`
|
||||
ShowQR bool `json:"show_qr,omitempty"`
|
||||
BusinessAPI *BusinessAPIConfig `json:"business_api,omitempty"`
|
||||
}
|
||||
|
||||
// BusinessAPIConfig holds configuration for WhatsApp Business API
|
||||
@@ -72,7 +72,7 @@ type DatabaseConfig struct {
|
||||
// MediaConfig holds media storage and delivery configuration
|
||||
type MediaConfig struct {
|
||||
DataPath string `json:"data_path"`
|
||||
Mode string `json:"mode"` // "base64", "link", or "both"
|
||||
Mode string `json:"mode"` // "base64", "link", or "both"
|
||||
BaseURL string `json:"base_url,omitempty"` // Base URL for media links
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user