FormPrompt Class

Definition

The prompt that is returned by form prompter.

[System.Serializable]
public sealed class FormPrompt : ICloneable
[<System.Serializable>]
type FormPrompt = class
    interface ICloneable
Public NotInheritable Class FormPrompt
Implements ICloneable
Inheritance
FormPrompt
Attributes
Implements

Constructors

Name Description
FormPrompt()

Fields

Name Description
Style

Desired prompt style.

Properties

Name Description
Buttons

The buttons that will be mapped to Message.Attachments.

Description

Description information for generating cards.

Prompt

The text prompt that corresponds to Message.Text.

Methods

Name Description
Clone()

Deep clone the FormPrompt.

ToString()

Extension Methods

Name Description
GenerateHeroCard(FormPrompt)

Generate a hero card from a FormPrompt.

GenerateHeroCards(FormPrompt)

Generate a list of hero cards from a prompt definition.

GenerateMessages(FormPrompt, IMessageActivity, IMessageActivity)

Given a prompt definition generate messages to send back.

Applies to