Microsoft.Bot.Connector.AudioCard Class Reference

A audio card More...

Public Member Functions

 AudioCard ()
 Initializes a new instance of the AudioCard class. More...
 
 AudioCard (string title=default(string), string subtitle=default(string), string text=default(string), ThumbnailUrl image=default(ThumbnailUrl), IList< MediaUrl > media=default(IList< MediaUrl >), IList< CardAction > buttons=default(IList< CardAction >), bool?shareable=default(bool?), bool?autoloop=default(bool?), bool?autostart=default(bool?), string aspect=default(string))
 Initializes a new instance of the AudioCard class. More...
 

Public Attributes

const string ContentType = "application/vnd.microsoft.card.audio"
 

Properties

string Aspect [get, set]
 Aspect ratio of thumbnail/media placeholder, allowed values are "16x9" and "9x16" More...
 
bool Autoloop [get, set]
 Should the client loop playback at end of content (default:true) More...
 
bool Autostart [get, set]
 Should the client automatically start playback of video in this card (default:true) More...
 
IList< CardActionButtons [get, set]
 Set of actions applicable to the current card More...
 
ThumbnailUrl Image [get, set]
 Thumbnail placeholder More...
 
IList< MediaUrlMedia [get, set]
 Array of media Url objects More...
 
bool Shareable [get, set]
 Is it OK for this content to be shareable with others (default:true) More...
 
string Subtitle [get, set]
 Subtitle of the card More...
 
string Text [get, set]
 Text of the card More...
 
string Title [get, set]
 Title of the card More...
 

Detailed Description

A audio card

Definition at line 34 of file AdditionalProperties.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.AudioCard.AudioCard ( )
inline

Initializes a new instance of the AudioCard class.

Definition at line 22 of file AudioCard.cs.

Microsoft.Bot.Connector.AudioCard.AudioCard ( string  title = default(string),
string  subtitle = default(string),
string  text = default(string),
ThumbnailUrl  image = default(ThumbnailUrl),
IList< MediaUrl media = default(IList<MediaUrl>),
IList< CardAction buttons = default(IList<CardAction>),
bool?  shareable = default(bool?),
bool?  autoloop = default(bool?),
bool?  autostart = default(bool?),
string  aspect = default(string) 
)
inline

Initializes a new instance of the AudioCard class.

Definition at line 27 of file AudioCard.cs.

Member Data Documentation

const string Microsoft.Bot.Connector.AudioCard.ContentType = "application/vnd.microsoft.card.audio"

Definition at line 36 of file AdditionalProperties.cs.

Property Documentation

string Microsoft.Bot.Connector.AudioCard.Aspect
getset

Aspect ratio of thumbnail/media placeholder, allowed values are "16x9" and "9x16"

Definition at line 46 of file AudioCard.cs.

bool Microsoft.Bot.Connector.AudioCard.Autoloop
getset

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

Definition at line 95 of file AudioCard.cs.

bool Microsoft.Bot.Connector.AudioCard.Autostart
getset

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

Definition at line 102 of file AudioCard.cs.

IList<CardAction> Microsoft.Bot.Connector.AudioCard.Buttons
getset

Set of actions applicable to the current card

Definition at line 82 of file AudioCard.cs.

ThumbnailUrl Microsoft.Bot.Connector.AudioCard.Image
getset

Thumbnail placeholder

Definition at line 70 of file AudioCard.cs.

IList<MediaUrl> Microsoft.Bot.Connector.AudioCard.Media
getset

Array of media Url objects

Definition at line 76 of file AudioCard.cs.

bool Microsoft.Bot.Connector.AudioCard.Shareable
getset

Is it OK for this content to be shareable with others (default:true)

Definition at line 89 of file AudioCard.cs.

string Microsoft.Bot.Connector.AudioCard.Subtitle
getset

Subtitle of the card

Definition at line 58 of file AudioCard.cs.

string Microsoft.Bot.Connector.AudioCard.Text
getset

Text of the card

Definition at line 64 of file AudioCard.cs.

string Microsoft.Bot.Connector.AudioCard.Title
getset

Title of the card

Definition at line 52 of file AudioCard.cs.


The documentation for this class was generated from the following files: