Skip to content

Commit

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

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

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

0 comments on commit bd588ff

Please sign in to comment.