Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
source · pub struct GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia {
pub file_uri: Option<String>,
pub height: Option<String>,
pub thumbnail_uri: Option<String>,
}
Expand description
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
This type is not used in any activity, and only used as part of another schema.
Fields§
§file_uri: Option<String>
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.
height: Option<String>
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.
thumbnail_uri: Option<String>
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.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
source§fn clone(
&self
) -> GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
fn clone( &self ) -> GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more