Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(settings *ClientSettings) *Client
type ClientSettings ¶
type Message ¶
type Message struct { Recipient *MessageRecipient `json:"recipient"` Content *MessageContent `json:"content"` }
type MessageChannel ¶
type MessageContent ¶
type MessageContent struct { ClassName string `json:"className"` Style string `json:"style"` Sections []*MessageContentSection `json:"sections"` }
type MessageContentSection ¶
type MessageContentSection struct { ClassName string `json:"className"` Header string `json:"header"` Elements []*MessageContentSectionElement `json:"elements"` }
type MessageRecipient ¶
type MessageRecipient struct { ClassName string `json:"className"` Channel *MessageChannel `json:"channel"` }
Click to show internal directories.
Click to hide internal directories.