//flynt-disable field-type-breaking-change
syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.comm.channels.entities.v2.commons.channel;

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "wix/api/annotations.proto";


message MediaCapabilities {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v2.commons.channel.MediaCapabilities";
  // When marked as true, 'supported_media_types' will be ignored.
  bool all_media_types = 1;

  reserved 2;

  // Maximal file size in bytes of a single file in a message
  google.protobuf.Int32Value max_file_size_in_bytes = 3;

  // List for supported media MIME types. Used when allMediaTypes is set to `false`
  //Allowed MIME types must be according to the format as described here:
  //https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
  repeated string supported_media_types = 4 [(wix.api.maxSize) = 50, (wix.api.maxLength) = 255];

}
