Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) GetAPI() *slack.Client
- func (c *Client) GetCategoryOptions(typeAheadValue *string) slack.OptionsResponse
- func (c *Client) HandleModalSubmission(payload *slack.InteractionCallback) error
- func (c *Client) OpenDecisionModal(triggerID string, triggerChannel string, options ...Option) (*slack.View, error)
- type Decision
- type Option
Constants ¶
View Source
const ( SlashCommand = "/decision" TitleBlockID = "title_block" TitleInputID = "title_input" CategoryBlockID = "category_block" CategorySelectID = "category_select" ContextBlockID = "context_block" ContextInputID = "context_input" DecisionBlockID = "decision_block" DecisionInputID = "decision_input" ConsequencesBlockID = "consequences_block" ConsequencesInputID = "consequences_input" LogDecisionCallbackID = "log_decision" )
Variables ¶
View Source
var ( Token string CommitAsPRs bool )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.0.1
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCategoryOptions ¶ added in v1.0.1
func (c *Client) GetCategoryOptions(typeAheadValue *string) slack.OptionsResponse
func (*Client) HandleModalSubmission ¶ added in v1.0.1
func (c *Client) HandleModalSubmission(payload *slack.InteractionCallback) error
type Option ¶ added in v1.3.5
type Option = func(*Decision)
func WithConsequences ¶ added in v1.3.5
func WithContext ¶ added in v1.3.5
func WithDecision ¶ added in v1.3.5
Click to show internal directories.
Click to hide internal directories.