Skip to content

Commit ba89a17

Browse files
authored
adding callback_id for more complex interaction
not needed for what I'm trying to achieve, but someone will find it useful: https://api.slack.com/docs/message-buttons
1 parent 8ba06f7 commit ba89a17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type Attachment struct {
3636
Timestamp *int64 `json:"ts"`
3737
MarkdownIn *[]string `json:"mrkdwn_in"`
3838
Actions []*Action `json:"actions"`
39+
CallbackID *string `json:"callback_id"`
3940
}
4041

4142
type Payload struct {

0 commit comments

Comments
 (0)