Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct {
Title string `json:"title,omitempty"`
TitleLink string `json:"title_link,omitempty"`
Text string `json:"text,omitempty"`
ImageURL string `json:"image_url,omitempty"`
ThumbURL string `json:"thumb_url,omitempty"`
Color string `json:"color,omitempty"`
Fields []config.RocketchatAttachmentField `json:"fields,omitempty"`
Actions []config.RocketchatAttachmentAction `json:"actions,omitempty"`
}
PostMessage Payload for postmessage rest API
https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage/
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
type PostMessage ¶
type PostMessage struct {
Channel string `json:"channel,omitempty"`
Text string `json:"text,omitempty"`
ParseUrls bool `json:"parseUrls,omitempty"`
Alias string `json:"alias,omitempty"`
Emoji string `json:"emoji,omitempty"`
Avatar string `json:"avatar,omitempty"`
Attachments []Attachment `json:"attachments,omitempty"`
Actions []config.RocketchatAttachmentAction `json:"actions,omitempty"`
}
PostMessage Payload for postmessage rest API
https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage/
Click to show internal directories.
Click to hide internal directories.