ConversationParameters.cs
1 // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2 // Changes may cause incorrect behavior and will be lost if the code is
3 // regenerated.
4 
5 namespace Microsoft.Bot.Connector
6 {
7  using System;
8  using System.Linq;
9  using System.Collections.Generic;
10  using Newtonsoft.Json;
11  using Microsoft.Rest;
12  using Microsoft.Rest.Serialization;
13 
17  public partial class ConversationParameters
18  {
23 
27  public ConversationParameters(bool? isGroup = default(bool?), ChannelAccount bot = default(ChannelAccount), IList<ChannelAccount> members = default(IList<ChannelAccount>), string topicName = default(string), Activity activity = default(Activity), object channelData = default(object))
28  {
29  IsGroup = isGroup;
30  Bot = bot;
31  Members = members;
32  TopicName = topicName;
33  Activity = activity;
34  ChannelData = channelData;
35  }
36 
40  [JsonProperty(PropertyName = "isGroup")]
41  public bool? IsGroup { get; set; }
42 
46  [JsonProperty(PropertyName = "bot")]
47  public ChannelAccount Bot { get; set; }
48 
52  [JsonProperty(PropertyName = "members")]
53  public IList<ChannelAccount> Members { get; set; }
54 
58  [JsonProperty(PropertyName = "topicName")]
59  public string TopicName { get; set; }
60 
65  [JsonProperty(PropertyName = "activity")]
66  public Activity Activity { get; set; }
67 
71  [JsonProperty(PropertyName = "channelData")]
72  public object ChannelData { get; set; }
73 
74  }
75 }
Parameters for creating a new conversation
An Activity is the basic communication type for the Bot Framework 3.0 protocol
Definition: ActivityEx.cs:18
ConversationParameters(bool?isGroup=default(bool?), ChannelAccount bot=default(ChannelAccount), IList< ChannelAccount > members=default(IList< ChannelAccount >), string topicName=default(string), Activity activity=default(Activity), object channelData=default(object))
Initializes a new instance of the ConversationParameters class.
ConversationParameters()
Initializes a new instance of the ConversationParameters class.
Channel account information needed to route a message