Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { Email string `json:"email"` Message string `json:"message"` MessageHTML string `json:"messageHTML"` Subject string `json:"subject"` }
func NotificationFromJSON ¶
func NotificationFromJSON(data io.Reader) (Notification, error)
func (*Notification) GetNotificationPost ¶
func (notification *Notification) GetNotificationPost(botID, channelID string) *model.Post
func (*Notification) ToJSON ¶
func (notification *Notification) ToJSON() []byte
Click to show internal directories.
Click to hide internal directories.