Skip to content

Commit

Permalink
Add Title to Attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Jun 25, 2024
1 parent 2bb7320 commit 7dbeaeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
type Attachment struct {
ID snowflake.ID `json:"id,omitempty"`
Filename string `json:"filename,omitempty"`
Title *string `json:"title,omitempty"`
Description *string `json:"description,omitempty"`
ContentType *string `json:"content_type,omitempty"`
Size int `json:"size,omitempty"`
Expand Down

1 comment on commit 7dbeaeb

@sebm253
Copy link
Member Author

@sebm253 sebm253 commented on 7dbeaeb Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.