We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a4657 commit de575c1Copy full SHA for de575c1
discord/component.go
@@ -675,6 +675,8 @@ type UnfurledMediaItem struct {
675
Width int `json:"width,omitempty"`
676
// ContentType is the content type of the media item. This can't be set by bots.
677
ContentType string `json:"content_type,omitempty"`
678
+ // AttachmentID is the id of the uploaded attachment. This can't be set by bots.
679
+ AttachmentID snowflake.ID `json:"attachment_id,omitempty"`
680
// LoadingState is the loading state of the media item. This can't be set by bots.
681
LoadingState UnfurledMediaItemLoadingState `json:"loading_state,omitempty"`
682
}
0 commit comments