Skip to content

Commit

Permalink
use pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-Johan Grahn authored and Karl-Johan Grahn committed Sep 29, 2021
1 parent 5c5c703 commit 17f8331
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions block_element.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,14 @@ func NewTimePickerBlockElement(actionID string) *TimePickerBlockElement {
//
// More Information: https://api.slack.com/reference/block-kit/block-elements#input
type PlainTextInputBlockElement struct {
Type MessageElementType `json:"type"`
ActionID string `json:"action_id,omitempty"`
Placeholder *TextBlockObject `json:"placeholder,omitempty"`
InitialValue string `json:"initial_value,omitempty"`
Multiline bool `json:"multiline,omitempty"`
MinLength int `json:"min_length,omitempty"`
MaxLength int `json:"max_length,omitempty"`
DispatchActionConfig DispatchActionConfig `json:"dispatch_action_config,omitempty"`
Type MessageElementType `json:"type"`
ActionID string `json:"action_id,omitempty"`
Placeholder *TextBlockObject `json:"placeholder,omitempty"`
InitialValue string `json:"initial_value,omitempty"`
Multiline bool `json:"multiline,omitempty"`
MinLength int `json:"min_length,omitempty"`
MaxLength int `json:"max_length,omitempty"`
DispatchActionConfig *DispatchActionConfig `json:"dispatch_action_config,omitempty"`
}

type DispatchActionConfig struct {
Expand Down

0 comments on commit 17f8331

Please sign in to comment.