Google Cloud Dialogflow v2 API - Class Intent.Types.Message.Types.MediaContent (4.6.0)

public sealed class MediaContent : IMessage<Intent.Types.Message.Types.MediaContent>, IEquatable<Intent.Types.Message.Types.MediaContent>, IDeepCloneable<Intent.Types.Message.Types.MediaContent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Intent.Types.Message.Types.MediaContent.

The media content card for Actions on Google.

Inheritance

Object > Intent.Types.Message.Types.MediaContent

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

MediaContent()

public MediaContent()

MediaContent(Intent.Types.Message.Types.MediaContent)

public MediaContent(Intent.Types.Message.Types.MediaContent other)
Parameter
NameDescription
otherIntent.Types.Message.Types.MediaContent

Properties

MediaObjects

public RepeatedField<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject> MediaObjects { get; }

Required. List of media objects.

Property Value
TypeDescription
RepeatedField<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>

MediaType

public Intent.Types.Message.Types.MediaContent.Types.ResponseMediaType MediaType { get; set; }

Optional. What type of media is the content (ie "audio").

Property Value
TypeDescription
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaType