whatsapp-multi-devicewhatsapp-apiwhatsapprestgolanggogolang-whatsapp-apigolang-whatsappbotwhatsapp-web-multi-devicewhatsapp-api-gorest-api
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
package config
|
|
|
|
import (
|
|
"go.mau.fi/whatsmeow/proto/waCompanionReg"
|
|
)
|
|
|
|
var (
|
|
AppVersion = "v5.1.0"
|
|
AppPort = "3000"
|
|
AppDebug = false
|
|
AppOs = "AldinoKemal"
|
|
AppPlatform = waCompanionReg.DeviceProps_PlatformType(1)
|
|
AppBasicAuthCredential []string
|
|
AppChatFlushIntervalDays = 7 // Number of days before flushing chat.csv
|
|
|
|
PathQrCode = "statics/qrcode"
|
|
PathSendItems = "statics/senditems"
|
|
PathMedia = "statics/media"
|
|
PathStorages = "storages"
|
|
PathChatStorage = "storages/chat.csv"
|
|
|
|
DBURI = "file:storages/whatsapp.db?_foreign_keys=off"
|
|
|
|
WhatsappAutoReplyMessage string
|
|
WhatsappWebhook []string
|
|
WhatsappWebhookSecret = "secret"
|
|
WhatsappLogLevel = "ERROR"
|
|
WhatsappSettingMaxImageSize int64 = 20000000 // 20MB
|
|
WhatsappSettingMaxFileSize int64 = 50000000 // 50MB
|
|
WhatsappSettingMaxVideoSize int64 = 100000000 // 100MB
|
|
WhatsappSettingMaxDownloadSize int64 = 500000000 // 500MB
|
|
WhatsappTypeUser = "@s.whatsapp.net"
|
|
WhatsappTypeGroup = "@g.us"
|
|
WhatsappAccountValidation = true
|
|
)
|