/// <summary>
 /// Initializes a new instance of the Activity class.
 /// </summary>
 public Activity(string type = default(string), string id = default(string), DateTime?timestamp = default(DateTime?), DateTime?localTimestamp = default(DateTime?), string serviceUrl = default(string), string channelId = default(string), ChannelAccount fromProperty = default(ChannelAccount), ConversationAccount conversation = default(ConversationAccount), ChannelAccount recipient = default(ChannelAccount), string textFormat = default(string), string attachmentLayout = default(string), IList <ChannelAccount> membersAdded = default(IList <ChannelAccount>), IList <ChannelAccount> membersRemoved = default(IList <ChannelAccount>), string topicName = default(string), bool?historyDisclosed = default(bool?), string locale = default(string), string text = default(string), string speak = default(string), string inputHint = default(string), string summary = default(string), SuggestedActions suggestedActions = default(SuggestedActions), IList <Attachment> attachments = default(IList <Attachment>), IList <Entity> entities = default(IList <Entity>), object channelData = default(object), string action = default(string), string replyToId = default(string), object value = default(object), string name = default(string), ConversationReference relatesTo = default(ConversationReference), string code = default(string))
 {
     Type             = type;
     Id               = id;
     Timestamp        = timestamp;
     LocalTimestamp   = localTimestamp;
     ServiceUrl       = serviceUrl;
     ChannelId        = channelId;
     From             = fromProperty;
     Conversation     = conversation;
     Recipient        = recipient;
     TextFormat       = textFormat;
     AttachmentLayout = attachmentLayout;
     MembersAdded     = membersAdded;
     MembersRemoved   = membersRemoved;
     TopicName        = topicName;
     HistoryDisclosed = historyDisclosed;
     Locale           = locale;
     Text             = text;
     Speak            = speak;
     InputHint        = inputHint;
     Summary          = summary;
     SuggestedActions = suggestedActions;
     Attachments      = attachments;
     Entities         = entities;
     ChannelData      = channelData;
     Action           = action;
     ReplyToId        = replyToId;
     Value            = value;
     Name             = name;
     RelatesTo        = relatesTo;
     Code             = code;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the ConversationReference class.
 /// </summary>
 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))
 {
     ActivityId   = activityId;
     User         = user;
     Bot          = bot;
     Conversation = conversation;
     ChannelId    = channelId;
     ServiceUrl   = serviceUrl;
 }