Google Cloud Dialogflow v2beta1 API - Class Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia (1.0.0-beta15)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia.

Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported:

Image Types

  • image/jpeg
  • image/jpg'
  • image/gif
  • image/png

Video Types

  • video/h263
  • video/m4v
  • video/mp4
  • video/mpeg
  • video/mpeg4
  • video/webm

Inheritance

object > Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

RbmMedia()

public RbmMedia()

RbmMedia(RbmMedia)

public RbmMedia(Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia other)
Parameter
Name Description
other IntentTypesMessageTypesRbmCardContentTypesRbmMedia

Properties

FileUri

public string FileUri { get; set; }

Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.

Property Value
Type Description
string

Height

public Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia.Types.Height Height { get; set; }

Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.

Property Value
Type Description
IntentTypesMessageTypesRbmCardContentTypesRbmMediaTypesHeight

ThumbnailUri

public string ThumbnailUri { get; set; }

Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.

Property Value
Type Description
string