summaryrefslogtreecommitdiff
path: root/pkg/mastotypes/model/card.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mastotypes/model/card.go')
-rw-r--r--pkg/mastotypes/model/card.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/mastotypes/model/card.go b/pkg/mastotypes/model/card.go
index 097ebbd30..97de795d8 100644
--- a/pkg/mastotypes/model/card.go
+++ b/pkg/mastotypes/model/card.go
@@ -20,5 +20,7 @@ package mastotypes
// Card represents a rich preview card that is generated using OpenGraph tags from a URL. See here: https://docs.joinmastodon.org/entities/card/
type Card struct {
-
+ URL string `json:"url"`
+ Title string `json:"title"`
+ Description string `json:"description"`
}