public sealed class MediaContent : IMessage<Intent.Types.Message.Types.MediaContent>, IEquatable<Intent.Types.Message.Types.MediaContent>, IDeepCloneable<Intent.Types.Message.Types.MediaContent>, IBufferMessage, IMessage
The media content card for Actions on Google.
Inheritance
System.Object > Intent.Types.Message.Types.MediaContentImplements
IMessage<Intent.Types.Message.Types.MediaContent>, IEquatable<Intent.Types.Message.Types.MediaContent>, IDeepCloneable<Intent.Types.Message.Types.MediaContent>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
MediaContent()
public MediaContent()
MediaContent(Intent.Types.Message.Types.MediaContent)
public MediaContent(Intent.Types.Message.Types.MediaContent other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.Message.Types.MediaContent |
Properties
MediaObjects
public RepeatedField<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject> MediaObjects { get; }
Required. List of media objects.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaType |