Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebChatTyping" /> class.
 /// </summary>
 /// <param name="Id">The event identifier of this typing indicator event (useful to guard against event re-delivery (required).</param>
 /// <param name="Conversation">The identifier of the conversation (required).</param>
 /// <param name="Sender">The member who sent the message (required).</param>
 /// <param name="Timestamp">The timestamp of the message, in ISO-8601 format (required).</param>
 public WebChatTyping(string Id = null, WebChatConversation Conversation = null, WebChatMemberInfo Sender = null, DateTime?Timestamp = null)
 {
     this.Id           = Id;
     this.Conversation = Conversation;
     this.Sender       = Sender;
     this.Timestamp    = Timestamp;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WebChatMessage" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Conversation">The identifier of the conversation (required).</param>
 /// <param name="Sender">The member who sent the message (required).</param>
 /// <param name="Body">The message body. (required).</param>
 /// <param name="BodyType">The purpose of the message within the conversation, such as a standard text entry versus a greeting. (required).</param>
 /// <param name="Timestamp">The timestamp of the message, in ISO-8601 format (required).</param>
 public WebChatMessage(string Name = null, WebChatConversation Conversation = null, WebChatMemberInfo Sender = null, string Body = null, BodyTypeEnum?BodyType = null, DateTime?Timestamp = null)
 {
     this.Name         = Name;
     this.Conversation = Conversation;
     this.Sender       = Sender;
     this.Body         = Body;
     this.BodyType     = BodyType;
     this.Timestamp    = Timestamp;
 }