mattermost-community-enterp.../public/model/email_notification.go
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00

38 lines
1.4 KiB
Go

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package model
type EmailNotificationContent struct {
Subject string `json:"subject,omitempty"`
Title string `json:"title,omitempty"`
SubTitle string `json:"subtitle,omitempty"`
MessageHTML string `json:"message_html,omitempty"`
MessageText string `json:"message_text,omitempty"`
ButtonText string `json:"button_text,omitempty"`
ButtonURL string `json:"button_url,omitempty"`
FooterText string `json:"footer_text,omitempty"`
}
type EmailNotification struct {
PostId string `json:"post_id"`
ChannelId string `json:"channel_id"`
TeamId string `json:"team_id"`
SenderId string `json:"sender_id"`
SenderDisplayName string `json:"sender_display_name,omitempty"`
RecipientId string `json:"recipient_id"`
RootId string `json:"root_id,omitempty"`
ChannelType string `json:"channel_type"`
ChannelName string `json:"channel_name"`
TeamName string `json:"team_name"`
SenderUsername string `json:"sender_username"`
IsDirectMessage bool `json:"is_direct_message"`
IsGroupMessage bool `json:"is_group_message"`
IsThreadReply bool `json:"is_thread_reply"`
IsCRTEnabled bool `json:"is_crt_enabled"`
UseMilitaryTime bool `json:"use_military_time"`
EmailNotificationContent
}