Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IThumbnailCard

Displays a card to the user using either a smaller thumbnail layout or larger hero layout (the attachments contentType determines which). All of the cards fields are optional so this card can be used to specify things like a keyboard on certain channels. Some channels may choose to render a lower fidelity version of the card or use an alternate representation.

Hierarchy

  • IThumbnailCard

Index

Properties

Optional buttons

buttons: ICardAction[]

Set of actions applicable to the current card. Not all channels support buttons or cards with buttons. Some channels may choose to render the buttons using a custom keyboard.

Optional images

images: ICardImage[]

Messaging supports all media formats: audio, video, images and thumbnails as well to optimize content download.

Optional subtitle

subtitle: string

Subtitle appears just below Title field, differs from Title in font styling only.

Optional tap

This action will be activated when user taps on the card. Not all channels support tap actions and some channels may choose to render the tap action as the titles link.

Optional text

text: string

Text field appears just below subtitle, differs from Subtitle in font styling only.

Optional title

title: string

Title of the Card.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method