Skip to content

Commit

Permalink
Revert "Remove ID field in attachments"
Browse files Browse the repository at this point in the history
This reverts commit bd588ff.
  • Loading branch information
tulir committed Sep 13, 2024
1 parent bd588ff commit 2a4f2b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions attachments.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ type Attachment struct {
Fallback string `json:"fallback,omitempty"`

CallbackID string `json:"callback_id,omitempty"`
// TODO may be string?
//ID int `json:"id,omitempty"`
ID int `json:"id,omitempty"`

AuthorID string `json:"author_id,omitempty"`
AuthorName string `json:"author_name,omitempty"`
Expand Down

0 comments on commit 2a4f2b5

Please sign in to comment.