Delen via


VideoCard Constructors

Definitie

Overloads

VideoCard()

Initialiseert een nieuw exemplaar van de VideoCard klasse.

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

Initialiseert een nieuw exemplaar van de VideoCard klasse.

VideoCard()

Initialiseert een nieuw exemplaar van de VideoCard klasse.

public VideoCard();
Public Sub New ()

Van toepassing op

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

Initialiseert een nieuw exemplaar van de VideoCard klasse.

public VideoCard(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.VideoCard : 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.VideoCard
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

Titel van deze kaart.

subtitle
String

Ondertitel van deze kaart.

text
String

Tekst van deze kaart.

image
ThumbnailUrl

Tijdelijke aanduiding voor miniatuur.

media
IList<MediaUrl>

Media-URL's voor deze kaart. Wanneer dit veld meer dan één URL bevat, heeft elke URL een alternatieve indeling van dezelfde inhoud.

buttons
IList<CardAction>

Acties op deze kaart.

shareable
Nullable<Boolean>

Deze inhoud kan worden gedeeld met anderen (standaard:true).

autoloop
Nullable<Boolean>

Moet de client het afspelen aan het einde van de inhoud herhalen (standaard:true).

autostart
Nullable<Boolean>

Moet de client automatisch beginnen met het afspelen van media op deze kaart (standaard:true).

aspect
String

Hoogte-breedteverhouding van tijdelijke aanduiding voor miniatuur/media. Toegestane waarden zijn '16:9' en '4:3'.

value
Object

Aanvullende parameter voor deze kaart.

duration
String

Beschrijft de lengte van de media-inhoud zonder dat een ontvanger de inhoud hoeft te openen. Opgemaakt als iso 8601-duurveld.

Van toepassing op