Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SigninCard class
- Package:
- botbuilder
Card builder class that simplifies building signin cards.
Constructors
| SigninCard(Session) | Creates a new SigninCard. |
Methods
| button(TextType, string) | Signin button label and link. |
| text(TextType, any[]) | Title of the Card. |
| toAttachment() | Returns the JSON for the card, |
Constructor Details
SigninCard(Session)
Creates a new SigninCard.
new SigninCard(session?: Session)
Parameters
- session
- Session
(Optional) will be used to localize any text.
Method Details
button(TextType, string)
Signin button label and link.
function button(title: TextType, url: string)
Parameters
- title
- TextType
- url
-
string
Returns
text(TextType, any[])
Title of the Card.
function text(prompts: TextType, args: any[])
Parameters
- prompts
- TextType
- args
-
any[]
