ConversationReference.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 ConversationReference
18  {
22  public ConversationReference() { }
23 
27  public ConversationReference(string activityId = default(string), ChannelAccount user = default(ChannelAccount), ChannelAccount bot = default(ChannelAccount), ConversationAccount conversation = default(ConversationAccount), string channelId = default(string), string serviceUrl = default(string))
28  {
29  ActivityId = activityId;
30  User = user;
31  Bot = bot;
32  Conversation = conversation;
33  ChannelId = channelId;
34  ServiceUrl = serviceUrl;
35  }
36 
40  [JsonProperty(PropertyName = "activityId")]
41  public string ActivityId { get; set; }
42 
46  [JsonProperty(PropertyName = "user")]
47  public ChannelAccount User { get; set; }
48 
52  [JsonProperty(PropertyName = "bot")]
53  public ChannelAccount Bot { get; set; }
54 
58  [JsonProperty(PropertyName = "conversation")]
59  public ConversationAccount Conversation { get; set; }
60 
64  [JsonProperty(PropertyName = "channelId")]
65  public string ChannelId { get; set; }
66 
71  [JsonProperty(PropertyName = "serviceUrl")]
72  public string ServiceUrl { get; set; }
73 
74  }
75 }
Channel account information for a conversation
An object relating to a particular point in a conversation
ConversationReference(string activityId=default(string), ChannelAccount user=default(ChannelAccount), ChannelAccount bot=default(ChannelAccount), ConversationAccount conversation=default(ConversationAccount), string channelId=default(string), string serviceUrl=default(string))
Initializes a new instance of the ConversationReference class.
ConversationReference()
Initializes a new instance of the ConversationReference class.
Channel account information needed to route a message