From 2a4f2b5f89f020d6f180bed234ea90ac16ea13ea Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 13 Sep 2024 19:04:48 +0300 Subject: [PATCH] Revert "Remove ID field in attachments" This reverts commit bd588ffc246f8dd957a056d299d1b00c4667707a. --- attachments.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/attachments.go b/attachments.go index 241055fad..de4d75888 100644 --- a/attachments.go +++ b/attachments.go @@ -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"`