Share via


KeyboardCard Class

Definition

Caution

Please use SuggestedActions instead.

Card representing a keyboard

[System.Obsolete("Please use SuggestedActions instead.")]
public class KeyboardCard
[<System.Obsolete("Please use SuggestedActions instead.")>]
type KeyboardCard = class
Public Class KeyboardCard
Inheritance
KeyboardCard
Attributes

Remarks

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

Constructors

KeyboardCard(String, IList<CardAction>)

Constructs an instance of the keyboard card.

Fields

ContentType

Content type of keyboard card for ContentType.

Properties

Buttons

The buttons in the keyboard.

Text

The keyboard text.

Extension Methods

ToAttachment(KeyboardCard)
ToFacebookMessage(KeyboardCard)

Maps a KeyboardCard to a FacebookMessage

ToHeroCard(KeyboardCard)

Maps a KeyboardCard to a HeroCard

Applies to