2024-01-30 11:26:41 +00:00
|
|
|
package ap
|
|
|
|
|
|
|
|
import "net/url"
|
|
|
|
|
2024-01-31 16:56:07 +00:00
|
|
|
// Media content (video files, images, audio)
|
2024-01-30 11:26:41 +00:00
|
|
|
type Media struct {
|
2024-01-31 16:56:07 +00:00
|
|
|
Type string `json:"type"` // Should probably always be "Image", "Video" or similar. Dunno if "Video" is correct
|
|
|
|
MediaType *string `json:"mediaType,omitempty"` // What media type the linked resource is. Something like "image/png"
|
|
|
|
Url url.URL `json:"url"` // Where to find the media file
|
2024-01-30 11:26:41 +00:00
|
|
|
}
|