syntax = "proto3";

package com.wixpress.appservice.api;

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

// a translated TextToSpeech payload sent to UOU
message TextToSpeechActionMessage {
  // Text-to-speech message body. Should be a valid SSML as string.
  // See https://www.w3.org/TR/speech-synthesis/
  // i.e. <speak>\r\nHi, testing text to speech.\r\n</speak>
  // i.e. <speak>\r\n<audio src=\"https://storage.googleapis.com/wix-restaurants/audio/beep.mp3\"/>\r\nA new order was received.\r\n</speak>
  string body = 1 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 5000, (wix.api.translatable) = {
    type: LONG_TEXT
  }];
}