zitadel/internal/notification/channels/twilio/config.go
2023-03-16 17:24:30 +00:00

12 lines
200 B
Go

package twilio
type Config struct {
SID string
Token string
SenderNumber string
}
func (t *Config) IsValid() bool {
return t.SID != "" && t.Token != "" && t.SenderNumber != ""
}