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/"
 Content type of keyboard card for Attachment.ContentType. More...


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 

Constructs an instance of the keyboard card.

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/"

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

The buttons in the keyboard.

Definition at line 78 of file KeyboardCard.cs.

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

The keyboard text.

Definition at line 72 of file KeyboardCard.cs.

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