Media types can be defined in the Manifest: Template.json to define the file type filtering in the Portal when creating a message.
One or more file types can be defined:
{
"type": "content",
"key": "Media",
"caption": "Video or image",
"mediaType": "video/mp4, video/webm, image/jpg, image/jpeg, image/png, image/webp",
"default": "logos/store.jpg", *
}Supported file types:
File type | Value |
|---|---|
MP4 | video/mp4 |
WebM | video/webm |
JPEG | image/jpeg |
JPG | image/jpg |
PNG | image/png |
WebP | image/webp |
MP3 | audio/mp3 |
WAV | audio/wav |
JSON | application/json |
XML | application/xml |
CSV | text/csv |
TXT | text/plain |
SVG | image/svg+xml |