SigninCardEx.cs
1 namespace Microsoft.Bot.Connector
2 {
3  using System.Collections.Generic;
4 
5  public partial class SigninCard
6  {
14  public static SigninCard Create(string text, string buttonLabel, string url)
15  {
16  return new SigninCard
17  {
18  Text = text,
19  Buttons = new List<CardAction>
20  {
21  new CardAction
22  {
23  Title = buttonLabel,
24  Type = ActionTypes.Signin,
25  Value = url
26  }
27  }
28  };
29  }
30  }
31 }
A card representing a request to sign in
const string Signin
Signin button
Definition: ActionTypes.cs:49
static SigninCard Create(string text, string buttonLabel, string url)
Creates a SigninCard
Definition: SigninCardEx.cs:14