Browse Source

import log

pull/156/head
Abdul Rahman 2 years ago
parent
commit
cde655c9d3
  1. 3
      src/config/settings.go

3
src/config/settings.go

@ -1,6 +1,7 @@
package config package config
import ( import (
"log"
"os" "os"
"strconv" "strconv"
@ -26,7 +27,7 @@ var (
WhatsappWebhook string = getEnv("WhatsappWebhook", "") WhatsappWebhook string = getEnv("WhatsappWebhook", "")
WhatsappLogLevel string = getEnv("WhatsappLogLevel", "ERROR") WhatsappLogLevel string = getEnv("WhatsappLogLevel", "ERROR")
WhatsappSettingMaxFileSize int64 = getEnvAsInt64("WhatsappSettingMaxFileSize", 50000000) // 50MB WhatsappSettingMaxFileSize int64 = getEnvAsInt64("WhatsappSettingMaxFileSize", 50000000) // 50MB
WhatsappSettingMaxVideoSize int64 = getEnvAsInt64("WhatsappSettingMaxVideoSize", 100000000) // 100MB
WhatsappSettingMaxVideoSize int64 = getEnvAsInt64("WhatsappSettingMaxVideoSize", 100000000) // 100MB
WhatsappTypeUser string = "@s.whatsapp.net" WhatsappTypeUser string = "@s.whatsapp.net"
WhatsappTypeGroup string = "@g.us" WhatsappTypeGroup string = "@g.us"
) )

Loading…
Cancel
Save