Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRequest ¶
CheckRequest type definition
type InParams ¶
type InParams struct {
TextPattern *Regexp `json:"text_pattern"`
}
InParams type definition
type InRequest ¶
type InRequest struct { Source Source `json:"source"` Version Version `json:"version"` Params InParams `json:"params"` }
InRequest type definition
type InResponse ¶
InResponse type definition
type MessageFilter ¶
type MessageFilter struct { AuthorID string `json:"author"` TextPattern *Regexp `json:"text_pattern"` }
MessageFilter type definition
type MetadataField ¶
MetadataField type definition
type OutMessage ¶
type OutMessage struct { Attachments []slack.Attachment `json:"attachments"` Blocks slack.Blocks `json:"blocks"` Text string `json:"text"` slack.PostMessageParameters }
OutMessage type definition
type OutParams ¶
type OutParams struct { Message *OutMessage `json:"message"` MessageFile string `json:"message_file"` }
OutParams type definition
type OutRequest ¶
OutRequest type definition
type OutResponse ¶
OutResponse type definition
type Regexp ¶
Regexp type definition
func (*Regexp) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller
type Source ¶
type Source struct { Token string `json:"token"` ChannelID string `json:"channel_id"` CheckMostRecent int `json:"check_most_recent"` Filter *MessageFilter `json:"matching"` ReplyFilter *MessageFilter `json:"not_replied_by"` }
Source type definition
Click to show internal directories.
Click to hide internal directories.