Share via


AnimationCard Constructors

Definition

Overloads

AnimationCard()

Initializes a new instance of the AnimationCard class.

AnimationCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)

Initializes a new instance of the AnimationCard class.

AnimationCard()

Initializes a new instance of the AnimationCard class.

public AnimationCard ();
Public Sub New ()

Applies to

AnimationCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)

Initializes a new instance of the AnimationCard class.

public AnimationCard (string title = default, string subtitle = default, string text = default, Microsoft.Bot.Schema.ThumbnailUrl image = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.MediaUrl> media = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> buttons = default, bool? shareable = default, bool? autoloop = default, bool? autostart = default, string aspect = default, object value = default, string duration = default);
new Microsoft.Bot.Schema.AnimationCard : string * string * string * Microsoft.Bot.Schema.ThumbnailUrl * System.Collections.Generic.IList<Microsoft.Bot.Schema.MediaUrl> * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * obj * string -> Microsoft.Bot.Schema.AnimationCard
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional image As ThumbnailUrl = Nothing, Optional media As IList(Of MediaUrl) = Nothing, Optional buttons As IList(Of CardAction) = Nothing, Optional shareable As Nullable(Of Boolean) = Nothing, Optional autoloop As Nullable(Of Boolean) = Nothing, Optional autostart As Nullable(Of Boolean) = Nothing, Optional aspect As String = Nothing, Optional value As Object = Nothing, Optional duration As String = Nothing)

Parameters

title
String

Title of this card.

subtitle
String

Subtitle of this card.

text
String

Text of this card.

image
ThumbnailUrl

Thumbnail placeholder.

media
IList<MediaUrl>

Media URLs for this card. When this field contains more than one URL, each URL is an alternative format of the same content.

buttons
IList<CardAction>

Actions on this card.

shareable
Nullable<Boolean>

This content may be shared with others (default:true).

autoloop
Nullable<Boolean>

Should the client loop playback at end of content (default:true).

autostart
Nullable<Boolean>

Should the client automatically start playback of media in this card (default:true).

aspect
String

Aspect ratio of thumbnail/media placeholder. Allowed values are "16:9" and "4:3".

value
Object

Supplementary parameter for this card.

duration
String

Describes the length of the media content without requiring a receiver to open the content. Formatted as an ISO 8601 Duration field.

Applies to