Microsoft.Bot.Builder.ConnectorEx.KeyboardCard Class Reference

Card representing a keyboard More...

Public Member Functions

 KeyboardCard (string text, IList< CardAction > buttons)
 Constructs an instance of the keyboard card. More...
 

Public Attributes

const string ContentType = "application/vnd.microsoft.card.keyboard"
 Content type of keyboard card for Attachment.ContentType. More...
 

Properties

IList< CardActionButtons [get, set]
 The buttons in the keyboard. More...
 
string Text [get, set]
 The keyboard text. More...
 

Detailed Description

Card representing a keyboard

This will be mapped to HeroCard for all channels except Facebook. For Facebook, KeyboardCardMapper maps it to FacebookQuickReply

Definition at line 50 of file KeyboardCard.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.ConnectorEx.KeyboardCard.KeyboardCard ( string  text,
IList< CardAction buttons 
)
inline

Constructs an instance of the keyboard card.

Parameters
textThe keyboard text.
buttonsThe buttons in keyboard.

Definition at line 62 of file KeyboardCard.cs.

Member Data Documentation

const string Microsoft.Bot.Builder.ConnectorEx.KeyboardCard.ContentType = "application/vnd.microsoft.card.keyboard"

Content type of keyboard card for Attachment.ContentType.

Definition at line 55 of file KeyboardCard.cs.

Property Documentation

IList<CardAction> Microsoft.Bot.Builder.ConnectorEx.KeyboardCard.Buttons
getset

The buttons in the keyboard.

Definition at line 78 of file KeyboardCard.cs.

string Microsoft.Bot.Builder.ConnectorEx.KeyboardCard.Text
getset

The keyboard text.

Definition at line 72 of file KeyboardCard.cs.


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