Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class MediaContent.
The media content card for Actions on Google.
Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.MediaContent
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Intent \ MessageMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ media_type
int
Optional. What type of media is the content (ie "audio").
↳ media_objects
array< Google\Cloud\Dialogflow\V2\Intent\Message\MediaContent\ResponseMediaObject
>
Required. List of media objects.
getMediaType
Optional. What type of media is the content (ie "audio").
int
setMediaType
Optional. What type of media is the content (ie "audio").
var
int
$this
getMediaObjects
Required. List of media objects.
setMediaObjects
Required. List of media objects.
$this