Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MattermostMessage ¶
type MattermostMessage struct {
mmModels.IncomingWebhookRequest
}
type MessageEnvelope ¶
func (*MessageEnvelope) SetDefaults ¶
func (m *MessageEnvelope) SetDefaults(defaults Options)
type SlackAccessory ¶
type SlackBlock ¶
type SlackBlock struct { Type string `json:"type"` Text *SlackText `json:"text,omitempty"` BlockID *string `json:"block_id,omitempty"` Accessory *SlackAccessory `json:"accessory,omitempty"` Fields []SlackText `json:"fields"` }
type SlackMessage ¶
type SlackMessage struct { SlackText string `json:"text"` Blocks []SlackBlock `json:"blocks"` Attachments []*mmModels.SlackAttachment `json:"attachments"` }
func (*SlackMessage) ToJson ¶
func (s *SlackMessage) ToJson() string
Click to show internal directories.
Click to hide internal directories.