Sdílet prostřednictvím


AnimationCard Konstruktory

Definice

Přetížení

AnimationCard()

Inicializuje novou instanci AnimationCard třídy .

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

Inicializuje novou instanci AnimationCard třídy .

AnimationCard()

Inicializuje novou instanci AnimationCard třídy .

public AnimationCard ();
Public Sub New ()

Platí pro

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

Inicializuje novou instanci AnimationCard třídy .

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)

Parametry

title
String

Název této karty

subtitle
String

Podnadpis této karty

text
String

Text této karty

image
ThumbnailUrl

Zástupný symbol miniatury

media
IList<MediaUrl>

Adresy URL médií pro tuto kartu Pokud toto pole obsahuje více než jednu adresu URL, je každá adresa URL alternativním formátem stejného obsahu.

buttons
IList<CardAction>

Akce na této kartě

shareable
Nullable<Boolean>

Tento obsah může být sdílen s ostatními (výchozí:true).

autoloop
Nullable<Boolean>

Má klient přehrávat smyčku na konci obsahu (výchozí hodnota:true).

autostart
Nullable<Boolean>

Pokud klient automaticky spustí přehrávání médií na této kartě (výchozí hodnota: true).

aspect
String

Poměr stran miniatury a zástupného symbolu média. Povolené hodnoty jsou 16:9 a 4:3.

value
Object

Doplňkový parametr pro tuto kartu.

duration
String

Popisuje délku multimediálního obsahu bez nutnosti otevření obsahu příjemcem. Formátováno jako pole Doba trvání ISO 8601.

Platí pro