lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb in twilio-ruby-5.4.3 vs lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb in twilio-ruby-5.4.4

- old
+ new

@@ -36,10 +36,10 @@ # to 1600 characters long. # @param [String] media_url The public url of an image or video to send to the # Participant. # @return [MessageInteractionInstance] Newly created MessageInteractionInstance def create(body: :unset, media_url: :unset) - data = Twilio::Values.of({'Body' => body, 'MediaUrl' => media_url,}) + data = Twilio::Values.of({'Body' => body, 'MediaUrl' => Twilio.serialize_list(media_url) { |e| e },}) payload = @version.create( 'POST', @uri, data: data \ No newline at end of file