/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="CreateWebChatConversationResponse" /> class. /// </summary> /// <param name="Id">Chat Conversation identifier.</param> /// <param name="Jwt">The JWT that you can use to identify subsequent calls on this conversation.</param> /// <param name="EventStreamUri">The URI which provides the conversation event stream..</param> /// <param name="Member">Chat Member.</param> public CreateWebChatConversationResponse(string Id = null, string Jwt = null, string EventStreamUri = null, WebChatMemberInfo Member = null) { this.Id = Id; this.Jwt = Jwt; this.EventStreamUri = EventStreamUri; this.Member = Member; }
/// <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="WebChatConversation" /> class. /// </summary> /// <param name="Name">Name.</param> /// <param name="Member">Chat Member.</param> public WebChatConversation(string Name = null, WebChatMemberInfo Member = null) { this.Name = Name; this.Member = Member; }