Documentation
¶
Index ¶
- func GetChannelInfo(slack client.Slack, cache cache.Cache) flyte.Command
- func SendMessage(slack client.Slack) flyte.Command
- func SendRichMessage(sender RichMessageSender) flyte.Command
- type GetChannelInfoFail
- type GetChannelInfoInput
- type GetChannelInfoSuccess
- type RichMessageSender
- type SendMessageErrorOutput
- type SendMessageInput
- type SendMessageOutput
- type SendRichMessageErrorOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRichMessage ¶
func SendRichMessage(sender RichMessageSender) flyte.Command
Types ¶
type GetChannelInfoFail ¶
type GetChannelInfoFail struct {
GetChannelInfoInput
Reason string `json:"reason"`
}
type GetChannelInfoInput ¶
type GetChannelInfoInput struct {
ChannelName string `json:"channelName"`
}
type GetChannelInfoSuccess ¶
type GetChannelInfoSuccess struct {
GetChannelInfoInput
Conversation *types.Conversation `json:"conversation,omitempty"`
}
type RichMessageSender ¶
type RichMessageSender interface {
SendRichMessage(rm client.RichMessage) (respChannel string, respTimestamp string, err error)
}
type SendMessageErrorOutput ¶
type SendMessageErrorOutput struct {
SendMessageOutput
Error string `json:"error"`
}
type SendMessageInput ¶
type SendMessageOutput ¶
type SendMessageOutput struct {
SendMessageInput
}
type SendRichMessageErrorOutput ¶
type SendRichMessageErrorOutput struct {
InputMessage client.RichMessage `json:"inputMessage"`
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.