mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 19:12:16 +00:00
* feat: add filesystem and stdout notification channels * configure through env vars * compile * feat: add compact option for debug notification channels * fix channel mock generation * avoid sensitive information in error message Co-authored-by: Livio Amstutz <[email protected]> * add review improvements Co-authored-by: Livio Amstutz <[email protected]>
16 lines
289 B
Go
16 lines
289 B
Go
package messages
|
|
|
|
import "github.com/caos/zitadel/internal/notification/channels"
|
|
|
|
var _ channels.Message = (*SMS)(nil)
|
|
|
|
type SMS struct {
|
|
SenderPhoneNumber string
|
|
RecipientPhoneNumber string
|
|
Content string
|
|
}
|
|
|
|
func (msg *SMS) GetContent() string {
|
|
return msg.Content
|
|
}
|