Skip to content

Commit 7dbeaeb

Browse files
author
sebm253
committed
Add Title to Attachment
1 parent 2bb7320 commit 7dbeaeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discord/attachment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
type Attachment struct {
1111
ID snowflake.ID `json:"id,omitempty"`
1212
Filename string `json:"filename,omitempty"`
13+
Title *string `json:"title,omitempty"`
1314
Description *string `json:"description,omitempty"`
1415
ContentType *string `json:"content_type,omitempty"`
1516
Size int `json:"size,omitempty"`

0 commit comments

Comments
 (0)