public sealed class ResponseMediaObject : IMessage<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IEquatable<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IDeepCloneable<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IBufferMessage, IMessage
Response media object for media content card.
Implements
IMessage<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IEquatable<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IDeepCloneable<Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ResponseMediaObject()
public ResponseMediaObject()
ResponseMediaObject(Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject)
public ResponseMediaObject(Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject |
Properties
ContentUrl
public string ContentUrl { get; set; }
Required. Url where the media is stored.
Property Value | |
---|---|
Type | Description |
String |
Description
public string Description { get; set; }
Optional. Description of media card.
Property Value | |
---|---|
Type | Description |
String |
Icon
public Intent.Types.Message.Types.Image Icon { get; set; }
Optional. Icon to display above media content.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Image |
ImageCase
public Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject.ImageOneofCase ImageCase { get; }
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject.ImageOneofCase |
LargeImage
public Intent.Types.Message.Types.Image LargeImage { get; set; }
Optional. Image to display above media content.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Image |
Name
public string Name { get; set; }
Required. Name of media card.
Property Value | |
---|---|
Type | Description |
String |